ScanSSD icon indicating copy to clipboard operation
ScanSSD copied to clipboard

RuntimeError: shape '[8, 38227, 2]' is invalid for input of size 734832

Open rakshit-ce opened this issue 5 years ago • 3 comments

I'm getting this error when following the steps outlined in the README.md file for testing pre-trained model weights on testing_data.

rakshit-ce avatar May 13 '20 09:05 rakshit-ce

Did you find a solution for this? Facing the same error.

TanayKarve avatar Aug 24 '20 06:08 TanayKarve

self.num_classes).transpose(2, 1) RuntimeError: shape '[2, 38227, 2]' is invalid for input of size 183708 Did you find a solution for this? Facing the same error.

sadik1111 avatar Apr 22 '21 07:04 sadik1111

The padding in the LOC and CONF layers of multibox architecture causes the above error. Specifying padding to (0,2) solved the issue for me.

NischlMhrzn avatar Apr 19 '22 06:04 NischlMhrzn