Socket
Socket
Sign inDemoInstall

yolor

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yolor

Packaged version of the Yolor repository


Maintainers
1

Yolor-Pip: Packaged version of the Yolor repository

teaser
downloads pypi version

Overview

This repo is a packaged version of the Yolor model.

Benchmark

ModelTest SizeAPtestAP50testAP75testbatch1 throughputbatch32 inference
YOLOR-CSP64052.8%71.2%57.6%106 fps3.2 ms
YOLOR-CSP-X64054.8%73.1%59.7%87 fps5.5 ms
YOLOR-P6128055.7%73.3%61.0%76 fps8.3 ms
YOLOR-W6128056.9%74.4%62.2%66 fps10.7 ms
YOLOR-E6128057.6%75.2%63.0%45 fps17.1 ms
YOLOR-D6128058.2%75.8%63.8%34 fps21.8 ms
YOLOv4-P589651.8%70.3%56.6%41 fps (old)-
YOLOv4-P6128054.5%72.6%59.8%30 fps (old)-
YOLOv4-P7153655.5%73.4%60.8%16 fps (old)-

Installation

pip install yolor

Yolov6 Inference

from yolor.helpers import Yolor

model = Yolor(cfg='yolor/cfg/yolor_p6.cfg', weights='yolor/yolor_p6.pt', imgsz=640, device='cuda:0')

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

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

Citation

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc