Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running mask_rcnn . #11674

Open
guisolsan opened this issue Apr 29, 2024 · 0 comments
Open

Error running mask_rcnn . #11674

guisolsan opened this issue Apr 29, 2024 · 0 comments
Assignees

Comments

@guisolsan
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants