mks0601 / 3DMPPE_ROOTNET_RELEASE

Official PyTorch implementation of "Camera Distance-aware Top-down Approach for 3D Multi-person Pose Estimation from a Single RGB Image", ICCV 2019
MIT License
477 stars 65 forks source link

UnboundLocalError: local variable 'bbox' referenced before assignment #15

Closed banana16314 closed 4 years ago

banana16314 commented 4 years ago

https://github.com/mks0601/3DMPPE_ROOTNET_RELEASE/blob/4202715d7ef27f0ed3edca887ecaadc4e3fcf9c4/data/MPII/MPII.py#L37

Hey, man, there is a small mistake. bbox shall be ann['bbox'] as the POSENET _bbox = processbbox(ann['bbox'], width, height)

mks0601 commented 4 years ago

I fixed it . Thanks!