Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Cant create ckpt model, dreambooth local training #4639

Closed
1 task done
mactics777 opened this issue Nov 12, 2022 · 10 comments
Closed
1 task done

[Bug]: Cant create ckpt model, dreambooth local training #4639

mactics777 opened this issue Nov 12, 2022 · 10 comments
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@mactics777
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

Tried to train a model, following this tutorial form aitrepreneur https://www.youtube.com/watch?v=HahKXY7AQ8c

i can train the model to all the steps necessary, but when i want to create the ckpt i get an error.

Im on a Windows 10 build
Python 10.6
Ryzen 2600, 16GB RAM
RTX 3060 12GB

Steps to reproduce the problem

train a model, following this tutorial form aitrepreneur

https://www.youtube.com/watch?v=HahKXY7AQ8c

What should have happened?

Exporting a ckpt model.

Commit where the problem happens

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

No response

Additional information, context and logs

Traceback (most recent call last):
File "C:\Stablediffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 284, in run_predict
output = await app.blocks.process_api(
File "C:\Stablediffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 982, in process_api
result = await self.call_function(fn_index, inputs, iterator)
File "C:\Stablediffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 824, in call_function
prediction = await anyio.to_thread.run_sync(
File "C:\Stablediffusion\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "C:\Stablediffusion\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "C:\Stablediffusion\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
TypeError: compile_checkpoint() takes 2 positional arguments but 3 were given

@mactics777 mactics777 added the bug-report Report of a bug, yet to be confirmed label Nov 12, 2022
@Alice2O3
Copy link

Same issue here, just downloading the latest version and then I get this error.

@arthuranimation
Copy link

Having a similar issue with the latest version.

@buccelati22
Copy link

Dont sure about it's proper way to fix it, but removing the line "db_pretrained_vae_name_or_path," in \extensions\sd_dreambooth_extension\scripts\main.py and restart helped me.

@FlexTestHD
Copy link

Thanks for the hint! I deleted the 130-line and the .cpkt-generation worked again.

@Alice2O3
Copy link

Thanks for the hint! I deleted the 130-line and the .cpkt-generation worked again.

Well, although this workaround is fine, I would still want to have this issue fixed in the future version.

@CaptDoodle
Copy link

I tried deleting the line 'db_pretrained_vae_name_or_path,' within main.py, however I still get the same issue. Anyone else found an additional work around?

@johneliot1978
Copy link

johneliot1978 commented Nov 28, 2022

have this issue also, commenting out didnt work for me

@MadMick96
Copy link

Getting same issue

@caretaker0815
Copy link

Same here

@catboxanon
Copy link
Collaborator

Closing as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

10 participants