carson-katri / dream-textures

Stable Diffusion built-in to Blender
GNU General Public License v3.0
7.83k stars 427 forks source link

FileNotFoundError(2, 'No such file or directory') #647

Closed Nockeat closed 10 months ago

Nockeat commented 1 year ago

Description

Can't Project Dream Textrue

Steps to Reproduce

2023-04-25 18 34 46

Expected Behavior

Dream Correctly

Addon Version

macOS (Apple Silicon)

GPU

Apple Silicon

Kaesops commented 1 year ago

Same thing happened to me but on windows image

JasonSongPeng commented 1 year ago

Same issue, please help to give us some ideas

danielbill commented 1 year ago

yeah me too

Hunanbean commented 1 year ago

Same. then when i looked at the console.. The system cannot find the path specified: 'C:\\Users\\Username/.cache\\huggingface\\diffusers\\refs'

danielbill commented 1 year ago

Same. then when i looked at the console.. The system cannot find the path specified: 'C:\\Users\\Username/.cache\\huggingface\\diffusers\\refs'

where to cfg the path ?

carson-katri commented 1 year ago

The original report was for macOS. Please run Blender from the terminal to get a full log:

  1. Open the app “Terminal”
  2. Enter the command /Applications/Blender.app/Contents/MacOS/Blender and press enter
  3. Try to generate an image

The full log will appear in Terminal.

GrantelbartonCetamine commented 1 year ago

Dont Work for me . Need help

melwinsss commented 1 year ago

any one got solution for windows

alemanimani commented 1 year ago

same issue here, I've tried various models, checking the roaming data file, I'm out of ideas

An error occurred while generating. Check the issues tab on GitHub to see if this has been reported before:

FileNotFoundError(2, 'The system cannot find the path specified') --windows btw

ALSO:: It seems I'm missing a file huggingface/diffuser/refs' after inspecting the console. Still have not found a solution.

alemanimani commented 1 year ago

Update: I downloaded controlnet models from the addon search bar and the original error is gone, but replaced with a runtime error where "mat1 and mat2 shapes cannot be multiplied"

alemanimani commented 1 year ago

Update: I went to /users/.cache/huggingface and deleted the models in that folder and close reopened blender to download the appropriate models again. This seemed to fix the problem temporarily before it returned. To fix it again I repeated the steps above. For controlnet to operate correctly you will need to download the canni or depth ctrlnet models through the search bar in your blender addon>dreamtexture window (you can do this manually but it's less confusing this way)

Kieaer commented 1 year ago

Same The system cannot find the path specified: 'C:\\Users\\Username/.cache\\huggingface\\diffusers\\refs' error Actually there is no diffusers folder, only hub folder.

AlexNolasco commented 1 year ago

For controlnet to operate correctly you will need to download the canni or depth ctrlnet model

Came across the same error "mat1 and mat2 shapes cannot be multiplied". I proceeded as follows

1.- Removed /users/.cache/huggingface 2.- Installed stabilityai/stable-diffusion-2-1 3.- Installed thibaud/controlnet-sd-21-depth-diffusers

Now trying to get a nice image 🙄

saturdayxiii commented 1 year ago

Any progress? I had the FileNotFound error, installed whatever the most popular controlnet was, now I have the mat1 and 2 error. I'm using blender from portableapps.com for Windows so I'm not finding a .cache/huggingface anywhere to delete.

carson-katri commented 1 year ago

You need to use a ControlNet model that works with the base model. So a Stable Diffusion 2.1 base model needs a 2.1 compatible ControlNet for example.

saturdayxiii commented 1 year ago

Wonderful, it's working now. Thank you for that detail.

github-actions[bot] commented 10 months ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 10 months ago

This issue was closed because it has been inactive for 7 days since being marked as stale.