YOLOX is an anchor-free version of YOLO, with a simpler design but better performance! It aims to bridge the gap between research and industrial communities.
For more details, please refer to our report on Arxiv.
This repo is an implementation of PyTorch version YOLOX, there is also a MegEngine implementation.
Updates!!
【2023/10/23】 We employ YOLOX(commit id ac58e0a5e68e57454b7b9ac822aced493b553c53) as the first stage in Apollo camera_detection_multi_stage component.
【2023/02/28】 We support assignment visualization tool, see doc here.
【2022/04/14】 We support jit compile op.
【2021/08/19】 We optimize the training process with 2x faster training and ~1% higher performance! See notes for more details.
To log metrics, predictions and model checkpoints to W&B use the command line argument --logger wandb and use the prefix “wandb-“ to specify arguments for initializing the wandb run.
Introduction
YOLOX is an anchor-free version of YOLO, with a simpler design but better performance! It aims to bridge the gap between research and industrial communities. For more details, please refer to our report on Arxiv.
This repo is an implementation of PyTorch version YOLOX, there is also a MegEngine implementation.
Updates!!
Quick Start
Installation
Step1. Install YOLOX from source.
Demo
Step1. Download a pretrained model from the benchmark table.
(M)
Step2. For example, here we use best_L4_ckpt model:
then you will find result under path
YOLOX_outputs/yolox_s/.Reproduce our results on KITTI
Step1. Prepare KITTI dataset
Step2. Tools for kitti type datasets We provide tools for KITTI type datasets which can help to trans it to VOC type : readme
Step3. change kitti configs
Step4. Reproduce our results on KITTI:
or resume
If you want to visuialize your results, please refer to Visualization guides
Export
We support batch testing for fast evaluation:
Multi Machine Training
We also support multi-nodes training. Just add the following args:
Suppose you want to train YOLOX on 2 machines, and your master machines’s IP is 123.123.123.123, use port 12312 and TCP.
On master machine, run
On the second machine, run
Logging to Weights & Biases
To log metrics, predictions and model checkpoints to W&B use the command line argument
--logger wandband use the prefix “wandb-“ to specify arguments for initializing the wandb run.An example wandb dashboard is available here
Others
See more information with the following command:
Evaluation
We support batch testing for fast evaluation:
To reproduce speed test, we use the following command:
Tutorials
Deployment
Cite YOLOX
If you use YOLOX in your research, please cite our work by using the following BibTeX entry:
@articleyolox2021,title=YOLOX:ExceedingYOLOSeriesin2021,author=Ge,ZhengandLiu,SongtaoandWang,FengandLi,ZemingandSun,Jian,journal=arXivpreprintarXiv:2107.08430,year=2021