RuntimeError: Exporting the operator max_unpool2d to ONNX opset version 11 is not supported. Please

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操作

你可能感兴趣的:(pytorch,人工智能,python)