其他分享
首页 > 其他分享> > tensorflow object detection ImportError: Matplotlib qt-based backends require an external PyQt4,PyQt

tensorflow object detection ImportError: Matplotlib qt-based backends require an external PyQt4,PyQt

作者:互联网

问题:
在把ckpt 文件转成pb 文件时候,Matplotlib qt-based backends require an external PyQt4,PyQt5 PySide PySide2 to be installed but not found
解决方法:
sudo gedit /root/anaconda3/envs/tensorflow/lib/python3.6/site-packages/object_detection-0.1-py3.6.egg/object_detection/utils/visualization_utils.py
在这里插入图片描述
原来是matplotlib.use(‘QT5Agg’)
更改成如上就OK了

标签:based,qt,utils,object,PyQt,PyQt4,detection,Matplotlib
来源: https://blog.csdn.net/lswdecsdn/article/details/115177312