kuangliu / pytorch-retinanet

RetinaNet in PyTorch
992 stars 250 forks source link

test.py问题 #67

Open WHG555 opened 5 years ago

WHG555 commented 5 years ago

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