weixin_45075999 2023-09-20 18:29 采纳率: 50%
浏览 8
已结题

在运行基于 segment-anything 的标注工具SAM-TOOL 报错

在运行基于 segment-anything 的标注工具SAM-TOOL 报错

Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/home/anaconda3/envs/sam/bin/platforms" ...
loaded library "/home/anaconda3/envs/sam/lib/python3.9/site-packages/cv2/qt/plugins/platforms/libqxcb.so"
QObject::moveToThread: Current thread (0x55a94757fe30) is not the object's thread (0x55a949293d70).
Cannot move to target thread (0x55a94757fe30)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/anaconda3/envs/sam/lib/python3.9/site-packages/cv2/qt/plugins/" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.


  • 写回答

3条回答 默认 最新

  • weixin_45075999 2023-09-21 13:34
    关注

    已解决,opencv-python 和 PyQt5 版本冲突,卸载 opencv-python
    安装 opencv-python-headless

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

问题事件

  • 系统已结题 9月29日
  • 已采纳回答 9月21日
  • 创建了问题 9月20日

悬赏问题

  • ¥15 关于#r语言#的问题:在进行倾向性评分匹配时,使用“match it"包提示”错误于eval(family$initialize): y值必需满足0 <= y <= 1“请问在进行PSM时
  • ¥45 求17位带符号原码乘法器verilog代码
  • ¥20 PySide6扩展QLable实现Word一样的图片裁剪框
  • ¥15 matlab数据降噪处理,提高数据的可信度,确保峰值信号的不损失?
  • ¥15 怎么看我在bios每次修改的日志
  • ¥15 python+mysql图书管理系统
  • ¥15 Questasim Error: (vcom-13)
  • ¥15 船舶旋回实验matlab
  • ¥30 SQL 数组,游标,递归覆盖原值
  • ¥15 为什么我的数据接收的那么慢呀有没有完整的 hal 库并 代码呀有的话能不能发我一份并且我用 printf 函数显示处理之后的数据,用 debug 就不能运行了呢