-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
导出onnx报错 Couldn't export Python operator _ModulatedDeformConv #36
Comments
运行 centerX2pt.py 也不行 |
这是因为deformconv的原因,它不是一个常规的卷积层,各大平台对deform的支持也不够好。 |
USE_DEFORM设置为False重新训练,导出onnx出现了另外一个错误,网上搜索找不到解决办法~
还有个新手问题`~~看到有导出onnx,caffe和pt的脚本,但没看见导出TensorRT的,请问要怎样转化为TensorRT文件? |
尝试一下用 pip install onnxruntime-gpu 呢。 |
终于可以了原来默认安装的onnx 1.9.0版本太新,需要指定旧版 |
好滴 谢谢反馈 |
兄弟,你后来装的是哪个版本的onnx解决的这个问题呀?谢谢! |
@PiPiNam 1.8.0的版本应该可以 |
成功训练了模型,但运行"projects/speedup/centerX2onnx.py"导出 onnx 报错
"RuntimeError: ONNX export failed: Couldn't export Python operator _ModulatedDeformConv"
请问是什么导致?
The text was updated successfully, but these errors were encountered: