yolov10实战过程记录
[root@head yolov10]# cat requirements.txt
torch==2.0.1
torchvision==0.15.2
onnx==1.14.0
onnxruntime==1.15.1
pycocotools==2.0.7
PyYAML==6.0.1
scipy==1.13.0
onnxslim==0.1.31
onnxruntime-gpu==1.16.3
gradio==4.31.5
opencv-python==4.9.0.80
psutil==5.9.8
py-cpuinfo==9.0.0
huggingface-hub==0.23.2
safetensors==0.4.3
(yolov10) [root@head yolov10]# pip show onnxruntime-gpu
Name: onnxruntime-gpu
Version: 1.16.3
Summary: ONNX Runtime is a runtime accelerator for Machine Learning models
Home-page: https://onnxruntime.ai
Author: Microsoft Corporation
Author-email: onnxruntime@microsoft.com
License: MIT License
Location: /root/anaconda3/envs/yolov10/lib/python3.10/site-packages
Requires: coloredlogs, flatbuffers, numpy, packaging, protobuf, sympy
Required-by:
conda create -n yolov10 python=3.9
conda activate yolov10
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install -e .
wget https://github.com/THU-MIG/yolov10/releases/download/v1.1/yolov10{n/s/m/b/l/x}.pt
(yolov10) [root@head yolov10]# pwd
/opt/yolov10
(yolov10) [root@head yolov10]# yolo predict model=yolov10s.pt source=ultralytics/assets/bus.jpg
posted on 2024-10-08 14:13 Indian_Mysore 阅读(93) 评论(2) 收藏 举报
浙公网安备 33010602011771号