levyfan / reid-mgn

Reproduction of paper: Learning Discriminative Features with Multiple Granularities for Person Re-Identification
MIT License
153 stars 50 forks source link

TypeError: 'float' object cannot be interpreted as an integer #10

Closed Adhders closed 5 years ago

Adhders commented 5 years ago

python3.6 pytorch 1.1 ,when run mgn.py get error

levyfan commented 5 years ago

I only test this code on python 2.7 and pytorch 0.4. You should debug by yourself if something went wrong in different environments.