From a1876057106815608d05dd7cb4e0f84e23caef11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Geron?= Date: Mon, 15 Feb 2021 09:56:26 +1300 Subject: [PATCH] Update libraries to latest version, including TensorFlow 2.4.1 and Scikit-Learn 0.24.1 --- environment-windows.yml | 90 ++++++++++++++++++----------------------- environment.yml | 36 ++++++++--------- 2 files changed, 58 insertions(+), 68 deletions(-) diff --git a/environment-windows.yml b/environment-windows.yml index 7f309c0..4fc46dc 100644 --- a/environment-windows.yml +++ b/environment-windows.yml @@ -3,54 +3,44 @@ channels: - conda-forge - defaults dependencies: - - graphviz - - imageio=2.6.1 - - ipython=7.10.1 - - ipywidgets=7.5.1 - - joblib=0.14.0 - - jupyter=1.0.0 - - matplotlib=3.1.2 - - nbdime=1.1.0 - - nltk=3.4.5 - - numexpr=2.7.0 - - numpy=1.17.3 - - pandas=0.25.3 - - pillow=6.2.1 - - pip - - py-xgboost=0.90 - - pydot=1.4.1 - - pyopengl=3.1.3b2 - - python=3.7 - - python-graphviz - - requests=2.22.0 - - scikit-image=0.16.2 - - scikit-learn=0.22 - - scipy=1.3.1 - - tqdm=4.40.0 - - wheel - - widgetsnbextension=3.5.1 + - atari_py=0.2 # used only in chapter 18 + - ftfy=5.8 # used only in chapter 16 by the transformers library + - graphviz # used only in chapter 6 for dot files + - gym=0.18 # used only in chapter 18 + - ipython=7.20 # a powerful Python shell + - ipywidgets=7.6 # optionally used only in chapter 12 for tqdm in Jupyter + - joblib=0.14 # used only in chapter 2 to save/load Scikit-Learn models + - jupyter=1.0 # to edit and run Jupyter notebooks + - matplotlib=3.3 # beautiful plots. See tutorial tools_matplotlib.ipynb + - nbdime=2.1 # optional tool to diff Jupyter notebooks + - nltk=3.4 # optionally used in chapter 3, exercise 4 + - numexpr=2.7 # used only in the Pandas tutorial for numerical expressions + - numpy=1.19 # Powerful n-dimensional arrays and numerical computing tools + - opencv=4.5 # used only in chapter 18 by TF Agents for image preprocessing + - pandas=1.2 # data analysis and manipulation tool + - pillow=8.1 # image manipulation library, (used by matplotlib.image.imread) + - pip # Python's package-management system + - py-xgboost=0.90 # used only in chapter 7 for optimized Gradient Boosting + - pyglet=1.5 # used only in chapter 18 to render environments + - pyopengl=3.1 # used only in chapter 18 to render environments + - python=3.7 # Python! Not using latest version as some libs lack support + - python-graphviz # used only in chapter 6 for dot files + - requests=2.25 # used only in chapter 19 for REST API queries + - scikit-learn=0.24 # machine learning library + - scipy=1.6 # scientific/technical computing library + - tqdm=4.56 # a progress bar library + - transformers=4.3 # Natural Language Processing lib for TF or PyTorch + - wheel # built-package format for pip + - widgetsnbextension=3.5 # interactive HTML widgets for Jupyter notebooks - pip: - #- atari-py==0.2.6 # NOT ON WINDOWS YET - - ftfy==5.7 - - gym==0.15.4 - - opencv-python==4.1.2.30 - - psutil==5.6.7 - - pyglet==1.3.2 - - spacy==2.2.4 - - tensorboard==2.1.1 - #- tensorflow-addons==0.8.3 # NOT ON WINDOWS YET - #- tensorflow-data-validation==0.21.5 # NOT ON WINDOWS YET - - tensorflow-datasets==2.1.0 - - tensorflow-estimator==2.1.0 - - tensorflow-hub==0.7.0 - #- tensorflow-metadata==0.21.1 # NOT ON WINDOWS YET - #- tensorflow-model-analysis==0.21.6 # NOT ON WINDOWS YET - - tensorflow-probability==0.9.0 - - tensorflow-serving-api==2.1.0 # or tensorflow-serving-api-gpu if gpu - #- tensorflow-transform==0.21.2 # NOT ON WINDOWS YET - - tensorflow==2.1.0 # or tensorflow-gpu if gpu - - tf-agents==0.3.0 - #- tfx==0.21.2 # NOT ON WINDOWS YET - - transformers==2.8.0 - - urlextract==0.13.0 - #- pyvirtualdisplay # add if on headless server + - tensorboard-plugin-profile==2.4.0 # profiling plugin for TensorBoard + - tensorboard==2.4.1 # TensorFlow's visualization toolkit + - tensorflow-addons==0.12.1 # used only in chapter 16 for a seq2seq impl. + - tensorflow-datasets==3.0.0 # datasets repository, ready to use + - tensorflow-hub==0.9.0 # trained ML models repository, ready to use + - tensorflow-probability==0.12.1 # Optional. Probability/Stats lib. + - tensorflow-serving-api==2.4.1 # or tensorflow-serving-api-gpu if gpu + - tensorflow==2.4.1 # Deep Learning library + - tf-agents==0.7.1 # Reinforcement Learning lib based on TensorFlow + - tfx==0.27.0 # platform to deploy production ML pipelines + - urlextract==1.2.0 # optionally used in chapter 3, exercise 4 diff --git a/environment.yml b/environment.yml index 8025023..c757a05 100644 --- a/environment.yml +++ b/environment.yml @@ -10,29 +10,29 @@ dependencies: - ipython=7.20 # a powerful Python shell - ipywidgets=7.6 # optionally used only in chapter 12 for tqdm in Jupyter - joblib=0.14 # used only in chapter 2 to save/load Scikit-Learn models - - jupyter=1.0.0 # to edit and run Jupyter notebooks - - matplotlib=3.3.4 # beautiful plots. See tutorial tools_matplotlib.ipynb - - nbdime=2.1.0 # optional tool to diff Jupyter notebooks - - nltk=3.4.4 # optionally used in chapter 3, exercise 4 - - numexpr=2.7.2 # used only in the Pandas tutorial for numerical expressions - - numpy=1.19.5 # Powerful n-dimensional arrays and numerical computing tools - - opencv=4.5.1 # used only in chapter 18 by TF Agents for image preprocessing - - pandas=1.2.2 # data analysis and manipulation tool - - pillow=8.1.0 # image manipulation library, (used by matplotlib.image.imread) + - jupyter=1.0 # to edit and run Jupyter notebooks + - matplotlib=3.3 # beautiful plots. See tutorial tools_matplotlib.ipynb + - nbdime=2.1 # optional tool to diff Jupyter notebooks + - nltk=3.4 # optionally used in chapter 3, exercise 4 + - numexpr=2.7 # used only in the Pandas tutorial for numerical expressions + - numpy=1.19 # Powerful n-dimensional arrays and numerical computing tools + - opencv=4.5 # used only in chapter 18 by TF Agents for image preprocessing + - pandas=1.2 # data analysis and manipulation tool + - pillow=8.1 # image manipulation library, (used by matplotlib.image.imread) - pip # Python's package-management system - - py-xgboost=1.3.0 # used only in chapter 7 for optimized Gradient Boosting - - pyglet=1.5.15 # used only in chapter 18 to render environments - - pyopengl=3.1.5 # used only in chapter 18 to render environments + - py-xgboost=1.3 # used only in chapter 7 for optimized Gradient Boosting + - pyglet=1.5 # used only in chapter 18 to render environments + - pyopengl=3.1 # used only in chapter 18 to render environments - python=3.7 # Python! Not using latest version as some libs lack support - python-graphviz # used only in chapter 6 for dot files #- pyvirtualdisplay=1.3 # used only in chapter 18 if on headless server - - requests=2.25.1 # used only in chapter 19 for REST API queries - - scikit-learn=0.24.1 # machine learning library - - scipy=1.6.0 # scientific/technical computing library - - tqdm=4.56.1 # a progress bar library - - transformers=4.3.2 # Natural Language Processing lib for TF or PyTorch + - requests=2.25 # used only in chapter 19 for REST API queries + - scikit-learn=0.24 # machine learning library + - scipy=1.6 # scientific/technical computing library + - tqdm=4.56 # a progress bar library + - transformers=4.3 # Natural Language Processing lib for TF or PyTorch - wheel # built-package format for pip - - widgetsnbextension=3.5.1 # interactive HTML widgets for Jupyter notebooks + - widgetsnbextension=3.5 # interactive HTML widgets for Jupyter notebooks - pip: - tensorboard-plugin-profile==2.4.0 # profiling plugin for TensorBoard - tensorboard==2.4.1 # TensorFlow's visualization toolkit