onnx2torch
onnx2torch copied to clipboard
NotImplementedError: Converter is not implemented (OperationDescription(domain='', operation_type='Loop', version=13))
Traceback (most recent call last):
File "issue_onnx2torch_002.py", line 15, in
run the below codes to reproduce the above issue:
import numpy as np import torch from onnx2torch import convert
def _init_input(input_shape): input_shape = list(input_shape) input_shape[0] = 10 input_shape = tuple(input_shape) input = np.random.rand(*input_shape) return input
onnx_model_path = "lstm0-sinewave_origin.onnx" torch_model = convert(onnx_model_path)