c# - Does CNTK C# API support ConvTranspose?
问题描述
I have a custom dnn model that I have defined and trained in PyTorch that I am trying to deploy in an application written in C# via ONNX.
When I load the model I have the following error:
After some testing, I have found that this only happens when I add the upsampling side of the network (which uses transposed convolution) back in.
The Python API pages here show a convolution_transpose
function but I cannot find one in the C# API.
Thanks!
解决方案
您可能需要更新您的 CNTK,新版本 (2.6) 已于几天前推出,在发行说明中描述了对 ONNX 的更新:
对 ConvolutionTranspose 导出和导入进行大修。> 完全支持 output_shape、output_padding 和 pads 等属性。
推荐阅读
- ffmpeg - 为什么我不能在 Linux 上将 MJPEG 流从网络摄像头复制到 V4L2 环回设备?
- reactjs - React onClick 自定义函数
- html - 使用 itext 7 创建由多个页面组成的 PDf
- html - 通过在网站上填写表格(带按钮)来抓取网页?(背心)
- sql - 如何使用动态 SQL / 脚本在具有未知日期范围的 BigQuery 中进行旋转
- c++ - CMake:找不到生成的标头,但我将其添加到库中
- python - 点安装聊天机器人
- python - 使用 Beautiful Soup Python 的 Web 刮表:组织表?
- jenkins - Jenkins 发布者 postBuildScripts 不起作用
- c++ - 类保护区命名空间实验