Closed AP-Kai closed 2 years ago
Not much I can do about it. It's an issue with PyTorch and ONNX, see here: https://github.com/pytorch/pytorch/issues/25088
A workaround is to replace the max_unpool layers with transposed convolutions layers; at the cost of more parameters.
RuntimeError: Exporting the operator max_unpool2d to ONNX opset version 11 is not supported. Please feel free to request support or submit a pull request on PyTorch GitHub. 解决方案:将max_unpool2d 操作改为 nn.ConvTranspose2d操作 ———————————————— 原文链接:https://blog.csdn.net/qq_41375318/article/details/127287645
Hi, when I trained a cityscapes model and I want to change it to onnx, a error occured. I can't solve this problem by myself.
This is the error:
This is my environment:
Could you give me some advice to solve this problem?