RuntimeError: Exporting the operator cdist to ONNX opset version 9 is not supported

Viewed 700

I want to convert Prototypical Networks for Few-shot Learning to onnx. Export onnx:

torch.onnx.export(model,(example_query_images, example_query_labels, x_pred), "super_resolution.onnx")

And it raise error 'RuntimeError: Exporting the operator cdist to ONNX opset version 9 is not supported. Please feel free to request support or submit a pull request on PyTorch GitHub.'

0 Answers
Related