Closed kyuhyong closed 3 years ago
could you run the following command?
pip uninstall tensorflow pip install tensorflow==2.2.0
Thank you for your reply. I tried as you explained but could not find 2.2.0 with below error message.
ERROR: Could not find a version that satisfies the requirement tensorflow==2.2.0 (from versions: 0.12.0rc0, 0.12.0rc1, 0.12.0, 0.12.1, 1.0.0, 1.0.1, 1.1.0rc0, 1.1.0rc1, 1.1.0rc2, 1.1.0, 1.2.0rc0, 1.2.0rc1, 1.2.0rc2, 1.2.0, 1.2.1, 1.3.0rc0, 1.3.0rc1, 1.3.0rc2, 1.3.0, 1.4.0rc0, 1.4.0rc1, 1.4.0, 1.4.1, 1.5.0rc0, 1.5.0rc1, 1.5.0, 1.5.1, 1.6.0rc0, 1.6.0rc1, 1.6.0, 1.7.0rc0, 1.7.0rc1, 1.7.0, 1.7.1, 1.8.0rc0, 1.8.0rc1, 1.8.0, 1.9.0rc0, 1.9.0rc1, 1.9.0rc2, 1.9.0, 1.10.0rc0, 1.10.0rc1, 1.10.0, 1.10.1, 1.11.0rc0, 1.11.0rc1, 1.11.0rc2, 1.11.0, 1.12.0rc0, 1.12.0rc1, 1.12.0rc2, 1.12.0, 1.12.2, 1.12.3, 1.13.0rc0, 1.13.0rc1, 1.13.0rc2, 1.13.1, 1.13.2, 1.14.0rc0, 1.14.0rc1, 1.14.0, 1.15.0rc0, 1.15.0rc1, 1.15.0rc2, 1.15.0rc3, 1.15.0, 2.0.0a0, 2.0.0b0, 2.0.0b1, 2.0.0rc0, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.1.0rc0, 2.1.0rc1, 2.1.0rc2, 2.1.0)
ERROR: No matching distribution found for tensorflow==2.2.0
I was finally able to use deepface after upgrading python3.6 to python3.8 and install tensorflow=2.2.0 as below command For upgrading python3.6 to python3.8 https://www.itsupportwale.com/blog/how-to-upgrade-to-python-3-8-on-ubuntu-18-04-lts/
After upgrading, install python3-testresources $ sudo apt install python3-testresources
Install tensorflow 2.2.0 by pip3 install tensorflow==2.2.0
Re install deepface $ pip3 install deepface
Then everything works fine! Thanks
Hello, I am trying to run deepface for image stream from a webcam. I am running ubuntu 18.04 on a laptop with nvidia rtx2060 and I installed CUDA 11.4 CUDNN 8.2.2 Below is output from nvcc --version
For some reason, I was only able to install deepface by pip3 install deepface with below process.
In my face_analysis.py
And run it by python3 face_analysis.py gives below error
For reference, import tensorflow as tf works print(tf.version) gives 1.14.0
import keras didn't work and instead from tensorflow import keras works and print(keras.version) gives 2.2.4-tf
How to solve this error? What am I doing wrong?