Quan-w
Quan-w
学长data是字典,您在forwad里对data.size(1)判断然后就报错了,dict没有data属性 def forward(self, data): # if data.size(1)!=3 and data.size(0)!=1: template = data['template'].cuda() search = data['search'].cuda() label_cls = data['label_cls'].cuda() label_loc = data['bbox'].cuda() 将if和下面的else注释掉可正常运行
我运行my_eval的时候如果那个e.run是注释掉的话他会报错说找不到GOT-10K_Val_0000001,去掉注释能正常运行,我看学长你B站的演示视频里面也是注释掉的但是可以正常运行不知道为什么。 运行my_test的时候会报错在训完180个后 --Sequence 180/180: GOT-10k_Test_000180 Repetition: 1 Found results, skipping GOT-10k_Test_000180 Records saved at ../SiamFC.zip Login and follow instructions on http://got-10k.aitestunion.com/submit_instructions to upload and evaluate your tracking results Traceback (most...
During the training, I am getting this error, but if it is inference then there is no problem. File "F:\transformer\CSWinTT\lib\train\../..\lib\models\cswintt\transformer_cs.py", line 256, in forward _query, _key, _value = self.qkv_embedding(merge_feat).chunk(3, dim=-1)