lumina37 / rotate-captcha-crack

CNN预测图片旋转角✨可用于破解旋转验证码
The Unlicense
312 stars 89 forks source link

Could not load the Qt platform plugin "xcb" #18

Closed Edmounds closed 1 year ago

Edmounds commented 1 year ago

使用train_Rotnet.py训练完epoch15后返回的信息,这是报错吗?要安装qt platform然后重新训练吗?

环境: WSL2 Ubuntu22.04 Python 3.10.9 cuda 11.8 tensorflow 2.12.0 pytorch 2.01

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" 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: eglfs, minimal, minimalegl, offscreen, vnc, webgl, xcb.
Aborted
Edmounds commented 1 year ago

使用train_Rotnet.py训练完epoch15后返回的信息,这是报错吗?要安装qt platform然后重新训练吗?

环境: WSL2 Ubuntu22.04 Python 3.10.9 cuda 11.8 tensorflow 2.12.0 pytorch 2.01

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" 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: eglfs, minimal, minimalegl, offscreen, vnc, webgl, xcb.
Aborted

这个问题已解决,缺少依赖

manxiaoyu commented 1 year ago

怎么解决的呀?

lumina37 commented 1 year ago

Maybe help PyQt5:解决qt.qpa.plugin: Could not load the Qt platform plugin "xcb"错误 https://github.com/NVlabs/instant-ngp/discussions/300