Debugging ONNX Export 'Operator Not Supported' Errors

I get an OperatorNotSupported error when trying to do torch.onnx.export.

It was complaining about aten::dict, so I replaced all the dictionary references I could find.

But I still see the same error, and I don’t know where exactly the offending dictionaries are…

torch.jit.trace(model,image) doesn’t refer to aten or dict either.

OK, I found the verbose flag for the torch.onnx.export function - this should keep me busy for a while!