当前位置:网站首页>MT yolov6 training and testing

MT yolov6 training and testing

2022-06-29 09:02:00 Master Ma

1、 View virtual environment

conda env list

 Insert picture description here

2、 Delete virtual environment

conda env remove -p  Virtual environment path to delete 

Example

conda env remove -p C:\Users\Admin\anaconda3\envs\pointbert

 Insert picture description here

3、 New virtual environment

conda create -n env python==3.6( Version number )

 Insert picture description here

4、 Activate the virtual environment

conda activate yolo6

 Insert picture description here

5、 Get into yolo6 Folder

cd C:\Users\Admin\Desktop\YOLOv6-main

6、 Environment required for installation

pip install -r requirements.txt

 Insert picture description here
 Insert picture description here

7、 Download weight
https://github.com/meituan/YOLOv6/releases/tag/0.1.0
 Insert picture description here
Put it under the project folder
 Insert picture description here
8、 Yes yolo6 To test

python tools/infer.py --weights yolov6s.pt --source img.jpg / imgdir

Execute the following instructions

python tools/infer.py --weights yolov6s.pt --source data/images

The test results are as follows :
 Insert picture description here
The test results are in runs\inference\exp Under the folder
 Insert picture description here

 Insert picture description here
 Insert picture description here
 Insert picture description here
9、 The system configuration
see torch edition
 Insert picture description here
see cuda edition
nvcc --versio Insert picture description here

原网站

版权声明
本文为[Master Ma]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/180/202206290820001709.html