ifzhang / FairMOT

[IJCV-2021] FairMOT: On the Fairness of Detection and Re-Identification in Multi-Object Tracking
MIT License
3.96k stars 931 forks source link

keyerror --hrnet #481

Open jigongbao opened 2 years ago

jigongbao commented 2 years ago

Thanks for your code! @ifzhang when i use the pretrained model hrnetv2_w18_imagenet_pretrained.pth or w32 and change the arch into hrnet_18 for training, it will show the error KeyError: 'epoch' 'state_dict', it seems that the pretrained model havs no corresponding cheekpoint. but when i change the --load model into ' ' and keep the arch 'hrnet_18',it seems to have worked and it shows that i was using hrnetv2_w18_imagenet_pretrained.pth. So if there an illegal training is under way。 image

yufanxin commented 2 years ago

i have same error,it is maybe wrong pretrained model.

SmallGGgg commented 4 months ago

i have same error,it is maybe wrong pretrained model.

I am facing the same error, did you solve it ?