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
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