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

Line 1112 ~ 1114 in model_lib/ControlNet/cldm/cldm.py #44

Open
eastchun opened this issue Aug 25, 2024 · 0 comments
Open

Line 1112 ~ 1114 in model_lib/ControlNet/cldm/cldm.py #44

eastchun opened this issue Aug 25, 2024 · 0 comments

Comments

@eastchun
Copy link

eastchun commented Aug 25, 2024

When running the inference_tiktok_dataset.sh script, pose_control_model (i.e., ControlNet) is running unnecessarily (in line 1112 ~ 1114 in cldm.py) for computing model_uncod.

When uc==False, ControlNetReferenceOnly --> ControlNet (pose_control_model) --> ControlledUnetModelAttnPose (OK)

When uc==True, ContorlNet (pose_control_model) (???) --> ControlledUnetModelAttnPose

For computing unconditional model output (model_uncond), ControlledUnetModelPoseAttn doesn't use pose_control output from the pose_control_model, and I don't understand why pose_control_model is running in advance with no purpose.

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

1 participant