Replies: 1 comment
-
This is old but the issue is still not solved so I feel like providing the answer. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, i wanted to train my model. This works sometimes, but sometimes it also wont.
So now I've generated some class images for a different promt and trained my model for it.
I changed the class promt and set a new folder and pressed 'generate class images', but every time I think there is an empty folder selected, I get the error, that only .pt files are supported.
To prove that the empty class image folder is the problem, I generated the class images via promt and threw them into the folder and retried, and it worked.
Is there something I missed? Why it shoes that error if the .pt file has nothing todo with that?
The error:
"Exception training model: 'Only .pt files are supported'."
Error in CMD:
Generating 35 class images for training...
Using scheduler: DEISMultistep: 0%| | 0/35 [00:00<?, ?it/s]
Traceback (most recent call last):
File "C:\Experimental\stable-diffusion-webui-1.3.1\extensions\sd_dreambooth_extension\dreambooth\ui_functions.py", line 729, in start_training
result = main(class_gen_method=class_gen_method)
File "C:\Experimental\stable-diffusion-webui-1.3.1\extensions\sd_dreambooth_extension\dreambooth\train_dreambooth.py", line 1546, in main
return inner_loop()
File "C:\Experimental\stable-diffusion-webui-1.3.1\extensions\sd_dreambooth_extension\dreambooth\memory.py", line 119, in decorator
return function(batch_size, grad_size, prof, *args, **kwargs)
File "C:\Experimental\stable-diffusion-webui-1.3.1\extensions\sd_dreambooth_extension\dreambooth\train_dreambooth.py", line 246, in inner_loop
count, instance_prompts, class_prompts = generate_classifiers(
File "C:\Experimental\stable-diffusion-webui-1.3.1\extensions\sd_dreambooth_extension\dreambooth\utils\gen_utils.py", line 153, in generate_classifiers
builder = ImageBuilder(
File "C:\Experimental\stable-diffusion-webui-1.3.1\extensions\sd_dreambooth_extension\helpers\image_builder.py", line 148, in init
lora_txt_path = _text_lora_path_ui(lora_model_path)
File "C:\Experimental\stable-diffusion-webui-1.3.1\extensions\sd_dreambooth_extension\lora_diffusion\lora.py", line 844, in _text_lora_path_ui
AssertionError: Only .pt files are supported
Thanks for help.
Beta Was this translation helpful? Give feedback.
All reactions