Cysu / open-reid

Open source person re-identification library in python
https://cysu.github.io/open-reid/
MIT License
1.34k stars 349 forks source link

Oim Loss with 'NAN' problem #98

Open JIaqiYang78 opened 3 years ago

JIaqiYang78 commented 3 years ago

When I use Oim Loss to train the model, In the fisrt several iterations, loss performs normally and reduce with the epoch increasing. But the loss suddenly became to 'NAN' and in the next iterations it was always 'NAN'. I check the data input and there is not 'nan' input. So, is this problem related to your Oim Loss method? Does anybody else meet this problem? I have run other two loss methods and they performed normally.