File size: 1,181 Bytes
da18eef
 
baa93a6
 
 
 
 
 
 
 
 
 
 
72c30eb
da18eef
baa93a6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72c30eb
 
 
 
f302765
 
72c30eb
baa93a6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
license: gpl-3.0
tags:
- object-detection
- computer-vision
- yolor
- yolov4
datasets:
- detection-datasets/coco
language:
- en
pipeline_tag: object-detection
library_name: yolor
library_version: 0.0.3
---

### Model Description
[YOLOR:](https://arxiv.org/abs/2105.04206)  You Only Learn One Representation: Unified Network for Multiple Tasks.

[YOLOR-Pip:](https://github.com/kadirnar/yolor-pip/) Packaged version of the YOLOR repository

[Paper Repo:](https://github.com/WongKinYiu/yolor/) Implementation of paper - YOLOR

### Installation
```
pip install yolor
```

### Yolov6 Inference
```python
from yolor.helpers import Yolor

model = Yolor(
  cfg='yolor/cfg/yolor_p6.cfg',
  weights='kadirnar/yolor-p6',
  imgsz=640,
  device='cuda:0',
  hf_model=True
)

model.classes = None
model.conf = 0.25
model.iou_ = 0.45
model.show = False
model.save = True

model.predict('yolor/data/highway.jpg')
```

### BibTeX Entry and Citation Info
 ```
@article{wang2021you,
  title={You Only Learn One Representation: Unified Network for Multiple Tasks},
  author={Wang, Chien-Yao and Yeh, I-Hau and Liao, Hong-Yuan Mark},
  journal={arXiv preprint arXiv:2105.04206},
  year={2021}
}
```