foolwood / SiamMask

[CVPR2019] Fast Online Object Tracking and Segmentation: A Unifying Approach
http://www.robots.ox.ac.uk/~qwang/SiamMask
MIT License
3.46k stars 816 forks source link

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

Open skh0619 opened 4 years ago

skh0619 commented 4 years ago

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

way790110 commented 4 years ago

same problem

zzzmm1 commented 4 years ago

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

khai9xht commented 3 years ago

I also have same problem. Do you fix this ?

shlsp commented 3 years ago

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