ohhhyeahhh / SiamCAR

SiamCAR: Siamese Fully Convolutional Classification and Regression for Visual Tracking (CVPR 2020, Oral)
https://openaccess.thecvf.com/content_CVPR_2020/html/Guo_SiamCAR_Siamese_Fully_Convolutional_Classification_and_Regression_for_Visual_Tracking_CVPR_2020_paper.html
322 stars 63 forks source link

训练问题 #85

Open jing941 opened 2 years ago

jing941 commented 2 years ago

你好,我单独使用coco数据集进行训练,出现如下错误是什么原因 Traceback (most recent call last): File "/home/s/ymt/Siam-car/yuanCAR/SiamCAR-master/tools/train.py", line 315, in main() File "/home/s/ymt/Siam-car/yuanCAR/SiamCAR-master/tools/train.py", line 288, in main train_loader = build_data_loader() File "/home/s/ymt/Siam-car/yuanCAR/SiamCAR-master/tools/train.py", line 61, in build_data_loader train_dataset = TrkDataset() File "/home/s/ymt/Siam-car/yuanCAR/SiamCAR-master/pysot/datasets/dataset.py", line 159, in init start File "/home/s/ymt/Siam-car/yuanCAR/SiamCAR-master/pysot/datasets/dataset.py", line 44, in init meta_data = self._filter_zero(meta_data) File "/home/s/ymt/Siam-car/yuanCAR/SiamCAR-master/pysot/datasets/dataset.py", line 76, in _filter_zero for frm, bbox in frames.items(): AttributeError: 'str' object has no attribute 'items' 期待您的回信,谢谢!

sai-fu commented 2 years ago

should convert data type

sai-fu commented 2 years ago

hello ,I use the got10k dataset to train alone, and the following error occurs File "D:\parcharm_pro\SiamCAR-master\pysot\utils\model_load.py", line 59, in load_pretrain check_keys(model, pretrained_dict) File "D:\parcharm_pro\SiamCAR-master\pysot\utils\model_load.py", line 35, in check_keys 'load NONE from pretrained checkpoint' AssertionError: load NONE from pretrained checkpoint

jing941 commented 2 years ago

Maybe the path to the pre-trained model could not be found

chenxlin222 commented 2 years ago

您好,请问如果单独用got-10k数据集训练的话,__C.DATASET.GOT.NUM_USE (100000), C.DATASET.VIDEOS_PER_EPOCH (600000),还有C.TRAIN.EPOCH (20),这些参数有改变吗?应该改成多少比较合适呢?