SiamMask icon indicating copy to clipboard operation
SiamMask copied to clipboard

RuntimeError: The size of tensor a (3750) must match the size of tensor b (1734) at non-singleton dimension 0

Open skh0619 opened this issue 5 years ago • 4 comments

File "/home/kihong/mountHard/ksonTrack/SiamMask-master/experiments/siammask_sharp/custom.py", line 150, in forward out = self.post0(F.upsample(self.h2(out) + self.v2(p2), size=(31, 31))) RuntimeError: The size of tensor a (3750) must match the size of tensor b (1734) at non-singleton dimension 0

/SiamMask-master/experiments/siammask_sharp$ bash run.sh checkpoint_e9.pth When I tried with my own data set, I got this issue

skh0619 avatar Dec 02 '19 07:12 skh0619

same problem

way790110 avatar Dec 16 '19 07:12 way790110

RuntimeError: The size of tensor a (10000) must match the size of tensor b (4624) at non-singleton dimension 0 similar problem

zzzmm1 avatar Mar 21 '20 11:03 zzzmm1

I also have same problem. Do you fix this ?

khai9xht avatar Nov 07 '20 08:11 khai9xht

I also have same problem. Do you solve this problem?

shlsp avatar Mar 30 '21 09:03 shlsp