Comments (7)
iperov updated the core and it doesnt work on linux anymore using nagadit's instructions. use this command instead to create the environment:
conda create -n deepfacelab -c main python=3.7 cudnn=7.6.5 cudatoolkit=10.1.243
and then downgrade tensorflow-gpu to 2.3.1
python -m pip install tensorflow-gpu==2.3.1
it should now work
from deepfacelab_linux.
Thanks, it works for me.
I use the following packages:
cudatoolkit=10.1.243
python=3.7
cudnn=7.6.5
tqdm
numpy==1.16.0
h5py==2.10.0
opencv-python==4.1.0.25
ffmpeg-python==0.1.17
scikit-image==0.14.2
scipy==1.4.1
colorama
tensorflow-gpu==2.3.1
pyqt5
from deepfacelab_linux.
OS: Ubuntu 20.04
NVIDIA-Driver : 510.47.03
CUDA version: 11.6
GPU: 3090Ti
The following settings work for the above environment.
conda create -n deepfacelab -c main python=3.7 cudnn=8 cudatoolkit=11
conda activate deepfacelab
python -m pip install -r ./DeepFaceLab/requirements-cuda.txt
[requirements-cuda.txt]
tqdm
numpy==1.19.3
numexpr
h5py==3.1.0
opencv-python==4.1.0.25
ffmpeg-python==0.1.17
scikit-image==0.14.2
scipy==1.4.1
colorama
tensorflow-gpu==2.5.0
pyqt5
tf2onnx==1.8.4*
from deepfacelab_linux.
numpy == 1.16.1
from deepfacelab_linux.
It's not just always downgrade. sometimes you need upgrade.
My cuda 11.3 version needs a tensorflow 2.6.0 to use gpu.
Check your proper version from the table here: https://www.tensorflow.org/install/source
from deepfacelab_linux.
OS: Ubuntu 20.04 NVIDIA-Driver : 510.47.03 CUDA version: 11.6 GPU: 3090Ti
The following settings work for the above environment.
conda create -n deepfacelab -c main python=3.7 cudnn=8 cudatoolkit=11
conda activate deepfacelab
python -m pip install -r ./DeepFaceLab/requirements-cuda.txt[requirements-cuda.txt]
tqdm
numpy==1.19.3
numexpr
h5py==3.1.0
opencv-python==4.1.0.25
ffmpeg-python==0.1.17
scikit-image==0.14.2
scipy==1.4.1
colorama
tensorflow-gpu==2.5.0
pyqt5
tf2onnx==1.8.4*
Thanks!! this procedure worked for me. With the original instructions, my GPU was not seen.
I just removed the specific version for tf2onnx.
My env:
GPU: Nvidia RTX 3060 laptop
SW: Ubuntu 22.04, Nvidia Driver Version: 515.65.01, CUDA Version: 11.7
from deepfacelab_linux.
@YoochanMyung Conda doesn't seem to have opencv-python==4.1.0.25, should I install the latest version of opencb-python(4.6.0.66) instead?
Edit: I just realized I was on Python 3.9 instead of 3.7, is it possible to run DFL on Python 3.9?
from deepfacelab_linux.
Related Issues (20)
- only use cpu train SAEHD HOT 3
- Missing export scripts HOT 1
- Extremely outdated, not working currently, doesn't detect GPU HOT 13
- AMD gpu don't work HOT 2
- Can you please post a license? HOT 2
- Extracting face not working on GPU HOT 2
- Unworkable on modern cards e.g. 4090 or modern Distro's - Ubuntu 22.04 HOT 19
- Uses 100% CPU simultaneously with GPU HOT 4
- libtinfo.so.6: no version information available HOT 6
- 6_train_SAEHD.sh ----- TypeError: Can't parse 'center'. Sequence item with index 0 has a wrong type HOT 1
- 7_merge_Quick96.sh -- QObject::moveToThread: Current thread (0x813e8c0) is not the object's thread (0x64ff3f0). HOT 7
- SAEHD to DFM Error
- Training uses CPU instead of GPU HOT 1
- CondaError: Run 'conda init' before 'conda activate' HOT 1
- Failed to run "bash 1_clear_workspace.sh" HOT 4
- Incomplete instructions? HOT 1
- how to start after "bash 1_clear_workspace.sh"? HOT 3
- runing 7_merge_SAEHD, the model didn't work HOT 2
- CUDA_ERROR_ECC_UNCORRECTABLE: uncorrectable ECC error encountered HOT 1
- Blackscreen video HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepfacelab_linux.