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
File "/home/anthony/work/third/stable-diffusion-good/sd2/CameraCtrl/inference.py", line 315, in
main(args)
File "/home/anthony/work/third/stable-diffusion-good/sd2/CameraCtrl/inference.py", line 200, in main
pipeline = get_pipeline(args.ori_model_path, args.unet_subfolder, args.image_lora_rank, args.image_lora_ckpt,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/anthony/work/third/stable-diffusion-good/sd2/CameraCtrl/inference.py", line 131, in get_pipeline
unet = UNet3DConditionModelPoseCond.from_pretrained_2d(ori_model_path, subfolder=unet_subfolder,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/anthony/work/third/stable-diffusion-good/sd2/CameraCtrl/cameractrl/models/unet.py", line 805, in from_pretrained_2d
model, unused_kwargs = cls.from_config(config, return_unused_kwargs=True, **unet_additional_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/anthony/miniconda3/envs/p12/lib/python3.11/site-packages/diffusers/configuration_utils.py", line 259, in from_config
model = cls(**init_dict)
^^^^^^^^^^^^^^^^
File "/home/anthony/work/third/stable-diffusion-good/sd2/CameraCtrl/cameractrl/models/unet.py", line 894, in init
super(UNet3DConditionModelPoseCond, self).init(**kwargs)
File "/home/anthony/miniconda3/envs/p12/lib/python3.11/site-packages/diffusers/configuration_utils.py", line 653, in inner_init
init(self, *args, **init_kwargs)
File "/home/anthony/work/third/stable-diffusion-good/sd2/CameraCtrl/cameractrl/models/unet.py", line 221, in init
raise ValueError(f"unknown mid_block_type : {mid_block_type}")
ValueError: unknown mid_block_type : UNetMidBlock2DCrossAttn
The text was updated successfully, but these errors were encountered:
File "/home/anthony/work/third/stable-diffusion-good/sd2/CameraCtrl/inference.py", line 315, in
main(args)
File "/home/anthony/work/third/stable-diffusion-good/sd2/CameraCtrl/inference.py", line 200, in main
pipeline = get_pipeline(args.ori_model_path, args.unet_subfolder, args.image_lora_rank, args.image_lora_ckpt,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/anthony/work/third/stable-diffusion-good/sd2/CameraCtrl/inference.py", line 131, in get_pipeline
unet = UNet3DConditionModelPoseCond.from_pretrained_2d(ori_model_path, subfolder=unet_subfolder,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/anthony/work/third/stable-diffusion-good/sd2/CameraCtrl/cameractrl/models/unet.py", line 805, in from_pretrained_2d
model, unused_kwargs = cls.from_config(config, return_unused_kwargs=True, **unet_additional_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/anthony/miniconda3/envs/p12/lib/python3.11/site-packages/diffusers/configuration_utils.py", line 259, in from_config
model = cls(**init_dict)
^^^^^^^^^^^^^^^^
File "/home/anthony/work/third/stable-diffusion-good/sd2/CameraCtrl/cameractrl/models/unet.py", line 894, in init
super(UNet3DConditionModelPoseCond, self).init(**kwargs)
File "/home/anthony/miniconda3/envs/p12/lib/python3.11/site-packages/diffusers/configuration_utils.py", line 653, in inner_init
init(self, *args, **init_kwargs)
File "/home/anthony/work/third/stable-diffusion-good/sd2/CameraCtrl/cameractrl/models/unet.py", line 221, in init
raise ValueError(f"unknown mid_block_type : {mid_block_type}")
ValueError: unknown mid_block_type : UNetMidBlock2DCrossAttn
The text was updated successfully, but these errors were encountered: