FurkanGozukara/Stable-Diffusion

No module named "onnxruntime"

swapper69 opened this issue · 10 comments

onnxruntime error

Hi,

I get stuck on this step with the following error - No module named "onnxruntime"

Step 8 : inswapper_128 model file
You don't need to download inswapper_128 manually anymore

https://youtu.be/OI1LEN-SgLM?si=NzlOJsTUmvBZPHoS
Have followed the tutorial here.

@swapper69 you need to have c++ tools accurately installed. otherwise you will get that error because during install it will fail to install and compile onnxruntime libraries

Okay, shall check again. Thanks

https://huggingface.co/OwlMaster/gg/resolve/main/inswapper_128.onnx

Since this file is not available to download, can this be the reason for the above error!

c++

It shows the installations are up to date!

collab

run.py: error: unrecognized arguments: -f face1.png --gpu

Error while trying with Collab!

collab

run.py: error: unrecognized arguments: -f face1.png --gpu

Error while trying with Collab!

that is wrong use latest colab

https://colab.research.google.com/github/FurkanGozukara/Stable-Diffusion/blob/main/ColabNotebooks/1_click_deep_fake_for_free_by_SECourses.ipynb

run.py: error: unrecognized arguments: -f face1.png --gpu

Still ran into the same error with the above link!

Also tried using different image and video, but still same error!

run.py: error: unrecognized arguments: -f face1.png --gpu

Still ran into the same error with the above link!

you are not reading the file

the run command changed

read the file

Got it.
Thanks a lot