YOLOV3剪枝项目出现“could not find or load the Qt platform plugin xcb”

YOLOV3剪枝项目出现“could not find or load the Qt platform plugin “xcb””

配置环境运行剪枝项目:https://github.com/tanluren/yolov3-channel-and-layer-pruning

问题:配置好环境后运行量化剪枝项目训练OK,测试时出现: This application failed to start because it could not find or load the Qt platform plugin "xcb"问题

YOLOV3剪枝项目出现“could not find or load the Qt platform plugin xcb”_第1张图片

解决方法:将plugins路径添加到环境变量中,

export QT_PLUGIN_PATH=/home/**/anaconda3/envs/pytorch1.1/plugins

你可能感兴趣的:(目标检测/目标识别)