leoxiaobin / deep-high-resolution-net.pytorch

The project is an official implementation of our CVPR2019 paper "Deep High-Resolution Representation Learning for Human Pose Estimation"
https://jingdongwang2017.github.io/Projects/HRNet/PoseEstimation.html
MIT License
4.31k stars 908 forks source link

fix terminate condition in while loop in main() #258

Open kttaroha opened 3 years ago

kttaroha commented 3 years ago

Hello. I modified main() in demo/inference.py.

[Description] While loop in main() does not terminate after the last frame of the video. I modified if condition so that while loop terminates after making an inference for the last frame of the video.

Thank you.