pytorch转onnx报错
RuntimeError: Failed to export an ONNX attribute, since it’s not constant, please try to make things (e.g., kernel size) static if possible
解决方案
将pytorch转到1.0.1版本解决了。
pytorch转onnx报错
RuntimeError: Failed to export an ONNX attribute, since it’s not constant, please try to make things (e.g., kernel size) static if possible
解决方案
将pytorch转到1.0.1版本解决了。