StrangerZhang / SiamFC-PyTorch

SiamFC PyTorch
MIT License
232 stars 63 forks source link

请问这个问题怎么解决 #22

Open shenwenxiao opened 5 years ago

shenwenxiao commented 5 years ago

您好,在运行您的代码的时候,出现了如下错误: File "/home/wenxiao/code/siamfc/SiamFC-PyTorch/siamfc/alexnet.py", line 77, in forward score = F.conv2d(instance, self.exemplar, groups=4) RuntimeError: Given groups=4, expected weight to be at least 4 at dimension 0, but got weight of size 3 256 6 6 instead 请问如何解决呢?

shenwenxiao commented 5 years ago

模型是按照您的提示下载转换的,这个问题是什么原因呢?