onnx / tutorials

Tutorials for creating and using ONNX models
Apache License 2.0
3.39k stars 629 forks source link

RuntimeError: ONNX export failed: Couldn't export Python operator CrossMapLRN2d #239

Open SincereJoy opened 3 years ago

SincereJoy commented 3 years ago

RuntimeError: ONNX export failed: Couldn't export Python operator CrossMapLRN2d

Question

I was trying to convert a pytorch .pth file to an onnx file. There're two CrossMapLRN2d layers in my model. And I got this runtime error: ONNX export failed: Couldn't export Python operator CrossMapLRN2d. What should I do to solve this problem?