MagicDance icon indicating copy to clipboard operation
MagicDance copied to clipboard

Typo in openpose

Open eastchun opened this issue 1 year ago • 0 comments

/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'**]

eastchun avatar Oct 21 '24 04:10 eastchun