You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been training some custom LoRAs to use in a tool I am trying to design and when I load the LoRA it fails. I have been running them with A1111 just fine, but I'm not sure if I need to do something special for the diffusers library.
Invalid source /obj/geo1/sd_solver1/solver
Error: Python error: Traceback (most recent call last):
File "", line 52, in
File "C:\Users/User/MLOPs/scripts/python\sdpipeline\image_solve.py", line 50, in run
unet.load_attn_procs(
File "C:\Users\User\MLOPs\data\dependencies\python\diffusers\loaders.py", line 364, in load_attn_procs
attn_processor = getattr(attn_processor, sub_key)
File "C:\Users\User\MLOPs\data\dependencies\python\diffusers\models\modeling_utils.py", line 186, in getattr
return super().getattr(name)
File "C:\Users\User\MLOPs\data\dependencies\python\torch\nn\modules\module.py", line 1614, in getattr
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'UNet2DConditionModel' object has no attribute ''
.
The text was updated successfully, but these errors were encountered:
I have been training some custom LoRAs to use in a tool I am trying to design and when I load the LoRA it fails. I have been running them with A1111 just fine, but I'm not sure if I need to do something special for the diffusers library.
Invalid source /obj/geo1/sd_solver1/solver
Error: Python error: Traceback (most recent call last):
File "", line 52, in
File "C:\Users/User/MLOPs/scripts/python\sdpipeline\image_solve.py", line 50, in run
unet.load_attn_procs(
File "C:\Users\User\MLOPs\data\dependencies\python\diffusers\loaders.py", line 364, in load_attn_procs
attn_processor = getattr(attn_processor, sub_key)
File "C:\Users\User\MLOPs\data\dependencies\python\diffusers\models\modeling_utils.py", line 186, in getattr
return super().getattr(name)
File "C:\Users\User\MLOPs\data\dependencies\python\torch\nn\modules\module.py", line 1614, in getattr
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'UNet2DConditionModel' object has no attribute ''
.
The text was updated successfully, but these errors were encountered: