Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Typo in openpose #51

Open
eastchun opened this issue Oct 21, 2024 · 0 comments
Open

Typo in openpose #51

eastchun opened this issue Oct 21, 2024 · 0 comments

Comments

@eastchun
Copy link

eastchun commented Oct 21, 2024

/model_lib/ControlNet/annotator/openpose/model.py:

Line 32 needs to be changed:

From)
'Mconv7_stage5_L2', 'Mconv7_stage6_L1', 'Mconv7_stage6_L1']
To)
'Mconv7_stage5_L2', 'Mconv7_stage6_L1', 'Mconv7_stage6_L2']

24 class bodypose_model(nn.Module):
25     def __init__(self):
26        super(bodypose_model, self).__init__()
27
28        # these layers have no relu layer
29        no_relu_layers = ['conv5_5_CPM_L1', 'conv5_5_CPM_L2', 'Mconv7_stage2_L1',\
30                          'Mconv7_stage2_L2', 'Mconv7_stage3_L1', 'Mconv7_stage3_L2',\
31                          'Mconv7_stage4_L1', 'Mconv7_stage4_L2', 'Mconv7_stage5_L1',\
32                          'Mconv7_stage5_L2', 'Mconv7_stage6_L1', **'Mconv7_stage6_L1'**]
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant