archives:textgenrnn_install
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
textgenrnn_install_error [2020/06/08 08:22] – créée serge | archives:textgenrnn_install [2021/08/21 13:21] – ↷ Page déplacée de textgenrnn_install à archives:textgenrnn_install serge | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== textgenrnn install | + | ====== |
+ | |||
+ | <WRAP center round box 80% centeralign> | ||
+ | **{{tagpage> | ||
+ | </ | ||
+ | |||
+ | <WRAP center round box 80% centeralign> | ||
+ | **Pour toutes les pages: {{tagpage> | ||
+ | </ | ||
+ | |||
+ | **Sur un Pc sans carte CUDA avec Debian 10 Buster**, textgenrnn demande une version de tensorflow < 2.1.0 | ||
+ | |||
+ | =====Sans GPU===== | ||
+ | ====Problème==== | ||
+ | < | ||
+ | sudo pip3 install | ||
+ | </ | ||
+ | Mais python3-wrapt est bloqué par debian | ||
+ | < | ||
+ | sudo pip3 install --upgrade https:// | ||
+ | Attempting uninstall: wrapt | ||
+ | Found existing installation: | ||
+ | ERROR: Cannot uninstall ' | ||
+ | </ | ||
+ | |||
+ | ====Solution==== | ||
+ | Dans synaptic, chercher python3-wrapt, | ||
+ | |||
+ | < | ||
+ | sudo pip3 install --upgrade pip | ||
+ | Successfully installed pip-20.1.1 | ||
+ | |||
+ | sudo pip3 install --upgrade https:// | ||
+ | sudo pip3 install textgenrnn | ||
+ | </ | ||
< | < | ||
sudo pip3 install --upgrade textgenrnn | sudo pip3 install --upgrade textgenrnn | ||
- | Processing / | ||
- | Collecting tensorflow> | ||
- | Using cached tensorflow-2.2.0-cp37-cp37m-manylinux2010_x86_64.whl (516.2 MB) | ||
- | Requirement already satisfied, skipping upgrade: keras in / | ||
- | Requirement already satisfied, skipping upgrade: h5py in / | ||
- | Requirement already satisfied, skipping upgrade: tqdm in / | ||
- | Requirement already satisfied, skipping upgrade: scikit-learn in / | ||
- | Collecting tensorflow-estimator< | ||
- | Using cached tensorflow_estimator-2.2.0-py2.py3-none-any.whl (454 kB) | ||
- | Requirement already satisfied, skipping upgrade: termcolor> | ||
- | Requirement already satisfied, skipping upgrade: six> | ||
- | Processing / | ||
- | Requirement already satisfied, skipping upgrade: gast==0.3.3 in / | ||
- | Requirement already satisfied, skipping upgrade: grpcio> | ||
- | Requirement already satisfied, skipping upgrade: scipy==1.4.1; | ||
- | Requirement already satisfied, skipping upgrade: wheel> | ||
- | Requirement already satisfied, skipping upgrade: astunparse==1.6.3 in / | ||
- | Requirement already satisfied, skipping upgrade: google-pasta> | ||
- | Requirement already satisfied, skipping upgrade: opt-einsum> | ||
- | Requirement already satisfied, skipping upgrade: numpy< | ||
- | Requirement already satisfied, skipping upgrade: keras-preprocessing> | ||
- | Requirement already satisfied, skipping upgrade: protobuf> | ||
- | Requirement already satisfied, skipping upgrade: tensorboard< | ||
- | Requirement already satisfied, skipping upgrade: absl-py> | ||
- | Requirement already satisfied, skipping upgrade: keras-applications> | ||
- | Requirement already satisfied, skipping upgrade: pyyaml in / | ||
- | Requirement already satisfied, skipping upgrade: joblib> | ||
- | Requirement already satisfied, skipping upgrade: setuptools in / | ||
- | Requirement already satisfied, skipping upgrade: requests< | ||
- | Requirement already satisfied, skipping upgrade: google-auth-oauthlib< | ||
- | Requirement already satisfied, skipping upgrade: werkzeug> | ||
- | Requirement already satisfied, skipping upgrade: tensorboard-plugin-wit> | ||
- | Requirement already satisfied, skipping upgrade: markdown> | ||
- | Requirement already satisfied, skipping upgrade: google-auth< | ||
- | Requirement already satisfied, skipping upgrade: requests-oauthlib> | ||
- | Requirement already satisfied, skipping upgrade: cachetools< | ||
- | Requirement already satisfied, skipping upgrade: pyasn1-modules> | ||
- | Requirement already satisfied, skipping upgrade: rsa< | ||
- | Requirement already satisfied, skipping upgrade: oauthlib> | ||
- | Requirement already satisfied, skipping upgrade: pyasn1< | ||
- | ERROR: tensorflow 2.2.0 has requirement h5py< | ||
Installing collected packages: tensorflow-estimator, | Installing collected packages: tensorflow-estimator, | ||
Attempting uninstall: tensorflow-estimator | Attempting uninstall: tensorflow-estimator | ||
Ligne 54: | Ligne 47: | ||
Successfully uninstalled tensorflow-1.13.1 | Successfully uninstalled tensorflow-1.13.1 | ||
Successfully installed tensorflow-2.2.0 tensorflow-estimator-2.2.0 textgenrnn-2.0.0 wrapt-1.12.1 | Successfully installed tensorflow-2.2.0 tensorflow-estimator-2.2.0 textgenrnn-2.0.0 wrapt-1.12.1 | ||
+ | </ | ||
+ | =====Avec GPU sur Xubuntu 18.04===== | ||
+ | Et une carte graphique Nvidia 1060GTX. Pour l' | ||
+ | |||
+ | |||
+ | |||
+ | < | ||
+ | sudo pip3 install --upgrade pip | ||
+ | Successfully installed pip-20.1.1 | ||
+ | |||
+ | sudo pip3 install --upgrade tensorflow | ||
+ | |||
+ | Successfully installed astunparse-1.6.3 cachetools-4.1.0 gast-0.3.3 google-auth-1.16.1 google-auth-oauthlib-0.4.1 grpcio-1.29.0 h5py-2.10.0 keras-preprocessing-1.1.2 markdown-3.2.2 oauthlib-3.1.0 opt-einsum-3.2.1 protobuf-3.12.2 pyasn1-0.4.8 pyasn1-modules-0.2.8 requests-2.23.0 requests-oauthlib-1.3.0 rsa-4.0 scipy-1.4.1 setuptools-47.1.1 tensorboard-2.2.2 tensorboard-plugin-wit-1.6.0.post3 tensorflow-2.2.0 tensorflow-estimator-2.2.0 werkzeug-1.0.1 wrapt-1.12.1 | ||
+ | |||
+ | sudo pip3 install textgenrnn | ||
+ | |||
+ | Successfully installed joblib-0.15.1 keras-2.3.1 keras-applications-1.0.8 scikit-learn-0.23.1 textgenrnn-2.0.0 threadpoolctl-2.1.0 | ||
</ | </ | ||
+ | |||
+ | sudo apt install libcudart9.1 libcublas-11-0 libcufft-11-0 libcurand-11-0 libcusolver-11-0 libcusparse-11-0 | ||
+ | |||
+ | {{tag> ia python sb text_gen }} |
archives/textgenrnn_install.txt · Dernière modification : 2021/08/21 13:21 de serge