Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with running it #20

Closed
Niutonian opened this issue Apr 17, 2023 · 5 comments
Closed

Help with running it #20

Niutonian opened this issue Apr 17, 2023 · 5 comments

Comments

@Niutonian
Copy link

Niutonian commented Apr 17, 2023

Hello, I would like to know if someone could help me figure out why I keep on getting the same mistake multiple time related to torch

Here is my issue, When I run the line below, I get the module torch not found even though it is there.

'D:\stable-diffusion-webui\SD-CN-Animation>python3 compute_flow.py -i "C:\Users\Arnaud***\Downloads\Remove0417_720p.mov" -o "D:\stable-diffusion-webui\SD-CN-Animation\EXPORT" -v -W 720 -H 540
Traceback (most recent call last):
File "D:\stable-diffusion-webui\SD-CN-Animation\compute_flow.py", line 7, in
from flow_utils import RAFT_estimate_flow
File "D:\stable-diffusion-webui\SD-CN-Animation\flow_utils.py", line 9, in
import torch
ModuleNotFoundError: No module named 'torch' '

What could be the problem?

@jAyATJaY
Copy link

Did you install the prerequisites?

@Cubey42
Copy link

Cubey42 commented Apr 18, 2023

are you running it inside the environment of your sd?

@Niutonian
Copy link
Author

Yes all the prerequisites are installed but I am running it inside of the env of SD,
Should I setup a conda env for it,
sorry I'm really new at all of this

@CaptnSeraph
Copy link
Contributor

i would setup a separate environment for raft, there are different torch versions across all these ML projects and ive never been able to get them working outside of individual environments

@Niutonian
Copy link
Author

Ok, thanks all for the tips, I will try again to run it,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants