请问出现 import “onnx” coule not be resolved和import “onnxsim” coule not be resolved应该怎么解决
望采纳。看起来像是你没有正确完整安装ONNX。
你可以使用以下命令来安装 ONNX 库:
pip install onnx
此外,还要确保安装了 ONNX 的依赖库,包括 protobuf、numpy 和 google-auth。可以使用以下命令来安装这些依赖库:
pip install protobuf numpy google-auth