2019-12-16 16:18:29 +01:00
|
|
|
# TensorFlow is much easier to install using Anaconda, especially
|
|
|
|
# on Windows or when using a GPU. Please see the installation
|
|
|
|
# instructions in INSTALL.md
|
2018-04-07 17:13:20 +02:00
|
|
|
|
2020-11-21 00:22:42 +01:00
|
|
|
|
2018-04-07 17:13:20 +02:00
|
|
|
##### Core scientific packages
|
2021-10-16 07:14:20 +02:00
|
|
|
jupyterlab~=3.2.0
|
|
|
|
matplotlib~=3.4.3
|
|
|
|
numpy~=1.19.5
|
|
|
|
pandas~=1.3.3
|
|
|
|
scipy~=1.7.1
|
2018-04-07 17:13:20 +02:00
|
|
|
|
|
|
|
##### Machine Learning packages
|
2021-10-16 07:14:20 +02:00
|
|
|
scikit-learn~=1.0
|
2018-04-07 17:13:20 +02:00
|
|
|
|
2021-10-18 02:55:04 +02:00
|
|
|
# Optional: the XGBoost library is only used in chapter 6
|
2021-10-16 07:14:20 +02:00
|
|
|
xgboost~=1.4.2
|
2018-05-07 11:01:38 +02:00
|
|
|
|
2021-10-18 02:55:04 +02:00
|
|
|
# Optional: the transformers library is only using in chapter 15
|
2021-10-16 07:14:20 +02:00
|
|
|
transformers~=4.11.3
|
2020-04-19 06:15:29 +02:00
|
|
|
|
2019-06-08 06:01:58 +02:00
|
|
|
##### TensorFlow-related packages
|
2018-04-07 17:13:20 +02:00
|
|
|
|
2019-12-16 16:18:29 +01:00
|
|
|
# If you have a TF-compatible GPU and you want to enable GPU support, then
|
2020-11-21 00:22:42 +01:00
|
|
|
# replace tensorflow-serving-api with tensorflow-serving-api-gpu.
|
2019-12-16 16:18:29 +01:00
|
|
|
# Your GPU must have CUDA Compute Capability 3.5 or higher support, and
|
2018-05-07 11:01:38 +02:00
|
|
|
# you must install CUDA, cuDNN and more: see tensorflow.org for the detailed
|
|
|
|
# installation instructions.
|
2019-03-15 05:07:50 +01:00
|
|
|
|
2021-10-16 07:14:20 +02:00
|
|
|
tensorflow~=2.6.0
|
2021-10-18 02:55:04 +02:00
|
|
|
# Optional: the TF Serving API library is just needed for chapter 18.
|
2021-10-16 07:14:20 +02:00
|
|
|
tensorflow-serving-api~=2.6.0 # or tensorflow-serving-api-gpu if gpu
|
2019-03-15 05:07:50 +01:00
|
|
|
|
2021-10-16 07:14:20 +02:00
|
|
|
tensorboard~=2.7.0
|
|
|
|
tensorboard-plugin-profile~=2.5.0
|
|
|
|
tensorflow-datasets~=4.4.0
|
|
|
|
tensorflow-hub~=0.12.0
|
|
|
|
tensorflow-probability~=0.14.1
|
2019-03-15 05:07:50 +01:00
|
|
|
|
2021-10-16 07:14:20 +02:00
|
|
|
# Optional: only used in chapter 12.
|
|
|
|
tfx~=1.3.0
|
2018-04-07 17:13:20 +02:00
|
|
|
|
2021-10-16 07:14:20 +02:00
|
|
|
# Optional: only used in chapter 15.
|
|
|
|
tensorflow-addons~=0.14.0
|
2016-02-16 21:40:20 +01:00
|
|
|
|
2021-10-16 07:14:20 +02:00
|
|
|
##### Reinforcement Learning library (chapter 17)
|
2019-06-08 06:01:58 +02:00
|
|
|
|
2019-12-16 16:18:29 +01:00
|
|
|
# There are a few dependencies you need to install first, check out:
|
|
|
|
# https://github.com/openai/gym#installing-everything
|
2021-10-17 08:21:13 +02:00
|
|
|
gym[Box2D,atari,accept-rom-license]~=0.21.0
|
2021-09-21 06:41:01 +02:00
|
|
|
|
2019-12-16 16:18:29 +01:00
|
|
|
# On Windows, install atari_py using:
|
|
|
|
# pip install --no-index -f https://github.com/Kojoley/atari-py/releases atari_py
|
|
|
|
|
2021-10-16 07:14:20 +02:00
|
|
|
tf-agents~=0.10.0
|
2018-04-07 17:13:20 +02:00
|
|
|
|
2018-05-07 11:01:38 +02:00
|
|
|
##### Image manipulation
|
2021-10-16 07:14:20 +02:00
|
|
|
Pillow~=8.4.0
|
|
|
|
graphviz~=0.17
|
|
|
|
opencv-python~=4.5.3.56
|
|
|
|
pyglet~=1.5.21
|
2018-05-07 11:01:38 +02:00
|
|
|
|
2021-10-16 07:14:20 +02:00
|
|
|
#pyvirtualdisplay # needed in chapter 17, if on a headless server
|
2019-12-16 16:18:29 +01:00
|
|
|
# (i.e., without screen, e.g., Colab or VM)
|
2019-06-08 06:01:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
##### Additional utilities
|
2018-05-07 11:01:38 +02:00
|
|
|
|
2019-12-16 16:18:29 +01:00
|
|
|
# Efficient jobs (caching, parallelism, persistence)
|
2021-10-16 07:14:20 +02:00
|
|
|
joblib~=0.14.1
|
2019-12-16 16:18:29 +01:00
|
|
|
|
|
|
|
# Easy http requests
|
2021-10-16 07:14:20 +02:00
|
|
|
requests~=2.26.0
|
2019-12-16 16:18:29 +01:00
|
|
|
|
|
|
|
# Nice utility to diff Jupyter Notebooks.
|
2021-10-16 07:14:20 +02:00
|
|
|
nbdime~=3.1.0
|
2019-04-26 15:22:15 +02:00
|
|
|
|
2018-05-07 11:01:38 +02:00
|
|
|
# May be useful with Pandas for complex "where" clauses (e.g., Pandas
|
|
|
|
# tutorial).
|
2021-10-16 07:14:20 +02:00
|
|
|
numexpr~=2.7.3
|
2018-05-07 11:01:38 +02:00
|
|
|
|
2021-10-16 07:14:20 +02:00
|
|
|
# Optional: these libraries can be useful in the chapter 3, exercise 4.
|
|
|
|
nltk~=3.6.5
|
|
|
|
urlextract~=1.4.0
|
2018-05-07 11:01:38 +02:00
|
|
|
|
2021-10-18 02:55:04 +02:00
|
|
|
# Optional: these libraries are only used in chapter 15
|
2021-10-16 07:14:20 +02:00
|
|
|
ftfy~=6.0.3
|
2020-04-19 06:15:29 +02:00
|
|
|
|
2019-03-14 02:15:09 +01:00
|
|
|
# Optional: tqdm displays nice progress bars, ipywidgets for tqdm's notebook support
|
2021-10-16 07:14:20 +02:00
|
|
|
tqdm~=4.62.3
|
|
|
|
ipywidgets~=7.6.5
|
|
|
|
|
2021-10-10 12:44:40 +02:00
|
|
|
|