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
|
2022-09-22 09:14:01 +02:00
|
|
|
jupyterlab~=3.4.6
|
|
|
|
matplotlib~=3.5.3
|
|
|
|
numpy~=1.23.3
|
|
|
|
pandas~=1.4.4
|
|
|
|
scipy~=1.9.1
|
2018-04-07 17:13:20 +02:00
|
|
|
|
|
|
|
##### Machine Learning packages
|
2022-09-22 09:14:01 +02:00
|
|
|
scikit-learn~=1.1.2
|
2018-04-07 17:13:20 +02:00
|
|
|
|
2022-02-19 06:49:54 +01:00
|
|
|
# Optional: the XGBoost library is only used in chapter 7
|
2022-09-22 09:14:01 +02:00
|
|
|
xgboost~=1.6.2
|
2018-05-07 11:01:38 +02:00
|
|
|
|
2022-05-12 08:39:15 +02:00
|
|
|
# Optional: the transformers library is only used in chapter 16
|
2022-09-22 09:14:01 +02:00
|
|
|
transformers~=4.21.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
|
|
|
|
2022-09-22 09:14:01 +02:00
|
|
|
tensorflow~=2.10.0
|
2021-10-18 02:55:04 +02:00
|
|
|
# Optional: the TF Serving API library is just needed for chapter 18.
|
2022-09-22 09:14:01 +02:00
|
|
|
tensorflow-serving-api~=2.10.0 # or tensorflow-serving-api-gpu if gpu
|
2019-03-15 05:07:50 +01:00
|
|
|
|
2022-09-22 09:14:01 +02:00
|
|
|
tensorboard~=2.10.0
|
|
|
|
tensorboard-plugin-profile~=2.8.0
|
|
|
|
tensorflow-datasets~=4.6.0
|
2021-10-16 07:14:20 +02:00
|
|
|
tensorflow-hub~=0.12.0
|
2019-03-15 05:07:50 +01:00
|
|
|
|
2022-04-16 07:32:04 +02:00
|
|
|
# Used in chapter 10 and 19 for hyperparameter tuning
|
2022-09-22 09:14:01 +02:00
|
|
|
keras-tuner~=1.1.3
|
2022-04-16 07:32:04 +02:00
|
|
|
|
2022-02-19 06:49:54 +01:00
|
|
|
# Optional: used in chapters 11 & 16 (for AdamW & seq2seq)
|
2022-09-22 09:14:01 +02:00
|
|
|
tensorflow-addons~=0.17.1
|
2018-04-07 17:13:20 +02:00
|
|
|
|
2022-02-19 06:49:54 +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
|
2022-09-25 10:43:17 +02:00
|
|
|
gym[Box2D,atari,accept-rom-license]~=0.26.1
|
2021-09-21 06:41:01 +02:00
|
|
|
|
2021-10-19 23:28:52 +02:00
|
|
|
# WARNING: on Windows, installing Box2D this way requires:
|
|
|
|
# * Swig: http://www.swig.org/download.html
|
2022-02-19 06:49:54 +01:00
|
|
|
# * Microsoft C++ Build Tools:
|
|
|
|
# https://visualstudio.microsoft.com/visual-cpp-build-tools/
|
2021-10-19 23:28:52 +02:00
|
|
|
# It's much easier to use Anaconda instead.
|
|
|
|
|
2018-05-07 11:01:38 +02:00
|
|
|
##### Image manipulation
|
2022-09-22 09:14:01 +02:00
|
|
|
Pillow~=9.2.0
|
|
|
|
graphviz~=0.20.1
|
|
|
|
pyglet~=1.5.26
|
2018-05-07 11:01:38 +02:00
|
|
|
|
2022-04-16 07:32:04 +02:00
|
|
|
##### Google Cloud Platform - used only in chapter 19
|
2022-09-22 09:14:01 +02:00
|
|
|
google-cloud-aiplatform~=1.17.0
|
|
|
|
google-cloud-storage~=2.5.0
|
2022-04-16 07:32:04 +02:00
|
|
|
|
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)
|
2022-02-19 06:49:54 +01:00
|
|
|
joblib~=1.1.0
|
2019-12-16 16:18:29 +01:00
|
|
|
|
|
|
|
# Easy http requests
|
2022-09-22 09:14:01 +02:00
|
|
|
requests~=2.28.1
|
2019-12-16 16:18:29 +01:00
|
|
|
|
|
|
|
# Nice utility to diff Jupyter Notebooks.
|
2022-09-22 09:14:01 +02:00
|
|
|
nbdime~=3.1.1
|
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).
|
2022-09-22 09:14:01 +02:00
|
|
|
numexpr~=2.8.3
|
2018-05-07 11:01:38 +02:00
|
|
|
|
2022-02-19 06:49:54 +01:00
|
|
|
# Optional: these libraries can be useful in chapter 3, exercise 4.
|
2022-09-22 09:14:01 +02:00
|
|
|
nltk~=3.7
|
|
|
|
urlextract~=1.6.0
|
2018-05-07 11:01:38 +02:00
|
|
|
|
2022-02-19 06:49:54 +01:00
|
|
|
# Optional: these libraries are only used in chapter 16
|
2022-09-22 09:14:01 +02:00
|
|
|
ftfy~=6.1.1
|
2020-04-19 06:15:29 +02:00
|
|
|
|
2022-02-19 06:49:54 +01:00
|
|
|
# Optional: tqdm displays nice progress bars, ipywidgets for tqdm's notebook
|
|
|
|
# support
|
2022-09-22 09:14:01 +02:00
|
|
|
tqdm~=4.64.1
|
|
|
|
ipywidgets~=8.0.2
|
|
|
|
|
|
|
|
# Optional: pydot is only used in chapter 10 for tf.keras.utils.plot_model()
|
|
|
|
pydot~=1.4.2
|
2022-09-23 02:12:06 +02:00
|
|
|
|
|
|
|
# Optional: statsmodels is only used in chapter 15 for time series analysis
|
|
|
|
statsmodels~=0.13.2
|