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
I was trying to move from torch model to onnx, using the file: tools/deployment/pytorch2onnx.py on the 2.x branch. And when executing the .py I get an error message:
'RuntimeError: roi_width >= 0 && roi_height >= 0INTERNAL ASSERT FAILED at “/tmp/pip-install-zn4dgnxr/mmcv-full/mmcv/ops/csrc/pytorch/cpu/roi_align.cpp”:138, please report a bug to PyTorch. ROIs in ROIAlign cannot have non-negative size; the problem was this'.
I have seen in the issues that it is a quite common error when you try to switch from torch to onn using a mask_rcnn, any solution?
Thank you so much.
The text was updated successfully, but these errors were encountered:
Hello ,
I was trying to move from torch model to onnx, using the file: tools/deployment/pytorch2onnx.py on the 2.x branch. And when executing the .py I get an error message:
'RuntimeError: roi_width >= 0 && roi_height >= 0INTERNAL ASSERT FAILED at “/tmp/pip-install-zn4dgnxr/mmcv-full/mmcv/ops/csrc/pytorch/cpu/roi_align.cpp”:138, please report a bug to PyTorch. ROIs in ROIAlign cannot have non-negative size; the problem was this'.
I have seen in the issues that it is a quite common error when you try to switch from torch to onn using a mask_rcnn, any solution?
Thank you so much.
The text was updated successfully, but these errors were encountered: