1 . AttributeError: module ‘onnxruntime‘ has no attribute ‘InferenceSession‘
解决方法
- FAIL : Non-zero status code returned while running Add node.
尝试过很多方法,发现最终是环境问题,重新安装环境即可,注意cuda版本和onnxruntime的对应关系
我是使用镜像https://hub.docker.com/r/anubisdockerhub/cuda11.0-cudnn8启动容器,再安装1.8版本的onnxruntime-gpu解决该问题的



