cd src python demo.py mot --load_model ../models/fairmot_dla34.pth --conf_thres 0.4
然而 我下载了这么多的权重文件,其实能用的只有一个
预训练文件
可能是代码更新了,不管使用哪个文件都会报错,而且不少文件的链接已经失效了
1 2 3 4 5 6 7 8 9 10 11
Fix size testing. training chunk_sizes: [3, 3] The output will be saved to /home/vip/anaconda3/envs/NXH/FairMOT-master/src/lib/../../exp/mot/default heads {'hm': 1, 'wh': 4, 'id': 128, 'reg': 2} 2023-11-23 11:12:12 [INFO]: Starting tracking... Lenth of the video: 1500 frames Creating model... => loading pretrained model ../models/hrnetv2_w18_imagenet_pretrained.pth loaded ../models/all_hrnet_v2_w18.pth, epoch 60 Drop parameter last_layer.0.weight.If you see this, your model does not fully load the pre-trained weight. Please make sure you have correctly specified --arch xxx or set the correct --num_classes for your own dataset. Drop parameter last_layer.0.bias.If you see this, your model does not fully load the pre-trained weight. Please make sure you have correctly specified --arch xxx or set the correct --num_classes for your own dataset.