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
|
2016-11-25 09:34:17 +01:00
|
|
|
jupyter==1.0.0
|
2021-02-14 03:02:09 +01:00
|
|
|
matplotlib==3.3.4
|
|
|
|
numpy==1.19.5
|
|
|
|
pandas==1.2.2
|
|
|
|
scipy==1.6.0
|
2018-04-07 17:13:20 +02:00
|
|
|
|
|
|
|
##### Machine Learning packages
|
2021-08-27 05:47:06 +02:00
|
|
|
scikit-learn==0.24.2
|
2018-04-07 17:13:20 +02:00
|
|
|
|
2019-12-16 16:18:29 +01:00
|
|
|
# Optional: the XGBoost library is only used in chapter 7
|
2021-02-14 03:02:09 +01:00
|
|
|
xgboost==1.3.3
|
2018-05-07 11:01:38 +02:00
|
|
|
|
2020-04-19 06:15:29 +02:00
|
|
|
# Optional: the transformers library is only using in chapter 16
|
2021-02-14 03:02:09 +01:00
|
|
|
transformers==4.3.2
|
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-06-24 00:25:57 +02:00
|
|
|
tensorflow==2.4.2
|
2019-12-16 16:18:29 +01:00
|
|
|
# Optional: the TF Serving API library is just needed for chapter 19.
|
2021-02-14 03:02:09 +01:00
|
|
|
tensorflow-serving-api==2.4.1 # or tensorflow-serving-api-gpu if gpu
|
2019-03-15 05:07:50 +01:00
|
|
|
|
2021-02-14 03:02:09 +01:00
|
|
|
tensorboard==2.4.1
|
|
|
|
tensorboard-plugin-profile==2.4.0
|
|
|
|
tensorflow-datasets==3.0.0
|
2020-11-21 00:22:42 +01:00
|
|
|
tensorflow-hub==0.9.0
|
2021-02-14 03:02:09 +01:00
|
|
|
tensorflow-probability==0.12.1
|
2019-03-15 05:07:50 +01:00
|
|
|
|
2019-06-08 06:01:58 +02:00
|
|
|
# Optional: only used in chapter 13.
|
2019-12-16 16:18:29 +01:00
|
|
|
# NOT AVAILABLE ON WINDOWS
|
2021-02-14 03:02:09 +01:00
|
|
|
tfx==0.27.0
|
2018-04-07 17:13:20 +02:00
|
|
|
|
2019-06-08 06:01:58 +02:00
|
|
|
# Optional: only used in chapter 16.
|
2019-12-16 16:18:29 +01:00
|
|
|
# NOT AVAILABLE ON WINDOWS
|
2021-02-14 03:02:09 +01:00
|
|
|
tensorflow-addons==0.12.1
|
2016-02-16 21:40:20 +01:00
|
|
|
|
2019-12-16 16:18:29 +01:00
|
|
|
##### Reinforcement Learning library (chapter 18)
|
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-09-21 06:41:01 +02:00
|
|
|
gym[Box2D]==0.18.0
|
|
|
|
atari_py==0.2.5
|
|
|
|
|
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-02-14 03:02:09 +01:00
|
|
|
tf-agents==0.7.1
|
2018-04-07 17:13:20 +02:00
|
|
|
|
2018-05-07 11:01:38 +02:00
|
|
|
##### Image manipulation
|
2021-09-08 02:42:46 +02:00
|
|
|
Pillow==8.3.2
|
2021-02-14 03:02:09 +01:00
|
|
|
graphviz==0.16
|
|
|
|
opencv-python==4.5.1.48
|
|
|
|
pyglet==1.5.0
|
2018-05-07 11:01:38 +02:00
|
|
|
|
2019-12-16 16:18:29 +01:00
|
|
|
#pyvirtualdisplay # needed in chapter 16, if on a headless server
|
|
|
|
# (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)
|
2020-04-03 11:17:57 +02:00
|
|
|
joblib==0.14.1
|
2019-12-16 16:18:29 +01:00
|
|
|
|
|
|
|
# Easy http requests
|
2021-02-14 03:02:09 +01:00
|
|
|
requests==2.25.1
|
2019-12-16 16:18:29 +01:00
|
|
|
|
|
|
|
# Nice utility to diff Jupyter Notebooks.
|
2020-11-21 00:22:42 +01:00
|
|
|
nbdime==2.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-02-14 03:02:09 +01:00
|
|
|
numexpr==2.7.2
|
2018-05-07 11:01:38 +02:00
|
|
|
|
2019-12-16 16:18:29 +01:00
|
|
|
# Optional: these libraries can be useful in the classification chapter,
|
|
|
|
# exercise 4.
|
2020-11-21 00:22:42 +01:00
|
|
|
nltk==3.5
|
2021-02-14 03:02:09 +01:00
|
|
|
urlextract==1.2.0
|
2018-05-07 11:01:38 +02:00
|
|
|
|
2020-04-19 06:15:29 +02:00
|
|
|
# Optional: these libraries are only used in chapter 16
|
2020-11-21 00:22:42 +01:00
|
|
|
ftfy==5.8
|
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-02-14 03:02:09 +01:00
|
|
|
tqdm==4.56.1
|
|
|
|
ipywidgets==7.6.3
|