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

Define optical flow functions Cell issue / [Errno 2] No such file or directory & No module named 'utils' #9

Open
ThroughIris opened this issue Oct 11, 2022 · 1 comment

Comments

@ThroughIris
Copy link

I love the idea behind this built, thanks for sharing.

I'm having trouble with "Define optical flow functions for Video input animation mode only"

First error was
[Errno 2] No such file or directory: '/content/RAFT/core'

So I changed it to make sure it found the folder with root_dir ='/content/drive/MyDrive/AI/Disco_Diffusion'

Then I get a new error:

/content/drive/MyDrive/AI/Disco_Diffusion/RAFT/core
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-45-c71df2f6329e>](https://localhost:8080/#) in <module>
     10   get_ipython().run_line_magic('cd', '{path}')
     11 
---> 12   from utils.utils import InputPadder
     13   from raft import RAFT
     14   # from utils import flow_viz

ModuleNotFoundError: No module named 'utils'

This No module named 'utils' is dumbfounding me, I see a utils folder but don’t how to fix this. I tried reinstalling, tried subbing in code from "Disco Diffusion v5.61" but had no luck. Any thoughts, I would really acpprieactee it. Thanks!

@ThroughIris
Copy link
Author

I think I figured it out. It wasn't running because it was referencing another verison of Disco Diffusion on my Google drive. I think (not sure) this verison names or references things differently than the normal "Disco Diffusion v5.61" I was using. So I just re-named my Disco Diffusion folder in Google drive so it wouldn't reference it anymore. Then reinstalled it and it ran fine.
You could also delelte other verisons to save space or archive them, but re-namimg worked fine for me. I also plan to re-name it back when using that other verison again.

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

1 participant