Hi
I am trying to convert ESPNet (PyTorch as a backend) model into ONNX, but I’m getting error i.e.
TypeError: forward() missing 2 required positional arguments: 'ilens' and 'ys_pad'
I am using this code for conversion.
# Export the trained model to ONNX dummy_input = Variable(torch.randn(83,320)) # [83,320] will be the input to the model torch.onnx.export(model, dummy_input, "model.onnx")
Thanks