Closed MarcosLopezC closed 1 year ago
What source model are you trying to extract?
I seem to have the same error, the source model is Linaqruf/anything-v3.0.
Tried with a different model (hakurei/waifu-diffusion) same problem:
Fetching 15 files: 100%|█████████████████████████████████Fetching 15 files: 100%|█████████████████████████████████| 15/15 [08:15<00:00, 33.05s/it]
Pipeline or config is not set, unable to continue.
Restored system models.
Allocated: 2.0GB
Reserved: 2.0GB
Allocated 2.0/2.0GB
Reserved: 2.0/2.0GB
Exception while extracting model: 'torch.device' object has no attribute 'values'
Exception loading config: [Errno 2] No such file or directory: 'C:\\Users\\Administrator\\Desktop\\SD_WebUI\\stable-diffusion-webui\\models\\dreambooth\\waifuDF_nanash_DB\\db_config.json'
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\SD_WebUI\stable-diffusion-webui\extensions\sd_dreambooth_extension\dreambooth\db_config.py", line 301, in from_file
with open(config_file, 'r') as openfile:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Administrator\\Desktop\\SD_WebUI\\stable-diffusion-webui\\models\\dreambooth\\waifuDF_nanash_DB\\db_config.json'Can't load config!
What source model are you trying to extract?
In this particular case I was using the model described in the README file for WebUI:
https://huggingface.co/CompVis/stable-diffusion-v-1-4-original/blob/main/sd-v1-4.ckpt
However, the error occurred regardless of what model selected.
Ah, I see the problem. The model(s) in question are just .ckpt files, not the newer model releases that also feature diffusers-based weights, which is what the URL stuff is currently for.
I can probably implement a feature that handles this some time down the road, but for now, I have bigger priorities. Feel free to submit a feature request for this - for now, this is not supported behavior. Sorry for the confusion.
Well, what exactly do I have to do to get this thing to work? When I use the URL I get this error instead:
Loading model from hub.
v1 model loaded.
Creating scheduler...
Trying to create MarcosLopezC from huggingface.co/runwayml/stable-diffusion-v1-5
Loading model from hub.
Fetching 15 files: 100%|█████████████████████████████████████████████████████████████| 15/15 [00:00<00:00, 2491.96it/s]
Pipeline or config is not set, unable to continue.
Restored system models.
Allocated: 2.0GB
Reserved: 2.0GB
Allocated 2.0/2.0GB
Reserved: 2.0/2.0GB
Exception while extracting model: 'torch.device' object has no attribute 'values'
No matter what I do I get an error in one form or another.
Just download the checkpoint with your browser, save it to sdwebui\models\stable-diffusion...select it in the dreambooth tab.
On Thu, Dec 15, 2022 at 8:58 PM Marcos Vladimir López Castellanos < @.***> wrote:
Well, what exactly do I have to do to get this thing to work? When I use the URL I get this error instead:
Loading model from hub.
v1 model loaded.
Creating scheduler...
Trying to create MarcosLopezC from huggingface.co/runwayml/stable-diffusion-v1-5
Loading model from hub.
Fetching 15 files: 100%|█████████████████████████████████████████████████████████████| 15/15 [00:00<00:00, 2491.96it/s]
Pipeline or config is not set, unable to continue.
Restored system models.
Allocated: 2.0GB
Reserved: 2.0GB
Allocated 2.0/2.0GB
Reserved: 2.0/2.0GB
Exception while extracting model: 'torch.device' object has no attribute 'values'
No matter what I do I get an error in one form or another.
— Reply to this email directly, view it on GitHub https://github.com/d8ahazard/sd_dreambooth_extension/issues/544#issuecomment-1354114286, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMO4NHVBJMK6PVSCVMVCODWNPLEXANCNFSM6AAAAAAS7GX534 . You are receiving this because you modified the open/close state.Message ID: @.***>
Have you read the Readme? Yes.
Have you completely restarted the stable-diffusion-webUI, not just reloaded the UI? Yes.
Have you updated Dreambooth to the latest revision? Yes.
Have you updated the Stable-Diffusion-WebUI to the latest version? Yes.
No, really. Please save us both some trouble and update the SD-WebUI and Extension and restart before posting this. Reply 'OK' Below to acknowledge that you did this. OK
Describe the bug
I am unable to create a model from Web UI using the Dreambooth extension. At first I thought maybe it was an issue with my installation, so I created brand new directory and installed
AUTOMATIC1111/stable-diffusion-webui
again (following the instructions in the README file to the letter. Immediately after I installed this extension, again following the instructions in the README file to the letter.After everything installed and the application loaded I went directly to the Dreambooth tab on WebUI, then on the Create Model section I entered to the following parameters:
(No check boxes were selected)
A few seconds after pressing the Create button, I was presented with the following error on the console:
If a crash has occurred, please provide the entire stack trace from the log, including the last few log messages before the crash occurred. N/A
Environment
What OS? Native Windows 10 (x64)
What GPU are you using? Nvidia RTX 3090 TI
Screenshots/Config If the issue is specific to an error while training, please provide a screenshot of training parameters or the db_config.json file from /models/dreambooth/MODELNAME/db_config.json N/A