FairMOT icon indicating copy to clipboard operation
FairMOT copied to clipboard

keyerror --hrnet

Open jigongbao opened this issue 3 years ago • 2 comments

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

jigongbao avatar Dec 17 '21 07:12 jigongbao

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

yufanxin avatar Mar 23 '22 13:03 yufanxin

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

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

SmallGGgg avatar Mar 11 '24 08:03 SmallGGgg