Attribute errors when training model #2839
Unanswered
CopyCatThe
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi, whenever i try to use fast dreambooth to train a new model, everything goes fine, until i download my model, and when i try to use it on my computer with automatic 1111, the cmd screen gives me this error:
changing setting sd_model_checkpoint to LinketteMine.ckpt [634762bdf3]: AttributeError
Traceback (most recent call last):
File "C:\StableDiffusion\stable-diffusion-webui\modules\options.py", line 140, in set
option.onchange()
File "C:\StableDiffusion\stable-diffusion-webui\modules\call_queue.py", line 13, in f
res = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\StableDiffusion\stable-diffusion-webui\modules\initialize_util.py", line 170, in
shared.opts.onchange("sd_model_checkpoint", wrap_queued_call(lambda: sd_models.reload_model_weights()), call=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\StableDiffusion\stable-diffusion-webui\modules\sd_models.py", line 741, in reload_model_weights
state_dict = get_checkpoint_state_dict(checkpoint_info, timer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\StableDiffusion\stable-diffusion-webui\modules\sd_models.py", line 315, in get_checkpoint_state_dict
res = read_state_dict(checkpoint_info.filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\StableDiffusion\stable-diffusion-webui\modules\sd_models.py", line 301, in read_state_dict
sd = get_state_dict_from_checkpoint(pl_sd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\StableDiffusion\stable-diffusion-webui\modules\sd_models.py", line 245, in get_state_dict_from_checkpoint
pl_sd = pl_sd.pop("state_dict", pl_sd)
^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'pop'
I'm kind of new trying to undertand about AI's and how to train models, so i started training with this, the error shows whenever i try to load the model. I have made several trys with different images the most common image all are called "1nkzeld ([number]).jpg"
Can u please help me to orientate i have tried to follow several tutorials in you tube, the problem is that i dont find one with the last version of the notebook i see here that i am trying to use, so i am not sure if i am missing something.
Hope some one can help. Thx
Beta Was this translation helpful? Give feedback.
All reactions