Comments (8)
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
from cozy-auto-texture.
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!
from cozy-auto-texture.
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?
from cozy-auto-texture.
Same issue here for what it's worth. I think it's missing Numpy as a required library. This is on Windows.
from cozy-auto-texture.
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.
from cozy-auto-texture.
@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
from cozy-auto-texture.
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
from cozy-auto-texture.
@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.
from cozy-auto-texture.
Related Issues (11)
- Add-on fails when restarted (CTRL+R) due to Tensor flow import issue. HOT 4
- Is there a tutorial on how to use it? HOT 1
- issue with fresh install, Blender installs add-on to AppData directory HOT 1
- Bug happene when I gonna HOT 1
- Cozy-Auto-Texture can not use
- Error when trying to install dependencies on Ubuntu 22.04: Command '['/snap/blender/2790/3.3/python/bin/python3.10', '-m', 'pip', 'install', 'diffusers'] returned no zero exit status 1 HOT 1
- Create user agreement checkbox for Stable Diffusion license. HOT 1
- Use Venv instead of installing packages inside Blender's Python
- Improvements and new features HOT 4
- If user restarts Blender or resets scripts, the add-on loses knowledge of installed dependencies. HOT 2
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 cozy-auto-texture.