× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [12 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\kenry\AppData\Local\Temp\pip-install-7asi9hf9\labelme_20233d73747d444789c37374882f1959\setup.py", line 160, in main() File "C:\Users\kenry\AppData\Local\Temp\pip-install-7asi9hf9\labelme_20233d73747d444789c37374882f1959\setup.py", line 123, in main long_description=get_long_description(), ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\kenry\AppData\Local\Temp\pip-install-7asi9hf9\labelme_20233d73747d444789c37374882f1959\setup.py", line 73, in get_long_description long_description = f.read() ^^^^^^^^ UnicodeDecodeError: 'cp950' codec can't decode byte 0xf0 in position 3640: illegal multibyte sequence [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. [notice] A new release of pip available: 22.3.1 -> 24.1.2 [notice] To update, run: python.exe -m pip install --upgrade pip
× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [12 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\kenry\AppData\Local\Temp\pip-install-fc3o_2qw\labelme_79a70bf5db1641f2aba6adc3aa5866f7\setup.py", line 160, in main() File "C:\Users\kenry\AppData\Local\Temp\pip-install-fc3o_2qw\labelme_79a70bf5db1641f2aba6adc3aa5866f7\setup.py", line 123, in main long_description=get_long_description(), ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\kenry\AppData\Local\Temp\pip-install-fc3o_2qw\labelme_79a70bf5db1641f2aba6adc3aa5866f7\setup.py", line 73, in get_long_description long_description = f.read() ^^^^^^^^ UnicodeDecodeError: 'cp950' codec can't decode byte 0xf0 in position 3640: illegal multibyte sequence [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. 這個樣子的
感谢,卡在这里了~ File "I:\idmdownload\Compressed\yolo10\yolov10-infer.py", line 3, in from ultralytics import YOLOv10 ImportError: cannot import name 'YOLOv10' from 'ultralytics' (C:\Users\Don\.conda\envs\yolov10\lib\site-packages\ultralytics\__init__.py)
真的是有些神似刘德华😂
这就是用了ai换脸刘德华吧
大神,你的10分钟,比我在之前摸索的10小时更清楚。
如果有帮助,请支持一下我的频道😜都是AI相关的干货分享
@@AIDiscovery2045 能不能换个长辣椒😜
@@王帅-p4m 换个黄瓜都行😄
大佬分享的东西越来越好玩,越来越有意思了
越来越有意思了,大佬最近好久没更新了
暑期外出交流了,开学后会恢复更新;感谢关注~
请问7:40图片里橙色smooth的线是用什么package画的呀?谢谢!
ultralytics
@@AIDiscovery2045 谢谢!我以为是用python画的
非常感谢
老哥 太有用了
如果家具识别,在训练的时候,需要家具的各个角度图片吗?但是家具是大物件,换角度不方便。有什么好办法?
用图片增强工具,可以把一张正面图片进行翻转、变换角度,当然这些工具基本上要收费,视频里演示了
roboflow在线标注是不是不支持旋转框标注?我怎么没有找到如何操作。
就是角度调整,视频里说了
請問關於訓練數據的截圖, 可以使用其它相似圖片來標註後再處理嗎? 謝謝
可以的,提供的那个截图程序是为了给大家演示准备数据的过程,更方便一点,你可以用自己的图片。
大哥 我一直有個疑問PYTHON版本 在各種軟件 需求版本都不同~那我是不是要好幾台電腦 或者是 放棄其中一個軟件 要用什麼軟件時候裝什麼版本?
是真小白啊,你可以在一台电脑上装多个python版本,用哪个就把环境变量设置为哪个版本(最笨的办法)。一般开发者都是装多个版本的Python,每个项目创建不同的虚拟环境(不仅能解决Python版本问题,还能解决引用包版本问题)。 比如conda create -n Dlab python=3.10--用conda创建虚拟环境,python -m venv myenv --用python直接创建虚拟环境
楼上说的没错;一般开发人员都用miniconda,但miniconda创建虚拟环境时特别慢,我习惯在机器上安装不同的python版本,只有一个主版本加入系统环境变量,其他的都不加,用手动的方式来指定用哪个版本,如:d:\python311\python.exe -m venv venv
@@AIDiscovery2045 原來如此 感恩
conda
请问yolov10能正常打开,但是检测框消失是什么原因啊😭
可能是没检测到
請問有YOLOv9的視訊安裝指令嗎?
可以看下v9的官方库:
github.com/WongKinYiu/yolov9
請問為何第一條指令安裝依賴包失敗?
Collecting supervision
Using cached supervision-0.22.0-py3-none-any.whl (135 kB)
Collecting labelme
Using cached labelme-5.5.0.tar.gz (1.4 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\kenry\AppData\Local\Temp\pip-install-7asi9hf9\labelme_20233d73747d444789c37374882f1959\setup.py", line 160, in
main()
File "C:\Users\kenry\AppData\Local\Temp\pip-install-7asi9hf9\labelme_20233d73747d444789c37374882f1959\setup.py", line 123, in main
long_description=get_long_description(),
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kenry\AppData\Local\Temp\pip-install-7asi9hf9\labelme_20233d73747d444789c37374882f1959\setup.py", line 73, in get_long_description
long_description = f.read()
^^^^^^^^
UnicodeDecodeError: 'cp950' codec can't decode byte 0xf0 in position 3640: illegal multibyte sequence
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
[notice] A new release of pip available: 22.3.1 -> 24.1.2
[notice] To update, run: python.exe -m pip install --upgrade pip
需要看下具体出错信息才好判断
@@AIDiscovery2045 Collecting supervision
Using cached supervision-0.22.0-py3-none-any.whl (135 kB)
Collecting labelme
Using cached labelme-5.5.0.tar.gz (1.4 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\kenry\AppData\Local\Temp\pip-install-fc3o_2qw\labelme_79a70bf5db1641f2aba6adc3aa5866f7\setup.py", line 160, in
main()
File "C:\Users\kenry\AppData\Local\Temp\pip-install-fc3o_2qw\labelme_79a70bf5db1641f2aba6adc3aa5866f7\setup.py", line 123, in main
long_description=get_long_description(),
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kenry\AppData\Local\Temp\pip-install-fc3o_2qw\labelme_79a70bf5db1641f2aba6adc3aa5866f7\setup.py", line 73, in get_long_description
long_description = f.read()
^^^^^^^^
UnicodeDecodeError: 'cp950' codec can't decode byte 0xf0 in position 3640: illegal multibyte sequence
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
這個樣子的
UnicodeDecodeError: 'cp950' codec can't decode byte 0xf0 in position 3640: illegal multibyte sequence
出現這個錯誤😶
卷积算法是不是对图像方向不敏感的?
表现出的现象是这样的,但算法本身对方向是敏感的,滤波通常是特定方向
大神,如何使用yolo10去对静态图片进行目标检测而不是视频?
import cv2
import supervision as sv
from ultralytics import YOLOv10
model = YOLOv10(f'yolov10n.pt')
image = cv2.imread(f'D:\github\yolov10\output_images\opencv_frame_5.png')
results = model(image)[0]
detections = sv.Detections.from_ultralytics(results)
bounding_box_annotator = sv.BoundingBoxAnnotator()
label_annotator = sv.LabelAnnotator()
annotated_image = bounding_box_annotator.annotate(
scene=image, detections=detections)
annotated_image = label_annotator.annotate(
scene=annotated_image, detections=detections)
sv.plot_image(annotated_image)
把第5行换成你要检测的图片路径即可
@@AIDiscovery2045 哇,谢谢
这个有训练好的通用数据集吧,自己玩这个不知道能干嘛,做人物识别怪不得要多张图片,不过现在的设备就靠导入一张图片效果就不错了,许多年前是要拍多张的,如果要做人物识别的小客户端有这样的全套开源方案吗,可以玩玩😂,现在的准确度应该值得一玩了,车号识别也是这类方案吧
各类识别检测方案都很多,本期只是演示了从数据准备到训练的完整过程,算是新手的入门教学。
@@AIDiscovery2045数据标记太费时间了,这个难度不小,新手训练几个物件也没太大用,不过确实了解了这个过程了,要玩的话完开源的的成熟方案,在那个基础上训练数据更有可玩性,不过以现在的技术,做出这个方案算是可以商用了,各单位的人员识别车牌识别还是几年前的技术没有迭代,现在来个新的算法的开源项目够牛逼了,几年前的技术效果也不错就是人员识别准确度差了点,但是有技术实力的都是可以导入一张照片就可以很好用的方案了,考勤机门禁都是一张照片在设置下就可以用了,不过想得到项目赚钱就不止是技术上的事了,主要还是自己玩玩折腾下
@@jacklinxz 我有个想法,就是一定要用摄像头去识别,把数据标注给玩明白了,然后,再去训练模型结合做爬虫,比如我是卖项链的,我弄出个模型专门去找小红书的爆款等等之类的,接下来自己脑补啦
你決定不把頻道名字改成 劉德華教你AI
嗎
为什么不是 阮经天?
看過像周杰倫的人但還真沒看過這麼像劉德華的人
支持手机么?
手机最高是不是只支持yolo5?
@@小骆-l8f v8支持,v10没在安卓下测试
劉德華?
你是刘德华的弟弟,刘德国吗
刘德哼😆
确实有点撞脸
刘德华
感谢,卡在这里了~
File "I:\idmdownload\Compressed\yolo10\yolov10-infer.py", line 3, in
from ultralytics import YOLOv10
ImportError: cannot import name 'YOLOv10' from 'ultralytics' (C:\Users\Don\.conda\envs\yolov10\lib\site-packages\ultralytics\__init__.py)
另,安装在wsl的ubuntu22.04里面,.pt文件应该放哪里呢,再次感谢
@@jbrainster 这个报错是少ultralytics工具库,用pip install 安装下即可。模型就放在安装目录下
@@AIDiscovery2045 我运行了pip install ultralytics 但还是cannot import name 'YOLOv10' from 'ultralytics' 就很奇怪
@@Bruce-yb pip重新安装下ultralytics
@@Bruce-yb 换梯子节点,一般pip安装时拒绝大概率都是IP的问题
ai换脸了