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

hi ,when I run, #2

Open
anthonyyuan opened this issue Apr 3, 2024 · 1 comment
Open

hi ,when I run, #2

anthonyyuan opened this issue Apr 3, 2024 · 1 comment

Comments

@anthonyyuan
Copy link

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

@xinchengshuai
Copy link

the same question

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants