Comments (22)
Hmm... automatic1111 users are also affected: AUTOMATIC1111/stable-diffusion-webui#12582
from pallaidium.
Yes, I'm also see that error right now. A wild guess, maybe it is the update of Diffusers to 0.20 which caused it. It was updated yesterday. I'll try to downgrade the Diffusers version.
from pallaidium.
Wow, what instant reaction! Many thanks and hoping for the best.
from pallaidium.
Downgrading diffusers didn't seem to work. So it might be the Torch version.
from pallaidium.
What is your gfx driver version?
I'm on 531 bc later versions automatically moved a lot of the AI processing over on the CPU and that caused serious slowdowns.
Maybe upgrading those NVIDIA drivers will solve it. You, the reporter on auto1111 and I all got RTX cards - maybe there is something there.
Now I'm trying to update pytouch to the nightly to see if that is making any difference.
from pallaidium.
from pallaidium.
In the add-on preferences, I clicked Uninstall Dependencies. Let it do it's job. When finished, I closed Blender. Restarted it(as admin) and installed all dependencies again. And this worked. I still have the code for installing the previous version(0.19.3) of Diffusers active, tho. Not sure if that made a difference.
from pallaidium.
from pallaidium.
I updated it with some changes which might address those problems.
I made memory enhancements kick in at 8 GB including this line:
upscale.unet.enable_forward_chunking(chunk_size=1, dim=1)
If you got plenty of VRAM and feel everything has gone too slow, then comment out that line from everywhere is occurring.
Let me know how it goes.
from pallaidium.
Not yet there. Tried now for an hour all combinations of restarts, even a new blender from scratch, then I installed the latest version from Github of your add-on and this finished OK, but when I try to run it I get this error: Read prefs: "C:\Users\mischa\AppData\Roaming\Blender Foundation\Blender\3.6\config\userpref.blend"
register_class(...):
Warning: 'NODE_MT_group_Geometry_/Math' doesn't have an alpha-numeric suffix
reloading addon: Generative_AI-main 1692512799.8565087 1692514277.5294695 'C:\Users\mischa\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\Generative_AI-main\init.py'
Modules Installed () from 'C:\Users\mischa\Downloads\Generative_AI-main (2).zip' into 'C:\Users\mischa\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons'
vae\diffusion_pytorch_model.safetensors not found
Loading pipeline components...: 100%|████████████████████████████████████████████████████| 5/5 [00:02<00:00, 1.70it/s]
Generating Video
Traceback (most recent call last):
File "C:\Users\mischa\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\Generative_AI-main_init.py", line 1302, in execute
video_frames = pipe(
File "C:\Users\mischa\AppData\Roaming\Python\Python310\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
TypeError: VideoToVideoSDPipeline.call() got an unexpected keyword argument 'height'
Error: Python: Traceback (most recent call last):
File "C:\Users\mischa\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\Generative_AI-main_init_.py", line 1302, in execute
video_frames = pipe(
File "C:\Users\mischa\AppData\Roaming\Python\Python310\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
TypeError: VideoToVideoSDPipeline.call() got an unexpected keyword argument 'height'
from pallaidium.
Getting stranger by the minute; get now always this error when I try to install your add-on. I even created a brand new windows-user on my second PC, installed blender and get this error. So what can I do - would love so much to use your app which would solve many of my problems.
from pallaidium.
In the bottom line of your screenshot is a path. Goto the side-packages folder. This is where all of the python modules are located. With Blender closed, delete all folders with dates corresponding with your installation of the add-on. Then start Blender(as admin), install the add-on(grab the latest from 10 hours ago). Hopefully that will install the add-on okay. Then click the install dependencies. I hope this should work.
If you see the height error again, send me a screenshot of the selected models(add-on preferences) and the sidebar options, so I can try to reproduce it.
from pallaidium.
Found the reason for the "height" error.
from pallaidium.
from pallaidium.
In the meantime I finished the new installation, which worked flawlessly. But on the first run I get the following error:
......
Info: Installation of dependencies is finished.
vae\diffusion_pytorch_model.safetensors not found
Traceback (most recent call last):
File "C:\Users\mischa\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\Generative_AI-main_init_.py", line 1144, in execute
pipe = DiffusionPipeline.from_pretrained(
File "C:\Users\mischa\AppData\Roaming\Python\Python310\site-packages\diffusers\pipelines\pipeline_utils.py", line 908, in from_pretrained
cached_folder = cls.download(
File "C:\Users\mischa\AppData\Roaming\Python\Python310\site-packages\diffusers\pipelines\pipeline_utils.py", line 1446, in download
use_onnx = use_onnx if use_onnx is not None else pipeline_class.is_onnx
File "C:\Users\mischa\AppData\Roaming\Python\Python310\site-packages\diffusers\utils\import_utils.py", line 575, in getattr
return super().getattr(cls, key)
AttributeError: 'super' object has no attribute 'getattr'. Did you mean: 'setattr'?
Error: Python: Traceback (most recent call last):
File "C:\Users\mischa\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\Generative_AI-main_init.py", line 1144, in execute
pipe = DiffusionPipeline.from_pretrained(
File "C:\Users\mischa\AppData\Roaming\Python\Python310\site-packages\diffusers\pipelines\pipeline_utils.py", line 908, in from_pretrained
cached_folder = cls.download(
File "C:\Users\mischa\AppData\Roaming\Python\Python310\site-packages\diffusers\pipelines\pipeline_utils.py", line 1446, in download
use_onnx = use_onnx if use_onnx is not None else pipeline_class._is_onnx
File "C:\Users\mischa\AppData\Roaming\Python\Python310\site-packages\diffusers\utils\import_utils.py", line 575, in getattr
return super().getattr(cls, key)
AttributeError: 'super' object has no attribute 'getattr'. Did you mean: 'setattr'?
from pallaidium.
Just updated the code with (hopefully) a fix for the height thing. As all the models are passing through the same code, I hope this does not break something else, but I do not have time to check up all of the different variations.
No clue about the latest error. Looks like it is related to diffusers. Let me know if you still see this after the update.
from pallaidium.
Could be related to some problem downloading the models. If you need to clean out the models, they're located here:
C:\Users\YourName\.cache\huggingface\hub
Btw. if you get the cuda out of memory error, things might get wonky(Diffusers can crash Blender), so I tend to restart Blender after those errors(which you encounter when trying to see how far you can go in ex. number of frames)
from pallaidium.
Great, this seems to work now. I installed blender and your add-on with a new admin-account, and then your latest version did install flawlessly. But at the moment I just get some kind of black and white dotty universe, rather nice, but I think this might be SDXL.ckpt missing in my fresh install. So far I just have used SD within VOC, so my knowledge level is rather basic. So do I have to install the SD-blender-add-on from github as well to get your tool running?
I have another question: Could I use a SDXL.cktp of my own, or a Lora? I got 700 historical photos of a town square in my hometown, and I would like to set my movies in this environment, if feasible. What do you think?
Just for your info of what I just did with zeroscope XL so far under VOC, and what I would like to continue doing with your add-on: https://vimeo.com/856147115?share=copy
with supermany thanx for your speedy support
from pallaidium.
If it is producing images, it is working. Great! if it produces some abstract patterns, often it means you should try to change the number of frames and/or the resolution. As a rule of thumb, try to start with the resolution stated in the model selector and +1 on the frames. There is a lot of trial and error in tweaking your way into settings working for you. cktps are not (yet?) supported. As mentioned is this add-on utilizing the Diffusers python module: https://github.com/huggingface/diffusers , and they got their own model format and the models needs to be uploaded to hugging face: https://huggingface.co/cerspense/zeroscope_v2_XL/tree/main
So, this is what you should you with your model, and then from line 629 in the script, you can see the way to add additional models pointing to the location on Hugging Face.
If you need to convert a model to this format, then this project should be used(as I don't have the hardware for training I never looked into this): https://github.com/ExponentialML/Text-To-Video-Finetuning
I haven't read up on loras yet, but I think they're supported by Diffusers.
Wow, very fascinating video. Totally satisfying to look at.
What is VOC?
from pallaidium.
from pallaidium.
Thanks for the hint on VOC. The question mark is a toggle button to randomize the seed. When depressed you can edit the seed value.
However, if you use generated strips for img2vid or vid2vid, the seed value is saved in the filename and automatically inserted i the seed value while rendering. If you need at stronger variation, then lower the Strip Power value.
As it is now you can only select between the exposed models in the UI(but as mentioned, it is in most cases a trivial code thing thing to add more)
from pallaidium.
Closing, as this seems to be solved.
from pallaidium.
Related Issues (20)
- _offload_gpu_id HOT 6
- basic steps not work HOT 3
- errors on Generate from Strips HOT 3
- Illusion model not loading HOT 5
- Art: Stained Glass calls graffiti style instead HOT 2
- xFormers can't load C++/CUDA extensions HOT 9
- can the add-on share model files with the original software like stable diffusions? HOT 3
- FR: Save metadata HOT 1
- Würstchen is currently not working
- error on 1.6 version when trying to use audio LDM 2 sound and bark HOT 2
- error when installing MusicGen Stereo model HOT 19
- error on 1.7 version HOT 14
- NameError: name '_C' is not defined HOT 13
- Problem: Video, img2img HOT 4
- The system cannot find the specified path: HOT 9
- macOS development tester error result HOT 22
- Animatediff not working? HOT 3
- ModuleNotFoundError: No module named 'google.protobuf HOT 3
- IDEA: Integration with krita-ai-diffusion HOT 3
- Bug - cant find python linux HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pallaidium.