n00mkrad / flowframes

Flowframes Windows GUI for video interpolation using DAIN (NCNN) or RIFE (CUDA/NCNN)
GNU General Public License v3.0
1.45k stars 115 forks source link

torch module missing #282

Open gsha26 opened 10 months ago

gsha26 commented 10 months ago

hi all, I know there are previous issues already posted about this but I have already tried what's been suggested. I'll list the solutions and what happened:

  1. created a coda environment, activated it, installed pytorch using pip (https://stackoverflow.com/questions/54843067/no-module-named-torch) these all went fine until I got stuck on the last step requiring Python shell. It says to import torch import torchvision but these two result in "invalid syntax" or "No Python documentation found for 'import torch.' "

  2. turn off iGPU in system settings and computer management (https://github.com/n00mkrad/flowframes/issues/114) I changed it to the high performance option and even added the FF exe. to the list of programs that will utilize GPU. my computer has no option including 'intel' under computer management. it's either AMD Radeon or NVIDIA GeForce GTX 1650.

  3. check mark "Add Python to environmental variables" (https://github.com/n00mkrad/flowframes/issues/105) this had no effect whatsoever.

  4. downgrade python to 1.19.3 had no effect and other commands did not work when I did this.

  5. set Pytorch GPU IDs and NCNN GPU IDs to "0,1" (https://github.com/n00mkrad/flowframes/issues/114) again, did not help the issue.

  6. lower maximum video size to the clip I want to interpolate the issue persisted.

  7. used Vulkan option in Interpolate settings I get the Vulkan error [E] invalid GPU device , Are your GPU IDs set correctly?

  8. deleted and reinstalled FF last resort but it still didn't work.

the issue is definitely not the clip I'm using because when I first installed FF it worked fine. I even tried a different clip after I first got an issue but it persisted. I ran the command prompts listed under the Python section of the FF forum. The first issue went from cv2 module missing but to torch module missing. I'm truly sorry if this appears stupid or that it should be common sense but my knowledge of computer technology only goes so far. I'm sure there's something I didn't install right. TYIA