You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run convert_onnx.py , I get the warning TracerWarning: Converting a tensor to a Python integer might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs! route = F.interpolate(xRt3, size=(int(xRt3.shape[2] * 2), int(xRt3.shape[3] * 2)), mode='nearest')
#3
Open
xuwei1119 opened this issue
Jan 22, 2021
· 1 comment
Then when I infer the *.onnx by above, I get :
cannot reshape array of size 1632000 into shape (1,3,6,80,80)
cannot reshape array of size 408000 into shape (1,3,6,40,40)
cannot reshape array of size 102000 into shape (1,3,6,20,20)
Use YOLOV5 v3.1 yolov5s.pt file.
The text was updated successfully, but these errors were encountered:
Then when I infer the *.onnx by above, I get :
cannot reshape array of size 1632000 into shape (1,3,6,80,80)
cannot reshape array of size 408000 into shape (1,3,6,40,40)
cannot reshape array of size 102000 into shape (1,3,6,20,20)
Use YOLOV5 v3.1 yolov5s.pt file.
Then when I infer the *.onnx by above, I get :
cannot reshape array of size 1632000 into shape (1,3,6,80,80)
cannot reshape array of size 408000 into shape (1,3,6,40,40)
cannot reshape array of size 102000 into shape (1,3,6,20,20)
Use YOLOV5 v3.1 yolov5s.pt file.
The text was updated successfully, but these errors were encountered: