File size: 520 Bytes
f17d9c2 dad1dff f17d9c2 dad1dff 89032ba dad1dff |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
---
license: gpl-3.0
inference: false
tags:
- object-detection
- computer-vision
- yolov6
- pypi
datasets:
- detection-datasets/coco
---
### Installation
```
pip install yolov6detect
```
### Yolov6 Inference
```python
from yolov6 import YOLOV6
model = YOLOV6(weights='kadirnar/yolov6s-v2.0', device='cuda:0')
model.classes = None
model.conf_thres = 0.25
model.iou_thresh = 0.45
model.view_img = False
model.save_img = True
pred = model.predict(source='data/images',yaml='data/coco.yaml', img_size=640)
``` |