Code Monkey home page Code Monkey logo

pyqt5-yolov5's People

Contributors

javacr avatar lpc-eol avatar wp19991 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pyqt5-yolov5's Issues

UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 294-295: invalid continuation byte

Traceback (most recent call last):
File "train.py", line 660, in
main(opt)
File "train.py", line 558, in main
train(opt.hyp, opt, device)
File "train.py", line 91, in train
data_dict = yaml.safe_load(f) # data dict
File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/site-packages/yaml/init.py", line 125, in safe_load
return load(stream, SafeLoader)
File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/site-packages/yaml/init.py", line 79, in load
loader = Loader(stream)
File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/site-packages/yaml/loader.py", line 34, in init
Reader.init(self, stream)
File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/site-packages/yaml/reader.py", line 86, in init
self.determine_encoding()
File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/site-packages/yaml/reader.py", line 125, in determine_encoding
self.update_raw()
File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/site-packages/yaml/reader.py", line 179, in update_raw
data = self.stream.read(size)
File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 294-295: invalid continuation byte

ubuntu下运行窗口时,摄像头开启错误

当我尝试在ubuntu下使用v6.1界面,图片检测能够正常进行,但是在我使用摄像头时,程序自动弹出一个界面,并出现错误,请问我该如何解决这个问题 。

错误:
bucmjetson@ubuntu:~/PyQt5-YOLOv5$ python3 main.py
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (1.26.14) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
YOLOv5 🚀 ea2477d torch 1.11.0 CUDA:0 (Xavier, 6855MiB)

Fusing layers...
Model Summary: 213 layers, 7042489 parameters, 0 gradients, 15.9 GFLOPs

(python3:350354): GLib-CRITICAL **: 11:36:26.231: g_main_context_push_thread_default: assertion 'acquired_context' failed
QObject::killTimer: Timers cannot be stopped from another thread
QObject::startTimer: Timers cannot be started from another thread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QObject::killTimer: Timers cannot be stopped from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::killTimer: Timers cannot be stopped from another thread
QObject::startTimer: Timers cannot be started from another thread

错误截图:

更换背景图片

你好,请问一下那些图标 照片该怎样更换,我把icon下的照片对应替换之后并没有效果

xcb plugin error

qt.qpa.xcb: could not connect to display
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, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

求助

请问运行exe时,提示unhandled exception in script,最终显示importerror:DLL load faild while import _path的原因是什么

How to solve the pyqt5-tools stuck on "Preparing metadata (pyproject.toml) ... \" on MacOS M1 chip?

(base) kakutooru@MacBook-Air PyQt5-YOLOv5 % pip install PyQt5-tools
Looking in indexes: https://pypi.douban.com/simple/
Collecting PyQt5-tools
Downloading https://pypi.doubanio.com/packages/b7/70/a25aab849a5e38ae78716acde1f917a14d9d819c8600bbb8cf536781f7c5/pyqt5_tools-5.15.4.3.2-py3-none-any.whl (29 kB)
Using cached https://pypi.doubanio.com/packages/36/b8/a255b8160e863678aa7d559a4c8c33b5448a6e270992d1464ec9f87ed633/pyqt5_tools-5.15.4.3.1-py3-none-any.whl (28 kB)
Using cached https://pypi.doubanio.com/packages/88/ca/a9cb4816479940d1e0c94c683418c2cc4b4bc2955cd3c5754179a5f95040/pyqt5_tools-5.15.4.3.0.3-py3-none-any.whl (28 kB)
Using cached https://pypi.doubanio.com/packages/e5/cb/34b583ce53ca66803cfe904b11ae87633b1e98121a2a54583674514ae29b/pyqt5_tools-5.15.3.3.2-py3-none-any.whl (29 kB)
Collecting pyqt5==5.15.3
Downloading https://pypi.doubanio.com/packages/6e/86/d715e71771cece0e060f2ebab20f3ded067b08a0927dfb3143530cae8098/PyQt5-5.15.3.tar.gz (3.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 4.1 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... \

I am using m1 MacOs13.1.I meet some trouble when I install pyqt5 with pip.I solve the problem follow its method.
M1 Mac安装PyQt5的方法

But I can't install pyqt5-tools. It just stucks at " Preparing metadata (pyproject.toml) ... ".

Looking forward to a solution.

运行 python train.py --weights yolov5s.pt --cfg models/stamoch.yaml --data data/stamoch.yaml后产生的报错

Traceback (most recent call last):
File "train.py", line 660, in
main(opt)
File "train.py", line 558, in main
train(opt.hyp, opt, device)
File "train.py", line 91, in train
data_dict = yaml.safe_load(f) # data dict
File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/site-packages/yaml/init.py", line 125, in safe_load
return load(stream, SafeLoader)
File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/site-packages/yaml/init.py", line 79, in load
loader = Loader(stream)
File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/site-packages/yaml/loader.py", line 34, in init
Reader.init(self, stream)
File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/site-packages/yaml/reader.py", line 86, in init
self.determine_encoding()
File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/site-packages/yaml/reader.py", line 125, in determine_encoding
self.update_raw()
File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/site-packages/yaml/reader.py", line 179, in update_raw
data = self.stream.read(size)
File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 294-295: invalid continuation byte

选择上传视频和图片无反应

up你好,我运行了这个UI界面,然后选择上传要检测的视频和图片,但是右边的显示框并没有图片和文件的输入,这个问题大家有遇到过吗?万分感谢!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.