ImportError: cannot import name ‘get_all_providers‘ from ‘onnxruntime.capi._pybind_state‘

debug备份

场景:pth转onnx遇到此问题

环境

onnx                      1.8.0
onnxruntime-gpu           1.6.0
cuda 11.1

问题:cuda版本不对

尝试解决办法

conda install cudatoolkit=10.2.89

成功解决!

你可能感兴趣的:(Debug,深度学习)