HRNet / HigherHRNet-Human-Pose-Estimation

This is an official implementation of our CVPR 2020 paper "HigherHRNet: Scale-Aware Representation Learning for Bottom-Up Human Pose Estimation" (https://arxiv.org/abs/1908.10357)
MIT License
1.35k stars 272 forks source link

Pytorch >= 1.6.0 Runtime error #69

Closed HoBeom closed 3 years ago

HoBeom commented 4 years ago

RuntimeError: Integer division of tensors using div or / is no longer supported, and in a future release div will perform true division as in Python 3. Use true_divide or floor_divide (// in Python) instead.

https://github.com/HRNet/HigherHRNet-Human-Pose-Estimation/blob/f97496fdaa5365ee33d44c7872da21375fb1a39c/lib/core/group.py#L165

edit to

y = (ind // w).long()