pip install onnx==1.7.0 -i https://pypi.tuna.tsinghua.edu.cn/simple/ 其实这一步已经可以了。。 pip install coremltools YOLOv5的pytorch模型文件转换为ONNX文件