OOTDiffusion
OOTDiffusion copied to clipboard
No module named 'torch._custom_ops'
(ootd) E:\software\OOTDiffusion\run>python run_ootd.py --model_path E:\software\OOTDiffusion\run\examples\model\model_1.png --cloth_path E:\software\OOTDiffusion\run\examples\garment\02305_00.jpg --scale 2.0 --sample 4
Traceback (most recent call last):
File "E:\software\OOTDiffusion\run\run_ootd.py", line 9, in
(ootd) E:\software\OOTDiffusion\run>
How can I solve this problem?
pip uninstall torch pip uninstall torchvision conda clean -a pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117 conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia python -c "import torch; print(torch.cuda.is_available())" nvcc --version python -m torch.utils.collect_env
The problem has been solved
I want to know that “ No module named 'torch._custom_ops' ” this problem,how should be solved
pip uninstall torch pip uninstall torchvision conda clean -a pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117 conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia python -c "import torch; print(torch.cuda.is_available())" nvcc --version python -m torch.utils.collect_env
May I ask if cuda=11.6 is OK?
I want to know that “ No module named 'torch._custom_ops' ” this problem,how should be solved
You can follow the author's method above.