Skip to content

Conversation

@mymusise
Copy link

Fix error when dets is None:

  File "/home/ubuntu/DWPose/ControlNet-v1-1-nightly/annotator/dwpose/onnxdet.py", line 123, in inference_detector
    return final_boxes
UnboundLocalError: local variable 'final_boxes' referenced before assignment

Signed-off-by: mymusise <[email protected]>
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

Successfully merging this pull request may close these issues.

1 participant