pytorch-retinanet icon indicating copy to clipboard operation
pytorch-retinanet copied to clipboard

test.py问题

Open WHG555 opened this issue 5 years ago • 0 comments

DataEncoder init File "G:\python\Smile\Smile\activation\encoder.py", line 117, in decode anchor_boxes = self._get_anchor_boxes(input_size) File "G:\python\Smile\Smile\activation\encoder.py", line 57, in _get_anchor_boxes xy = (xy*grid_size).view(fm_h,fm_w,1,2).expand(fm_h,fm_w,9,2) RuntimeError: shape '[75, 75, 1, 2]' is invalid for input of size 11400

使用测试程序,出现这个问题

i make test.py, but it have a program

WHG555 avatar Aug 28 '19 08:08 WHG555