- tensorflow和python的版本冲突
pycharm运行时出现正确结果但是屏幕上会显示
Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
解决办法:开头加上
import os
os.environ[‘TF_CPP_MIN_LOG_LEVEL’] = ‘2’ - 安装cv2包
pip安装和升级我也有写博客哦,在pip安装opencv的时候可能会遇到
pip install cv2
Collecting cv2
Could not find a version that satisfies the requirement cv2 (from versions: )
No matching distribution found for cv2
哈哈,其实是名称打错了,换成opencv-python试试
tensorflow和opencv小麻烦
最新推荐文章于 2024-03-11 15:50:56 发布