Closed torrinworx closed 1 year ago
This line here:
File "D:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\Cozy-Auto-Texture\src\main.py", line 47, in text2img
pipe = StableDiffusionPipeline.from_pretrained(model_path) # Specify model path
Perhaps its an issue with the path specified for the Stable Diffusion v1.4 download? Some issue with Blender's directory system?
Same issue here for what it's worth. I think it's missing Numpy as a required library. This is on Windows.
Edit: Actually I think the issue here was caused by Google limiting downloads on the Drive causing the configurator to break. Try again after running Remove_dependencies_for_test.py with whatever python executable blender is using.
Final edit: Couldn't get the downloads to finish at all:
Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can't access a file after 24 hours, contact your domain administrator.
@cherrerajobs Hmmm, ok thank you for pointing that out, I'm going to move the repo to AWS S3 which should be a more long term solution. Hopefully that will fix it
interesting I just downloaded the dependencies manually but I still get the numpy not available error despite it being installed on both blender's python and my system python
@MetalMantis Yeah it's a bit of a head scratcher, I'm going to look into virtual environments inside Blender's Python as outlined in this gist: https://gist.github.com/alchem0x2A/345e6b7d8ea68087db3fa25ea7268cb0
Hopefully there is a viable solution to this issue with that.
Hello... On the addon I'm developing I solved the numpy issue by installing torch and numpy in different steps. I'm using these to requeriments file for the installation. requirements_test_1.txt requirements_test_2.txt
Fixed with #7, @carlosedubarreto I've made quite a few changes and efficiency improvements to your original method. I've messaged you on Discord about it if you would like to chat!
Various error messages occur after the user attempts to generate a texture:
The majority of this is to do with Numpy or Transformers, I believe it's an issue with the Stable Diffusion download not knowing what Python version to use as it's installed within Blenders add-on system and might be using the users Python version. However I have not determined if this is the root cause, it's just my suspicion.