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

Unable to successfully convert retinanet R50 #185

Open
NTUTshaofong opened this issue Nov 6, 2023 · 1 comment
Open

Unable to successfully convert retinanet R50 #185

NTUTshaofong opened this issue Nov 6, 2023 · 1 comment

Comments

@NTUTshaofong
Copy link

Traceback (most recent call last):
File "/home/li/testcode/tool2/convert_dataloader.py", line 490, in
fp_model = copy.deepcopy(convert(onnx_model).to(device))

File "/home/li/.local/lib/python3.6/site-packages/onnx2torch/converter.py", line 107, in convert
version=version,
File "/home/li/.local/lib/python3.6/site-packages/onnx2torch/node_converters/registry.py", line 69, in get_converter
raise NotImplementedError(f'Converter is not implemented ({description})')
NotImplementedError: Converter is not implemented (OperationDescription(domain='', operation_type='NonZero', version=13))

I tried changing the opset but apparently it doesn't support non-zero operators. Can you tell me the details of the method the authors originally tested ? thanks

@andreysher
Copy link
Contributor

Hi @NTUTshaofong, we test convertion on the model retinanet_r50_fpn from the MMDetection framework. You can find it in our tests. You can also download our ONNX by the following link.

Can you please provide the details about your checkpoint?

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