Open riottrade opened 1 year ago
Create a new cell and run this code :
import sys
%cd /content
!git clone https://github.com/MSFTserver/pytorch3d-lite.git
sys.path.append('./pytorch3d-lite')
see if it works so I'll add it to the notebook
Didn't fix it. Same error. I updated Deforum and the rest of notebook runs smooth. Took me a while I restarted run time. I put the cell here :
I added the Deforum extensions through webui and updated it.
I'll try to find a solution
Thx a lot. Adding this module to Requirments List didn’t help. Need to kick of those animations :)
how did you install the extension ? by copying the script or through A1111 webui installer
Throgh the webui installer.
Will try it tomorrow. So now I just need to update the repo?
no need to update the repo
Afraid I still get the same result. module missing. I updated Deforum script. The cell you asked me to add is still there though..shall I try removing it? this one : import sys %cd /content !git clone https://github.com/MSFTserver/pytorch3d-lite.git sys.path.append('./pytorch3d-lite')
did you update the colab to latest version ?
to make that precise...your notebook or Deforum script dowloaded through webui ?
I updated the repo but I need to copy the collab again to my drive I think. Will do that. Is there a way to save my styles saved on notebook?
If you don't want to refresh the collab, just copy the code from the "requirements" cell from the new notebook to your notebook
Thank you Sir! It worked this time. Got first trial animation out just know. Respect!
Great !
I am having the same error: ModuleNotFoundError: No module named 'py3d_tools'
What do I need to update exactly?
I still get the error.
I'll check if something changed
When installing the requirements, in my google drive the deforum path is:
/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/scripts/deforum_helpers/
but the requirements in the notebook check for this path:
/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/scripts/deforum/
Could this be anything to do with my issue? I've already redownloaded the sd repository.
that must be it, the folder has changed, I'll fix it
I did a superficial fix, can you show the folder structure of the directory "deforum_helpers"
I have the same obstacle; I even deleted the SD folder and started from scratch.
ModuleNotFoundError: No module named 'py3d_tools' Time taken: 0.21sTorch active/reserved: 2069/2082 MiB, Sys VRAM: 3102/40537 MiB (7.65%)
You are just amazing. I getting this erorr over and over so then I found this topic. I'll try it today and try to contribute here!
There is an if statement in the requirements:
if os.path.exists('/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/scripts/deforum/src/infer.py'):
Change the path to:
if os.path.exists('/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/scripts/deforum_helpers/src/infer.py'):
I guess I forgot to change that part
I guess I forgot to change that part
Should we redownload the notebook?
Yes
Yes
Thanks, it works now:) I wish you the best.
I got this new error msg: RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 24 but got size 23 for tensor number 1 in the list.
Time taken: 0.29sTorch active/reserved: 2384/2588 MiB, Sys VRAM: 4296/40537 MiB (10.6%)
Update: The error comeback again after a fresh install of the script ModuleNotFoundError: No module named 'py3d_tools'
Time taken: 0.17sTorch active/reserved: 2236/2252 MiB, Sys VRAM: 3272/40537 MiB (8.07%)
after every fresh install, you will need to run the requirements cell
after every fresh install, you will need to run the requirements cell
Thank you
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 24 but got size 23 for tensor number 1 in the list.
I don't think this error is related the the installation, more likely with the settings
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 24 but got size 23 for tensor number 1 in the list.
I don't think this error is related the the installation, more likely with the settings
Thanks, it works now, much appreciated:)
Is there a way to save styles you saved in notebook? Fresh install erases them...or just copy somewhere and paste to freshly installed one?
copy somewhere and paste to freshly installed one?
that's the best solution
Thanks a lot! Wanted to ask about Stable Diffusion V2. Does it have to be added to notebook from your side to download automaticaly during the load up?
I'm working on reshaping the colab to support the V2, should be ready in a few hours
Legend! Thanks for your hard work. Will check here and twitter dor updates. It seems to be quite an update!
I'm working on reshaping the colab to support the V2, should be ready in a few hours
Omg! As I said before u are just amazing! Thx for everything.
I get same error again 😪. Anyone can explain step by step? :(
I believe you need to re-download since Ben updated collab for Stable V2...and possibly update Deforum extension. My guess.
I believe you need to re-download since Ben updated collab for Stable V2...and possibly update Deforum extension. My guess.
Not working :/
Hi,
Running Deforum extension in your notebook. Image generation and everything works fine but when trying to generate animation I get this error : ModuleNotFoundError: No module named 'py3d_tools' Not sure how to fix this.
And also Open Image Directory don't work in whole notebook - text2image and image2image