I am trying to convert PyTorch model to CorML using coremltools. But I get an error
AttributeError: ‘torch._C.Graph’ object has no attribute ‘1’
Also, I get a warning:
Support for converting Torch Script Models is experimental. If possible you should use a traced model for conversion.
So, I thought it may be beneficial to use actually traced model. But I don’t have access to the original torch model. Only the scripted one. Can I convert it to traced one?