yolor-p6 / README.md
kadirnar's picture
Update README.md
f302765
metadata
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: You Only Learn One Representation: Unified Network for Multiple Tasks.

YOLOR-Pip: Packaged version of the YOLOR repository

Paper Repo: Implementation of paper - YOLOR

Installation

pip install yolor

Yolov6 Inference

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}
}