ENOT-AutoDL / onnx2torch

Convert ONNX models to PyTorch.
Apache License 2.0
587 stars 69 forks source link

Failed to convert SSDLite with MobileNetV2 backbone #180

Open boyang9602 opened 11 months ago

boyang9602 commented 11 months ago

Hi,

I am trying to convert this SSDLite model to pytorch but failed. The link to the onnx file is https://drive.google.com/uc?id=1USFDPRH9JrVdGoqt27qHjRgittwc0kcO. The error message is

>>> ssd = convert(onnxmodel)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/bo/miniconda3/envs/yolox/lib/python3.10/site-packages/onnx2torch/converter.py", line 104, in convert
    converter = get_converter(
  File "/home/bo/miniconda3/envs/yolox/lib/python3.10/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='Slice', version=1))