1、进入GitHub的YOLOv9官网
https://github.com/WongKinYiu/yolov9
2、clone或下载项目
https://github.com/WongKinYiu/yolov9.git
https://codeload.github.com/WongKinYiu/yolov9/zip/refs/heads/main
2.1、进入控制台下载项目
git clone https://github.com/WongKinYiu/yolov9.git
3、环境配置
3.1、cd到项目目录
cd yolov9
3.2、创建conda环境
conda create -n yolov9 python=3.8
3.3、激活环境
conda activate yolov9
3.4、清华镜像加速配置环境
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
3.5、选择一个下载yolov9模型放入yolov9目录下
https://objects.githubusercontent.com/github-production-release-asset-2e65be/759338070/adb10748-4752-406a-821d-a08d784c334e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241014%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241014T052609Z&X-Amz-Expires=300&X-Amz-Signature=3008d628cad0835ad4371fefbf8933fdd63c5e99e3816a92a2966eb96d3ac567&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dyolov9-s-converted.pt&response-content-type=application%2Foctet-stream
3.6、修改配置文件
修改模型位置名称
'--weights', nargs='+', type=str, default=ROOT / 'yolov9-s-converted.pt', help='model path or triton URL'
def parse_opt():
parser = argparse.ArgumentParser()
parser.add_argument('--weights', nargs='+', type=str, default=ROOT / 'yolov9-s-converted.pt', help='model path or triton URL')
parser.add_argument('--source', type=str, default=ROOT / 'data/images', help='file/dir/URL/glob/screen/0(webcam)')
parser.add_argument('--data', type=str, default=ROOT / 'data/coco128.yaml', help='(optional) dataset.yaml path')
parser.add_argument('--imgsz', '--img', '--img-size', nargs='+', type=int, default=[640], help='inference size h,w')
或者将下载后的模型文件改名为
yolo.pt
3.7、运行推理
输入命令
detect.py
3.8、查看推理结果在runs文件夹下
..\yolov9\runs\detect\exp
可能出现问题
1、‘E:\new’: No such file or directory
detect: weights=["'./yolov9-s-converted.pt'"], source=data\images, data=data\coco128.yaml, imgsz=[640, 640], conf_thres=0.25, iou_thres=0.45, max_det=1000, device=, view_img=False, save_txt=False, save_conf=False, save_crop=False, nosave=False, classes=None, agnostic_nms=False, augment=False, visualize=False, update=False, project=runs\detect, name=exp, exist_ok=False, line_thickness=3, hide_labels=False, hide_conf=False, half=False, dnn=False, vid_stride=1
fatal: cannot change to 'E:\new': No such file or directory
YOLO 2024-10-14 Python-3.8.20 torch-2.4.1+cpu CPU
Traceback (most recent call last):
File "detect.py", line 231, in <module>
main(opt)
File "detect.py", line 226, in main
run(**vars(opt))
File "E:\users\86170\anaconda3\envs\yolov9\lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "detect.py", line 68, in run
model = DetectMultiBackend(weights, device=device, dnn=dnn, data=data, fp16=half)
File "E:\new work space\python\yolov9\models\common.py", line 696, in __init__
pt, jit, onnx, onnx_end2end, xml, engine, coreml, saved_model, pb, tflite, edgetpu, tfjs, paddle, triton = self._model_type(w)
File "E:\new work space\python\yolov9\models\common.py", line 967, in _model_type
check_suffix(p, sf) # checks
File "E:\new work space\python\yolov9\utils\general.py", line 447, in check_suffix
assert s in suffix, f"{msg}{f} acceptable suffix is {suffix}"
AssertionError: './yolov9-s-converted.pt' acceptable suffix is ['.pt', '.torchscript', '.onnx', '_end2end.onnx', '_openvino_model', '.engine', '.mlmodel', '_saved_model', '.pb', '.tflite', '_edgetpu.tflite', '_web_model', '_paddle_model']
原因 目录中存在空格,文件路径中文件夹名存在空格
解决方式切换无空格的目录
log
Microsoft Windows [版本 10.0.19042.1706]
(c) Microsoft Corporation。保留所有权利。
E:\new work space\python>https://github.com/WongKinYiu/yolov9.git
'https:' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
E:\new work space\python>clone https://github.com/WongKinYiu/yolov9.git
'clone' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
E:\new work space\python>gie clone https://github.com/WongKinYiu/yolov9.git
'gie' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
E:\new work space\python>git clone https://github.com/WongKinYiu/yolov9.git
Cloning into 'yolov9'...
remote: Enumerating objects: 781, done.
remote: Total 781 (delta 0), reused 0 (delta 0), pack-reused 781 (from 1)
Receiving objects: 100% (781/781), 3.27 MiB | 562.00 KiB/s, done.
Resolving deltas: 100% (330/330), done.
E:\new work space\python>cd yolov9
E:\new work space\python\yolov9>conda create -n yolov9 python=3.8
Channels:
- defaults
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: done
## Package Plan ##
environment location: E:\users\86170\anaconda3\envs\yolov9
added / updated specs:
- python=3.8
The following packages will be downloaded:
package | build
---------------------------|-----------------
pip-24.2 | py38haa95532_0 2.4 MB
python-3.8.20 | h8205438_0 19.4 MB
setuptools-75.1.0 | py38haa95532_0 1.6 MB
vc-14.40 | h2eaa2aa_1 10 KB
vs2015_runtime-14.40.33807 | h98bb1dd_1 1.3 MB
wheel-0.44.0 | py38haa95532_0 137 KB
------------------------------------------------------------
Total: 24.8 MB
The following NEW packages will be INSTALLED:
ca-certificates pkgs/main/win-64::ca-certificates-2024.9.24-haa95532_0
libffi pkgs/main/win-64::libffi-3.4.4-hd77b12b_1
openssl pkgs/main/win-64::openssl-3.0.15-h827c3e9_0
pip pkgs/main/win-64::pip-24.2-py38haa95532_0
python pkgs/main/win-64::python-3.8.20-h8205438_0
setuptools pkgs/main/win-64::setuptools-75.1.0-py38haa95532_0
sqlite pkgs/main/win-64::sqlite-3.45.3-h2bbff1b_0
vc pkgs/main/win-64::vc-14.40-h2eaa2aa_1
vs2015_runtime pkgs/main/win-64::vs2015_runtime-14.40.33807-h98bb1dd_1
wheel pkgs/main/win-64::wheel-0.44.0-py38haa95532_0
Proceed ([y]/n)? y
Downloading and Extracting Packages:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate yolov9
#
# To deactivate an active environment, use
#
# $ conda deactivate
E:\new work space\python\yolov9>conda activate yolov9
(yolov9) E:\new work space\python\yolov9>pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))': /pypi/simple/gitpython/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))': /pypi/simple/gitpython/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))': /pypi/simple/gitpython/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))': /pypi/simple/gitpython/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))': /pypi/simple/gitpython/
Could not fetch URL https://mirrors.aliyun.com/pypi/simple/gitpython/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Max retries exceeded with url: /pypi/simple/gitpython/ (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))) - skipping
ERROR: Could not find a version that satisfies the requirement gitpython (from versions: none)
Could not fetch URL https://mirrors.aliyun.com/pypi/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Max retries exceeded with url: /pypi/simple/pip/ (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))) - skipping
ERROR: No matching distribution found for gitpython
(yolov9) E:\new work space\python\yolov9>pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simpl
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simpl
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))': /simpl/gitpython/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))': /simpl/gitpython/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))': /simpl/gitpython/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))': /simpl/gitpython/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))': /simpl/gitpython/
Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simpl/gitpython/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /simpl/gitpython/ (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))) - skipping
ERROR: Could not find a version that satisfies the requirement gitpython (from versions: none)
Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simpl/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /simpl/pip/ (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))) - skipping
ERROR: No matching distribution found for gitpython
(yolov9) E:\new work space\python\yolov9>pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simp
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simp
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))': /simp/gitpython/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))': /simp/gitpython/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))': /simp/gitpython/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))': /simp/gitpython/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))': /simp/gitpython/
Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simp/gitpython/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /simp/gitpython/ (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))) - skipping
ERROR: Could not find a version that satisfies the requirement gitpython (from versions: none)
Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simp/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /simp/pip/ (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))) - skipping
ERROR: No matching distribution found for gitpython
(yolov9) E:\new work space\python\yolov9>pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting gitpython (from -r requirements.txt (line 5))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/e9/bd/cc3a402a6439c15c3d4294333e13042b915bbeab54edc457c723931fed3f/GitPython-3.1.43-py3-none-any.whl (207 kB)
Collecting ipython (from -r requirements.txt (line 6))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/8d/97/8fe103906cd81bc42d3b0175b5534a9f67dccae47d6451131cf8d0d70bb2/ipython-8.12.3-py3-none-any.whl (798 kB)
Collecting matplotlib>=3.2.2 (from -r requirements.txt (line 7))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/16/51/58b0b9de42fe1e665736d9286f88b5f1556a0e22bed8a71f468231761083/matplotlib-3.7.5-cp38-cp38-win_amd64.whl (7.5 MB)
Collecting numpy>=1.18.5 (from -r requirements.txt (line 8))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/69/65/0d47953afa0ad569d12de5f65d964321c208492064c38fe3b0b9744f8d44/numpy-1.24.4-cp38-cp38-win_amd64.whl (14.9 MB)
Collecting opencv-python>=4.1.1 (from -r requirements.txt (line 9))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ec/6c/fab8113424af5049f85717e8e527ca3773299a3c6b02506e66436e19874f/opencv_python-4.10.0.84-cp37-abi3-win_amd64.whl (38.8 MB)
---------------------------------------- 38.8/38.8 MB 11.4 MB/s eta 0:00:00
Collecting Pillow>=7.1.2 (from -r requirements.txt (line 10))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f2/75/3cb820b2812405fc7feb3d0deb701ef0c3de93dc02597115e00704591bc9/pillow-10.4.0-cp38-cp38-win_amd64.whl (2.6 MB)
---------------------------------------- 2.6/2.6 MB 10.5 MB/s eta 0:00:00
Collecting psutil (from -r requirements.txt (line 11))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/73/44/561092313ae925f3acfaace6f9ddc4f6a9c748704317bad9c8c8f8a36a79/psutil-6.0.0-cp37-abi3-win_amd64.whl (257 kB)
Collecting PyYAML>=5.3.1 (from -r requirements.txt (line 12))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/75/8a/ee831ad5fafa4431099aa4e078d4c8efd43cd5e48fbc774641d233b683a9/PyYAML-6.0.2-cp38-cp38-win_amd64.whl (162 kB)
Collecting requests>=2.23.0 (from -r requirements.txt (line 13))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a2a686d80da4d54/requests-2.32.3-py3-none-any.whl (64 kB)
Collecting scipy>=1.4.1 (from -r requirements.txt (line 14))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/32/8e/7f403535ddf826348c9b8417791e28712019962f7e90ff845896d6325d09/scipy-1.10.1-cp38-cp38-win_amd64.whl (42.2 MB)
Collecting thop>=0.1.1 (from -r requirements.txt (line 15))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/bb/0f/72beeab4ff5221dc47127c80f8834b4bcd0cb36f6ba91c0b1d04a1233403/thop-0.1.1.post2209072238-py3-none-any.whl (15 kB)
Collecting torch>=1.7.0 (from -r requirements.txt (line 16))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/9d/58/37166e7f71cd35e7f76d462fa058758a0aa6c31c1a7e26290f7898d37360/torch-2.4.1-cp38-cp38-win_amd64.whl (199.4 MB)
---------------------------------------- 199.4/199.4 MB 10.2 MB/s eta 0:00:00
Collecting torchvision>=0.8.1 (from -r requirements.txt (line 17))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f6/4e/17d3137e893e878d2c165268b3f80d59e306e1ac1e0d89d8cccb27cc1d76/torchvision-0.19.1-cp38-cp38-win_amd64.whl (1.3 MB)
---------------------------------------- 1.3/1.3 MB 8.2 MB/s eta 0:00:00
Collecting tqdm>=4.64.0 (from -r requirements.txt (line 18))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/48/5d/acf5905c36149bbaec41ccf7f2b68814647347b72075ac0b1fe3022fdc73/tqdm-4.66.5-py3-none-any.whl (78 kB)
Collecting tensorboard>=2.4.1 (from -r requirements.txt (line 22))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/bc/a2/ff5f4c299eb37c95299a76015da3f30211468e29d8d6f1d011683279baee/tensorboard-2.14.0-py3-none-any.whl (5.5 MB)
Collecting pandas>=1.1.4 (from -r requirements.txt (line 27))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/c3/6c/ea362eef61f05553aaf1a24b3e96b2d0603f5dc71a3bd35688a24ed88843/pandas-2.0.3-cp38-cp38-win_amd64.whl (10.8 MB)
Collecting seaborn>=0.11.0 (from -r requirements.txt (line 28))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/83/11/00d3c3dfc25ad54e731d91449895a79e4bf2384dc3ac01809010ba88f6d5/seaborn-0.13.2-py3-none-any.whl (294 kB)
Collecting albumentations>=1.0.3 (from -r requirements.txt (line 46))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c5/2f/468208ac3345b59286f5a73dd6e298c111c8a6a5896f658d221cd55ebf8d/albumentations-1.4.18-py3-none-any.whl (224 kB)
Collecting pycocotools>=2.0 (from -r requirements.txt (line 47))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/85/1a/f3f95a5c994be2b554f370ac314b034d43d82c69be3fd40fabed5cfd5347/pycocotools-2.0.7-cp38-cp38-win_amd64.whl (85 kB)
Collecting gitdb<5,>=4.0.1 (from gitpython->-r requirements.txt (line 5))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/fd/5b/8f0c4a5bb9fd491c277c21eff7ccae71b47d43c4446c9d0c6cff2fe8c2c4/gitdb-4.0.11-py3-none-any.whl (62 kB)
Collecting backcall (from ipython->-r requirements.txt (line 6))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/4c/1c/ff6546b6c12603d8dd1070aa3c3d273ad4c07f5771689a7b69a550e8c951/backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting decorator (from ipython->-r requirements.txt (line 6))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/d5/50/83c593b07763e1161326b3b8c6686f0f4b0f24d5526546bee538c89837d6/decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting jedi>=0.16 (from ipython->-r requirements.txt (line 6))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/20/9f/bc63f0f0737ad7a60800bfd472a4836661adae21f9c2535f3957b1e54ceb/jedi-0.19.1-py2.py3-none-any.whl (1.6 MB)
Collecting matplotlib-inline (from ipython->-r requirements.txt (line 6))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/8f/8e/9ad090d3553c280a8060fbf6e24dc1c0c29704ee7d1c372f0c174aa59285/matplotlib_inline-0.1.7-py3-none-any.whl (9.9 kB)
Collecting pickleshare (from ipython->-r requirements.txt (line 6))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/9a/41/220f49aaea88bc6fa6cba8d05ecf24676326156c23b991e80b3f2fc24c77/pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30 (from ipython->-r requirements.txt (line 6))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a9/6a/fd08d94654f7e67c52ca30523a178b3f8ccc4237fce4be90d39c938a831a/prompt_toolkit-3.0.48-py3-none-any.whl (386 kB)
Collecting pygments>=2.4.0 (from ipython->-r requirements.txt (line 6))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f7/3f/01c8b82017c199075f8f788d0d906b9ffbbc5a47dc9918a945e13d5a2bda/pygments-2.18.0-py3-none-any.whl (1.2 MB)
---------------------------------------- 1.2/1.2 MB 6.0 MB/s eta 0:00:00
Collecting stack-data (from ipython->-r requirements.txt (line 6))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/f1/7b/ce1eafaf1a76852e2ec9b22edecf1daa58175c090266e9f6c64afcd81d91/stack_data-0.6.3-py3-none-any.whl (24 kB)
Collecting traitlets>=5 (from ipython->-r requirements.txt (line 6))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/00/c0/8f5d070730d7836adc9c9b6408dec68c6ced86b304a9b26a14df072a6e8c/traitlets-5.14.3-py3-none-any.whl (85 kB)
Collecting typing-extensions (from ipython->-r requirements.txt (line 6))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/26/9f/ad63fc0248c5379346306f8668cda6e2e2e9c95e01216d2b8ffd9ff037d0/typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Requirement already satisfied: colorama in c:\users\86170\appdata\roaming\python\python38\site-packages (from ipython->-r requirements.txt (line 6)) (0.4.6)
Collecting contourpy>=1.0.1 (from matplotlib>=3.2.2->-r requirements.txt (line 7))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/96/1b/b05cd42c8d21767a0488b883b38658fb9a45f86c293b7b42521a8113dc5d/contourpy-1.1.1-cp38-cp38-win_amd64.whl (477 kB)
Collecting cycler>=0.10 (from matplotlib>=3.2.2->-r requirements.txt (line 7))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/e7/05/c19819d5e3d95294a6f5947fb9b9629efb316b96de511b418c53d245aae6/cycler-0.12.1-py3-none-any.whl (8.3 kB)
Collecting fonttools>=4.22.0 (from matplotlib>=3.2.2->-r requirements.txt (line 7))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/75/7f/3c4e038998d2a54b282d605f6aaac4c596c49d55add3adc6559a735bb4cb/fonttools-4.54.1-cp38-cp38-win_amd64.whl (1.5 MB)
---------------------------------------- 1.5/1.5 MB 10.2 MB/s eta 0:00:00
Collecting kiwisolver>=1.0.1 (from matplotlib>=3.2.2->-r requirements.txt (line 7))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/52/77/7e04cca2ff1dc6ee6b7654cebe233de72b7a3ec5616501b6f3144fb70740/kiwisolver-1.4.7-cp38-cp38-win_amd64.whl (55 kB)
Collecting packaging>=20.0 (from matplotlib>=3.2.2->-r requirements.txt (line 7))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl (53 kB)
Collecting pyparsing>=2.3.1 (from matplotlib>=3.2.2->-r requirements.txt (line 7))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/e5/0c/0e3c05b1c87bb6a1c76d281b0f35e78d2d80ac91b5f8f524cebf77f51049/pyparsing-3.1.4-py3-none-any.whl (104 kB)
Collecting python-dateutil>=2.7 (from matplotlib>=3.2.2->-r requirements.txt (line 7))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Collecting importlib-resources>=3.2.0 (from matplotlib>=3.2.2->-r requirements.txt (line 7))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/e1/6a/4604f9ae2fa62ef47b9de2fa5ad599589d28c9fd1d335f32759813dfa91e/importlib_resources-6.4.5-py3-none-any.whl (36 kB)
Collecting charset-normalizer<4,>=2 (from requests>=2.23.0->-r requirements.txt (line 13))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/09/c8/0e17270496a05839f8b500c1166e3261d1226e39b698a735805ec206967b/charset_normalizer-3.4.0-cp38-cp38-win_amd64.whl (101 kB)
Collecting idna<4,>=2.5 (from requests>=2.23.0->-r requirements.txt (line 13))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl (70 kB)
Collecting urllib3<3,>=1.21.1 (from requests>=2.23.0->-r requirements.txt (line 13))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ce/d9/5f4c13cecde62396b0d3fe530a50ccea91e7dfc1ccf0e09c228841bb5ba8/urllib3-2.2.3-py3-none-any.whl (126 kB)
Collecting certifi>=2017.4.17 (from requests>=2.23.0->-r requirements.txt (line 13))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/12/90/3c9ff0512038035f59d279fddeb79f5f1eccd8859f06d6163c58798b9487/certifi-2024.8.30-py3-none-any.whl (167 kB)
Collecting filelock (from torch>=1.7.0->-r requirements.txt (line 16))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/b9/f8/feced7779d755758a52d1f6635d990b8d98dc0a29fa568bbe0625f18fdf3/filelock-3.16.1-py3-none-any.whl (16 kB)
Collecting sympy (from torch>=1.7.0->-r requirements.txt (line 16))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/99/ff/c87e0622b1dadea79d2fb0b25ade9ed98954c9033722eb707053d310d4f3/sympy-1.13.3-py3-none-any.whl (6.2 MB)
---------------------------------------- 6.2/6.2 MB 8.6 MB/s eta 0:00:00
Collecting networkx (from torch>=1.7.0->-r requirements.txt (line 16))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/a8/05/9d4f9b78ead6b2661d6e8ea772e111fc4a9fbd866ad0c81906c11206b55e/networkx-3.1-py3-none-any.whl (2.1 MB)
Collecting jinja2 (from torch>=1.7.0->-r requirements.txt (line 16))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/31/80/3a54838c3fb461f6fec263ebf3a3a41771bd05190238de3486aae8540c36/jinja2-3.1.4-py3-none-any.whl (133 kB)
Collecting fsspec (from torch>=1.7.0->-r requirements.txt (line 16))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/1d/a0/6aaea0c2fbea2f89bfd5db25fb1e3481896a423002ebe4e55288907a97a3/fsspec-2024.9.0-py3-none-any.whl (179 kB)
Collecting absl-py>=0.4 (from tensorboard>=2.4.1->-r requirements.txt (line 22))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/a2/ad/e0d3c824784ff121c03cc031f944bc7e139a8f1870ffd2845cc2dd76f6c4/absl_py-2.1.0-py3-none-any.whl (133 kB)
Collecting grpcio>=1.48.2 (from tensorboard>=2.4.1->-r requirements.txt (line 22))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/58/85/dd2b65563312b2010608e8e2a8f23a3e3e3db985fa12f81b2e48a709da15/grpcio-1.66.2-cp38-cp38-win_amd64.whl (4.3 MB)
---------------------------------------- 4.3/4.3 MB 9.9 MB/s eta 0:00:00
Collecting google-auth<3,>=1.6.3 (from tensorboard>=2.4.1->-r requirements.txt (line 22))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/27/1f/3a72917afcb0d5cd842cbccb81bf7a8a7b45b4c66d8dc4556ccb3b016bfc/google_auth-2.35.0-py2.py3-none-any.whl (208 kB)
Collecting google-auth-oauthlib<1.1,>=0.5 (from tensorboard>=2.4.1->-r requirements.txt (line 22))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/4a/07/8d9a8186e6768b55dfffeb57c719bc03770cf8a970a074616ae6f9e26a57/google_auth_oauthlib-1.0.0-py2.py3-none-any.whl (18 kB)
Collecting markdown>=2.6.8 (from tensorboard>=2.4.1->-r requirements.txt (line 22))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/3f/08/83871f3c50fc983b88547c196d11cf8c3340e37c32d2e9d6152abe2c61f7/Markdown-3.7-py3-none-any.whl (106 kB)
Collecting protobuf>=3.19.6 (from tensorboard>=2.4.1->-r requirements.txt (line 22))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/1b/99/8d51383f6f326003e59cf1915e315803c9b786459bacf709e5edca158c5e/protobuf-5.28.2-cp38-cp38-win_amd64.whl (431 kB)
Requirement already satisfied: setuptools>=41.0.0 in e:\users\86170\anaconda3\envs\yolov9\lib\site-packages (from tensorboard>=2.4.1->-r requirements.txt (line 22)) (75.1.0)
Collecting tensorboard-data-server<0.8.0,>=0.7.0 (from tensorboard>=2.4.1->-r requirements.txt (line 22))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/7a/13/e503968fefabd4c6b2650af21e110aa8466fe21432cd7c43a84577a89438/tensorboard_data_server-0.7.2-py3-none-any.whl (2.4 kB)
Collecting werkzeug>=1.0.1 (from tensorboard>=2.4.1->-r requirements.txt (line 22))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/4b/84/997bbf7c2bf2dc3f09565c6d0b4959fefe5355c18c4096cfd26d83e0785b/werkzeug-3.0.4-py3-none-any.whl (227 kB)
Requirement already satisfied: wheel>=0.26 in e:\users\86170\anaconda3\envs\yolov9\lib\site-packages (from tensorboard>=2.4.1->-r requirements.txt (line 22)) (0.44.0)
Collecting pytz>=2020.1 (from pandas>=1.1.4->-r requirements.txt (line 27))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/11/c3/005fcca25ce078d2cc29fd559379817424e94885510568bc1bc53d7d5846/pytz-2024.2-py2.py3-none-any.whl (508 kB)
Collecting tzdata>=2022.1 (from pandas>=1.1.4->-r requirements.txt (line 27))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a6/ab/7e5f53c3b9d14972843a647d8d7a853969a58aecc7559cb3267302c94774/tzdata-2024.2-py2.py3-none-any.whl (346 kB)
Collecting scikit-image>=0.21.0 (from albumentations>=1.0.3->-r requirements.txt (line 46))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/d7/d1/a4c715ad640c9eb0daaa77c4ce561b06e086bec44cbc79083e3548b00b76/scikit_image-0.21.0-cp38-cp38-win_amd64.whl (22.7 MB)
Collecting pydantic>=2.7.0 (from albumentations>=1.0.3->-r requirements.txt (line 46))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/df/e4/ba44652d562cbf0bf320e0f3810206149c8a4e99cdbf66da82e97ab53a15/pydantic-2.9.2-py3-none-any.whl (434 kB)
Collecting albucore==0.0.17 (from albumentations>=1.0.3->-r requirements.txt (line 46))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f7/20/9f56b72131ea71c9566f0cc303a9e92156767845164c0f4ec10534630991/albucore-0.0.17-py3-none-any.whl (10 kB)
Collecting eval-type-backport (from albumentations>=1.0.3->-r requirements.txt (line 46))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ac/ac/aa3d8e0acbcd71140420bc752d7c9779cf3a2a3bb1d7ef30944e38b2cd39/eval_type_backport-0.2.0-py3-none-any.whl (5.9 kB)
Collecting opencv-python-headless>=4.9.0.80 (from albumentations>=1.0.3->-r requirements.txt (line 46))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/26/d0/22f68eb23eea053a31655960f133c0be9726c6a881547e6e9e7e2a946c4f/opencv_python_headless-4.10.0.84-cp37-abi3-win_amd64.whl (38.8 MB)
---------------------------------------- 38.8/38.8 MB 9.9 MB/s eta 0:00:00
Collecting smmap<6,>=3.0.1 (from gitdb<5,>=4.0.1->gitpython->-r requirements.txt (line 5))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/a7/a5/10f97f73544edcdef54409f1d839f6049a0d79df68adbc1ceb24d1aaca42/smmap-5.0.1-py3-none-any.whl (24 kB)
Collecting cachetools<6.0,>=2.0.0 (from google-auth<3,>=1.6.3->tensorboard>=2.4.1->-r requirements.txt (line 22))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a4/07/14f8ad37f2d12a5ce41206c21820d8cb6561b728e51fad4530dff0552a67/cachetools-5.5.0-py3-none-any.whl (9.5 kB)
Collecting pyasn1-modules>=0.2.1 (from google-auth<3,>=1.6.3->tensorboard>=2.4.1->-r requirements.txt (line 22))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/77/89/bc88a6711935ba795a679ea6ebee07e128050d6382eaa35a0a47c8032bdc/pyasn1_modules-0.4.1-py3-none-any.whl (181 kB)
Collecting rsa<5,>=3.1.4 (from google-auth<3,>=1.6.3->tensorboard>=2.4.1->-r requirements.txt (line 22))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/49/97/fa78e3d2f65c02c8e1268b9aba606569fe97f6c8f7c2d74394553347c145/rsa-4.9-py3-none-any.whl (34 kB)
Collecting requests-oauthlib>=0.7.0 (from google-auth-oauthlib<1.1,>=0.5->tensorboard>=2.4.1->-r requirements.txt (line 22))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/3b/5d/63d4ae3b9daea098d5d6f5da83984853c1bbacd5dc826764b249fe119d24/requests_oauthlib-2.0.0-py2.py3-none-any.whl (24 kB)
Collecting zipp>=3.1.0 (from importlib-resources>=3.2.0->matplotlib>=3.2.2->-r requirements.txt (line 7))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/62/8b/5ba542fa83c90e09eac972fc9baca7a88e7e7ca4b221a89251954019308b/zipp-3.20.2-py3-none-any.whl (9.2 kB)
Collecting parso<0.9.0,>=0.8.3 (from jedi>=0.16->ipython->-r requirements.txt (line 6))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c6/ac/dac4a63f978e4dcb3c6d3a78c4d8e0192a113d288502a1216950c41b1027/parso-0.8.4-py2.py3-none-any.whl (103 kB)
Collecting importlib-metadata>=4.4 (from markdown>=2.6.8->tensorboard>=2.4.1->-r requirements.txt (line 22))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a0/d9/a1e041c5e7caa9a05c925f4bdbdfb7f006d1f74996af53467bc394c97be7/importlib_metadata-8.5.0-py3-none-any.whl (26 kB)
Collecting wcwidth (from prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30->ipython->-r requirements.txt (line 6))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/fd/84/fd2ba7aafacbad3c4201d395674fc6348826569da3c0937e75505ead3528/wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Collecting annotated-types>=0.6.0 (from pydantic>=2.7.0->albumentations>=1.0.3->-r requirements.txt (line 46))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl (13 kB)
Collecting pydantic-core==2.23.4 (from pydantic>=2.7.0->albumentations>=1.0.3->-r requirements.txt (line 46))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/db/c8/e6ed2172bb2594a256c7756a70109fa31ab80d1cebb9003ad6c54e10c0d1/pydantic_core-2.23.4-cp38-none-win_amd64.whl (1.9 MB)
---------------------------------------- 1.9/1.9 MB 3.0 MB/s eta 0:00:00
Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib>=3.2.2->-r requirements.txt (line 7))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting imageio>=2.27 (from scikit-image>=0.21.0->albumentations>=1.0.3->-r requirements.txt (line 46))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/1e/b7/02adac4e42a691008b5cfb31db98c190e1fc348d1521b9be4429f9454ed1/imageio-2.35.1-py3-none-any.whl (315 kB)
Collecting tifffile>=2022.8.12 (from scikit-image>=0.21.0->albumentations>=1.0.3->-r requirements.txt (line 46))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/06/a3/68d17088a4f09565bc7341fd20490da8191ec4cddde479daaabbe07bb603/tifffile-2023.7.10-py3-none-any.whl (220 kB)
Collecting PyWavelets>=1.1.1 (from scikit-image>=0.21.0->albumentations>=1.0.3->-r requirements.txt (line 46))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/a9/8f/f80ff31e73385b886c35fb9fb1377849f9c43a3c1195ed8dc8ed8dc1bd88/PyWavelets-1.4.1-cp38-cp38-win_amd64.whl (4.2 MB)
Collecting lazy_loader>=0.2 (from scikit-image>=0.21.0->albumentations>=1.0.3->-r requirements.txt (line 46))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/83/60/d497a310bde3f01cb805196ac61b7ad6dc5dcf8dce66634dc34364b20b4f/lazy_loader-0.4-py3-none-any.whl (12 kB)
Collecting MarkupSafe>=2.1.1 (from werkzeug>=1.0.1->tensorboard>=2.4.1->-r requirements.txt (line 22))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/92/21/357205f03514a49b293e214ac39de01fadd0970a6e05e4bf1ddd0ffd0881/MarkupSafe-2.1.5-cp38-cp38-win_amd64.whl (17 kB)
Collecting executing>=1.2.0 (from stack-data->ipython->-r requirements.txt (line 6))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/b5/fd/afcd0496feca3276f509df3dbd5dae726fcc756f1a08d9e25abe1733f962/executing-2.1.0-py2.py3-none-any.whl (25 kB)
Collecting asttokens>=2.1.0 (from stack-data->ipython->-r requirements.txt (line 6))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/45/86/4736ac618d82a20d87d2f92ae19441ebc7ac9e7a581d7e58bbe79233b24a/asttokens-2.4.1-py2.py3-none-any.whl (27 kB)
Collecting pure-eval (from stack-data->ipython->-r requirements.txt (line 6))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/8e/37/efad0257dc6e593a18957422533ff0f87ede7c9c6ea010a2177d738fb82f/pure_eval-0.2.3-py3-none-any.whl (11 kB)
Collecting mpmath<1.4,>=1.1.0 (from sympy->torch>=1.7.0->-r requirements.txt (line 16))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/43/e3/7d92a15f894aa0c9c4b49b8ee9ac9850d6e63b03c9c32c0367a13ae62209/mpmath-1.3.0-py3-none-any.whl (536 kB)
Collecting pyasn1<0.7.0,>=0.4.6 (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard>=2.4.1->-r requirements.txt (line 22))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c8/f1/d6a797abb14f6283c0ddff96bbdd46937f64122b8c925cab503dd37f8214/pyasn1-0.6.1-py3-none-any.whl (83 kB)
Collecting oauthlib>=3.0.0 (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tensorboard>=2.4.1->-r requirements.txt (line 22))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/7e/80/cab10959dc1faead58dc8384a781dfbf93cb4d33d50988f7a69f1b7c9bbe/oauthlib-3.2.2-py3-none-any.whl (151 kB)
Installing collected packages: wcwidth, pytz, pure-eval, pickleshare, mpmath, backcall, zipp, urllib3, tzdata, typing-extensions, traitlets, tqdm, tensorboard-data-server, sympy, smmap, six, PyYAML, pyparsing, pygments, pyasn1, psutil, protobuf, prompt-toolkit, Pillow, parso, packaging, oauthlib, numpy, networkx, MarkupSafe, kiwisolver, idna, grpcio, fsspec, fonttools, filelock, executing, eval-type-backport, decorator, cycler, charset-normalizer, certifi, cachetools, absl-py, werkzeug, tifffile, scipy, rsa, requests, PyWavelets, python-dateutil, pydantic-core, pyasn1-modules, opencv-python-headless, opencv-python, matplotlib-inline, lazy_loader, jinja2, jedi, importlib-resources, importlib-metadata, imageio, gitdb, contourpy, asttokens, annotated-types, torch, stack-data, scikit-image, requests-oauthlib, pydantic, pandas, matplotlib, markdown, google-auth, gitpython, albucore, torchvision, thop, seaborn, pycocotools, ipython, google-auth-oauthlib, albumentations, tensorboard
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pylint 3.1.0 requires tomlkit>=0.10.1, which is not installed.
Successfully installed MarkupSafe-2.1.5 Pillow-10.4.0 PyWavelets-1.4.1 PyYAML-6.0.2 absl-py-2.1.0 albucore-0.0.17 albumentations-1.4.18 annotated-types-0.7.0 asttokens-2.4.1 backcall-0.2.0 cachetools-5.5.0 certifi-2024.8.30 charset-normalizer-3.4.0 contourpy-1.1.1 cycler-0.12.1 decorator-5.1.1 eval-type-backport-0.2.0 executing-2.1.0 filelock-3.16.1 fonttools-4.54.1 fsspec-2024.9.0 gitdb-4.0.11 gitpython-3.1.43 google-auth-2.35.0 google-auth-oauthlib-1.0.0 grpcio-1.66.2 idna-3.10 imageio-2.35.1 importlib-metadata-8.5.0 importlib-resources-6.4.5 ipython-8.12.3 jedi-0.19.1 jinja2-3.1.4 kiwisolver-1.4.7 lazy_loader-0.4 markdown-3.7 matplotlib-3.7.5 matplotlib-inline-0.1.7 mpmath-1.3.0 networkx-3.1 numpy-1.24.4 oauthlib-3.2.2 opencv-python-4.10.0.84 opencv-python-headless-4.10.0.84 packaging-24.1 pandas-2.0.3 parso-0.8.4 pickleshare-0.7.5 prompt-toolkit-3.0.48 protobuf-5.28.2 psutil-6.0.0 pure-eval-0.2.3 pyasn1-0.6.1 pyasn1-modules-0.4.1 pycocotools-2.0.7 pydantic-2.9.2 pydantic-core-2.23.4 pygments-2.18.0 pyparsing-3.1.4 python-dateutil-2.9.0.post0 pytz-2024.2 requests-2.32.3 requests-oauthlib-2.0.0 rsa-4.9 scikit-image-0.21.0 scipy-1.10.1 seaborn-0.13.2 six-1.16.0 smmap-5.0.1 stack-data-0.6.3 sympy-1.13.3 tensorboard-2.14.0 tensorboard-data-server-0.7.2 thop-0.1.1.post2209072238 tifffile-2023.7.10 torch-2.4.1 torchvision-0.19.1 tqdm-4.66.5 traitlets-5.14.3 typing-extensions-4.12.2 tzdata-2024.2 urllib3-2.2.3 wcwidth-0.2.13 werkzeug-3.0.4 zipp-3.20.2
(yolov9) E:\new work space\python\yolov9>python detect.py --weights './yolov9-s-converted.pt'
detect: weights=["'./yolov9-s-converted.pt'"], source=data\images, data=data\coco128.yaml, imgsz=[640, 640], conf_thres=0.25, iou_thres=0.45, max_det=1000, device=, view_img=False, save_txt=False, save_conf=False, save_crop=False, nosave=False, classes=None, agnostic_nms=False, augment=False, visualize=False, update=False, project=runs\detect, name=exp, exist_ok=False, line_thickness=3, hide_labels=False, hide_conf=False, half=False, dnn=False, vid_stride=1
fatal: cannot change to 'E:\new': No such file or directory
YOLO 2024-10-14 Python-3.8.20 torch-2.4.1+cpu CPU
Traceback (most recent call last):
File "detect.py", line 231, in <module>
main(opt)
File "detect.py", line 226, in main
run(**vars(opt))
File "E:\users\86170\anaconda3\envs\yolov9\lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "detect.py", line 68, in run
model = DetectMultiBackend(weights, device=device, dnn=dnn, data=data, fp16=half)
File "E:\new work space\python\yolov9\models\common.py", line 696, in __init__
pt, jit, onnx, onnx_end2end, xml, engine, coreml, saved_model, pb, tflite, edgetpu, tfjs, paddle, triton = self._model_type(w)
File "E:\new work space\python\yolov9\models\common.py", line 967, in _model_type
check_suffix(p, sf) # checks
File "E:\new work space\python\yolov9\utils\general.py", line 447, in check_suffix
assert s in suffix, f"{msg}{f} acceptable suffix is {suffix}"
AssertionError: './yolov9-s-converted.pt' acceptable suffix is ['.pt', '.torchscript', '.onnx', '_end2end.onnx', '_openvino_model', '.engine', '.mlmodel', '_saved_model', '.pb', '.tflite', '_edgetpu.tflite', '_web_model', '_paddle_model']
(yolov9) E:\new work space\python\yolov9>
log2
Microsoft Windows [版本 10.0.19042.1706]
(c) Microsoft Corporation。保留所有权利。
E:\Project\python>cit clone https://github.com/WongKinYiu/yolov9.git
'cit' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
E:\Project\python>git clone https://github.com/WongKinYiu/yolov9.git
Cloning into 'yolov9'...
remote: Enumerating objects: 781, done.
Rremote: Total 781 (delta 0), reused 0 (delta 0), pack-reused 781 (from 1)
R50 MiB/s
Receiving objects: 100% (781/781), 3.27 MiB | 1.52 MiB/s, done.
Resolving deltas: 100% (330/330), done.
E:\Project\python>cd yolov9
E:\Project\python\yolov9>conda activate yolov9
(yolov9) E:\Project\python\yolov9>python detect.py --weights './yolov9-s-converted.pt'
detect: weights=["'./yolov9-s-converted.pt'"], source=data\images, data=data\coco128.yaml, imgsz=[640, 640], conf_thres=0.25, iou_thres=0.45, max_det=1000, device=, view_img=False, save_txt=False, save_conf=False, save_crop=False, nosave=False, classes=None, agnostic_nms=False, augment=False, visualize=False, update=False, project=runs\detect, name=exp, exist_ok=False, line_thickness=3, hide_labels=False, hide_conf=False, half=False, dnn=False, vid_stride=1
YOLO v0.1-104-g5b1ea9a Python-3.8.20 torch-2.4.1+cpu CPU
Traceback (most recent call last):
File "detect.py", line 231, in <module>
main(opt)
File "detect.py", line 226, in main
run(**vars(opt))
File "E:\users\86170\anaconda3\envs\yolov9\lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "detect.py", line 68, in run
model = DetectMultiBackend(weights, device=device, dnn=dnn, data=data, fp16=half)
File "E:\Project\python\yolov9\models\common.py", line 696, in __init__
pt, jit, onnx, onnx_end2end, xml, engine, coreml, saved_model, pb, tflite, edgetpu, tfjs, paddle, triton = self._model_type(w)
File "E:\Project\python\yolov9\models\common.py", line 967, in _model_type
check_suffix(p, sf) # checks
File "E:\Project\python\yolov9\utils\general.py", line 447, in check_suffix
assert s in suffix, f"{msg}{f} acceptable suffix is {suffix}"
AssertionError: './yolov9-s-converted.pt' acceptable suffix is ['.pt', '.torchscript', '.onnx', '_end2end.onnx', '_openvino_model', '.engine', '.mlmodel', '_saved_model', '.pb', '.tflite', '_edgetpu.tflite', '_web_model', '_paddle_model']
(yolov9) E:\Project\python\yolov9>python detect.py --weights './yolov9-s.pt'
detect: weights=["'./yolov9-s.pt'"], source=data\images, data=data\coco128.yaml, imgsz=[640, 640], conf_thres=0.25, iou_thres=0.45, max_det=1000, device=, view_img=False, save_txt=False, save_conf=False, save_crop=False, nosave=False, classes=None, agnostic_nms=False, augment=False, visualize=False, update=False, project=runs\detect, name=exp, exist_ok=False, line_thickness=3, hide_labels=False, hide_conf=False, half=False, dnn=False, vid_stride=1
YOLO v0.1-104-g5b1ea9a Python-3.8.20 torch-2.4.1+cpu CPU
Traceback (most recent call last):
File "detect.py", line 231, in <module>
main(opt)
File "detect.py", line 226, in main
run(**vars(opt))
File "E:\users\86170\anaconda3\envs\yolov9\lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "detect.py", line 68, in run
model = DetectMultiBackend(weights, device=device, dnn=dnn, data=data, fp16=half)
File "E:\Project\python\yolov9\models\common.py", line 696, in __init__
pt, jit, onnx, onnx_end2end, xml, engine, coreml, saved_model, pb, tflite, edgetpu, tfjs, paddle, triton = self._model_type(w)
File "E:\Project\python\yolov9\models\common.py", line 967, in _model_type
check_suffix(p, sf) # checks
File "E:\Project\python\yolov9\utils\general.py", line 447, in check_suffix
assert s in suffix, f"{msg}{f} acceptable suffix is {suffix}"
AssertionError: './yolov9-s.pt' acceptable suffix is ['.pt', '.torchscript', '.onnx', '_end2end.onnx', '_openvino_model', '.engine', '.mlmodel', '_saved_model', '.pb', '.tflite', '_edgetpu.tflite', '_web_model', '_paddle_model']
(yolov9) E:\Project\python\yolov9>detect.py --weights './yolov9-s.pt'
detect: weights=["'./yolov9-s.pt'"], source=data\images, data=data\coco128.yaml, imgsz=[640, 640], conf_thres=0.25, iou_thres=0.45, max_det=1000, device=, view_img=False, save_txt=False, save_conf=False, save_crop=False, nosave=False, classes=None, agnostic_nms=False, augment=False, visualize=False, update=False, project=runs\detect, name=exp, exist_ok=False, line_thickness=3, hide_labels=False, hide_conf=False, half=False, dnn=False, vid_stride=1
YOLO v0.1-104-g5b1ea9a Python-3.8.10 torch-2.2.1+cu121 CUDA:0 (NVIDIA GeForce GTX 1050, 3072MiB)
Traceback (most recent call last):
File "E:\Project\python\yolov9\detect.py", line 231, in <module>
main(opt)
File "E:\Project\python\yolov9\detect.py", line 226, in main
run(**vars(opt))
File "D:\Program Files\Python\Python38\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "E:\Project\python\yolov9\detect.py", line 68, in run
model = DetectMultiBackend(weights, device=device, dnn=dnn, data=data, fp16=half)
File "E:\Project\python\yolov9\models\common.py", line 696, in __init__
pt, jit, onnx, onnx_end2end, xml, engine, coreml, saved_model, pb, tflite, edgetpu, tfjs, paddle, triton = self._model_type(w)
File "E:\Project\python\yolov9\models\common.py", line 967, in _model_type
check_suffix(p, sf) # checks
File "E:\Project\python\yolov9\utils\general.py", line 447, in check_suffix
assert s in suffix, f"{msg}{f} acceptable suffix is {suffix}"
AssertionError: './yolov9-s.pt' acceptable suffix is ['.pt', '.torchscript', '.onnx', '_end2end.onnx', '_openvino_model', '.engine', '.mlmodel', '_saved_model', '.pb', '.tflite', '_edgetpu.tflite', '_web_model', '_paddle_model']
(yolov9) E:\Project\python\yolov9>detect.py --weights './yolov9-s.pt'
detect: weights=["'./yolov9-s.pt'"], source=data\images, data=data\coco128.yaml, imgsz=[640, 640], conf_thres=0.25, iou_thres=0.45, max_det=1000, device=, view_img=False, save_txt=False, save_conf=False, save_crop=False, nosave=False, classes=None, agnostic_nms=False, augment=False, visualize=False, update=False, project=runs\detect, name=exp, exist_ok=False, line_thickness=3, hide_labels=False, hide_conf=False, half=False, dnn=False, vid_stride=1
YOLO v0.1-104-g5b1ea9a Python-3.8.10 torch-2.2.1+cu121 CUDA:0 (NVIDIA GeForce GTX 1050, 3072MiB)
Traceback (most recent call last):
File "E:\Project\python\yolov9\detect.py", line 231, in <module>
main(opt)
File "E:\Project\python\yolov9\detect.py", line 226, in main
run(**vars(opt))
File "D:\Program Files\Python\Python38\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "E:\Project\python\yolov9\detect.py", line 68, in run
model = DetectMultiBackend(weights, device=device, dnn=dnn, data=data, fp16=half)
File "E:\Project\python\yolov9\models\common.py", line 696, in __init__
pt, jit, onnx, onnx_end2end, xml, engine, coreml, saved_model, pb, tflite, edgetpu, tfjs, paddle, triton = self._model_type(w)
File "E:\Project\python\yolov9\models\common.py", line 967, in _model_type
check_suffix(p, sf) # checks
File "E:\Project\python\yolov9\utils\general.py", line 447, in check_suffix
assert s in suffix, f"{msg}{f} acceptable suffix is {suffix}"
AssertionError: './yolov9-s.pt' acceptable suffix is ['.pt', '.torchscript', '.onnx', '_end2end.onnx', '_openvino_model', '.engine', '.mlmodel', '_saved_model', '.pb', '.tflite', '_edgetpu.tflite', '_web_model', '_paddle_model']
(yolov9) E:\Project\python\yolov9>detect.py
detect: weights=yolo.pt, source=data\images, data=data\coco128.yaml, imgsz=[640, 640], conf_thres=0.25, iou_thres=0.45, max_det=1000, device=, view_img=False, save_txt=False, save_conf=False, save_crop=False, nosave=False, classes=None, agnostic_nms=False, augment=False, visualize=False, update=False, project=runs\detect, name=exp, exist_ok=False, line_thickness=3, hide_labels=False, hide_conf=False, half=False, dnn=False, vid_stride=1
YOLO v0.1-104-g5b1ea9a Python-3.8.10 torch-2.2.1+cu121 CUDA:0 (NVIDIA GeForce GTX 1050, 3072MiB)
Traceback (most recent call last):
File "E:\Project\python\yolov9\detect.py", line 231, in <module>
main(opt)
File "E:\Project\python\yolov9\detect.py", line 226, in main
run(**vars(opt))
File "D:\Program Files\Python\Python38\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "E:\Project\python\yolov9\detect.py", line 68, in run
model = DetectMultiBackend(weights, device=device, dnn=dnn, data=data, fp16=half)
File "E:\Project\python\yolov9\models\common.py", line 705, in __init__
model = attempt_load(weights if isinstance(weights, list) else w, device=device, inplace=True, fuse=fuse)
File "E:\Project\python\yolov9\models\experimental.py", line 243, in attempt_load
ckpt = torch.load(attempt_download(w), map_location='cpu') # load
File "D:\Program Files\Python\Python38\lib\site-packages\torch\serialization.py", line 998, in load
with _open_file_like(f, 'rb') as opened_file:
File "D:\Program Files\Python\Python38\lib\site-packages\torch\serialization.py", line 445, in _open_file_like
return _open_file(name_or_buffer, mode)
File "D:\Program Files\Python\Python38\lib\site-packages\torch\serialization.py", line 426, in __init__
super().__init__(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'yolo.pt'
(yolov9) E:\Project\python\yolov9>detect.py
detect: weights=yolov9-s-converted.pt, source=data\images, data=data\coco128.yaml, imgsz=[640, 640], conf_thres=0.25, iou_thres=0.45, max_det=1000, device=, view_img=False, save_txt=False, save_conf=False, save_crop=False, nosave=False, classes=None, agnostic_nms=False, augment=False, visualize=False, update=False, project=runs\detect, name=exp, exist_ok=False, line_thickness=3, hide_labels=False, hide_conf=False, half=False, dnn=False, vid_stride=1
YOLO v0.1-104-g5b1ea9a Python-3.8.10 torch-2.2.1+cu121 CUDA:0 (NVIDIA GeForce GTX 1050, 3072MiB)
Fusing layers...
gelan-s summary: 489 layers, 7105888 parameters, 34224 gradients, 26.4 GFLOPs
image 1/1 E:\Project\python\yolov9\data\images\horses.jpg: 448x640 5 horses, 64.8ms
Speed: 3.0ms pre-process, 64.8ms inference, 273.5ms NMS per image at shape (1, 3, 640, 640)
Results saved to runs\detect\exp6
(yolov9) E:\Project\python\yolov9>detect.py
detect: weights=yolo.pt, source=data\images, data=data\coco128.yaml, imgsz=[640, 640], conf_thres=0.25, iou_thres=0.45, max_det=1000, device=, view_img=False, save_txt=False, save_conf=False, save_crop=False, nosave=False, classes=None, agnostic_nms=False, augment=False, visualize=False, update=False, project=runs\detect, name=exp, exist_ok=False, line_thickness=3, hide_labels=False, hide_conf=False, half=False, dnn=False, vid_stride=1
YOLO v0.1-104-g5b1ea9a Python-3.8.10 torch-2.2.1+cu121 CUDA:0 (NVIDIA GeForce GTX 1050, 3072MiB)
Fusing layers...
gelan-s summary: 489 layers, 7105888 parameters, 34224 gradients, 26.4 GFLOPs
image 1/1 E:\Project\python\yolov9\data\images\horses.jpg: 448x640 5 horses, 63.4ms
Speed: 0.0ms pre-process, 63.4ms inference, 65.8ms NMS per image at shape (1, 3, 640, 640)
Results saved to runs\detect\exp7
(yolov9) E:\Project\python\yolov9>