# YOLOPv2
**Repository Path**: SleepyWood/YOLOPv2
## Basic Information
- **Project Name**: YOLOPv2
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 2
- **Created**: 2023-10-31
- **Last Updated**: 2024-11-13
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
YOLOPv2:rocket:: Better, Faster, Stronger for Panoptic driving Perception
Cheng Han, Qichao Zhao, Shuyi Zhang, Yinzi Chen, Zhenlin Zhang, Jinwei Yuan
## News
* `August 30, 2022`: We've released the inference code / trained model and published [](https://huggingface.co/spaces/hank1996/yolopv2)[web demo](https://huggingface.co/spaces/hank1996/yolopv2), just enjoy it !
* `August 24, 2022`: We've released the tech report for **YOLOPv2**. This work is still in progress and code/models are coming soon. Please stay tuned! ☕️
## Introduction
:grin:We present an excellent multi-task network based on YOLOP:blue_heart:,which is called **YOLOPv2: Better, Faster, Stronger for Panoptic driving Perception**.
The advantages of **YOLOPv2** can be summaried as below:
* **Better**:clap:: we proposed the end-to-end perception network which possess better feature extraction backbone, better bag-of-freebies were developed for dealing with the training process.
* **Faster**:airplane:: we employed more efficient ELAN structures to achieve reasonable memory allocation for our model.
* **Stronger**:muscle:: the proposed model has stable network design and has powerful robustness for adapting to various scenarios .
[](https://paperswithcode.com/sota/traffic-object-detection-on-bdd100k?p=yolopv2-better-faster-stronger-for-panoptic)
[](https://paperswithcode.com/sota/drivable-area-detection-on-bdd100k?p=yolopv2-better-faster-stronger-for-panoptic)
[](https://paperswithcode.com/sota/lane-detection-on-bdd100k?p=yolopv2-better-faster-stronger-for-panoptic)
## Results
We used the BDD100K as our datasets,and experiments are run on **NVIDIA TESLA V100**.
### Web Demo
- Integrated into [Huggingface Spaces 🤗](https://huggingface.co/spaces/hank1996/yolopv2) using Gradio. Try out the Web Demo !
### Visualization
model : trained on the BDD100k dataset and test on T3CAIC camera.
 |
### Model parameter and inference speed
| Model | Size | Params | Speed (fps) |
|:------------------:|:-----------:|:----------:|:-----------:|
| `YOLOP` | 640 | 7.9M | 49 |
| `HybridNets` | 640 | 12.8M | 28 |
| **`YOLOPv2`** | 640 | **38.9M** | **91 (+42)** :arrow_double_up: |
### Traffic Object Detection Result
| Result | Visualization |
|
| Model | mAP@0.5 (%) |Recall (%) |
|:------------------:|:------------:|:---------------:|
| `MultiNet` | 60.2 | 81.3 |
| `DLT-Net` | 68.4 | 89.4 |
| `Faster R-CNN` | 55.6 | 77.2 |
| `YOLOv5s` | 77.2 | 86.8 |
| `YOLOP` | 76.5 | 89.2 |
| `HybridNets` | 77.3 | **92.8** |
| **`YOLOPv2`** | **83.4(+6.1)**:arrow_double_up: | 91.1(-1.7) :arrow_down: |
|
|
### Drivable Area Segmentation
| Result | Visualization |
|
| Model | Drivable mIoU (%) |——:relaxed:——|
|:----------------:|:-----------------:|---:|
| `MultiNet` | 71.6 | |
| `DLT-Net` | 71.3 ||
| `PSPNet` | 89.6 ||
| `YOLOP` | 91.5 ||
| `HybridNets` | 90.5 ||
| `YOLOPv2` | **93.2(+1.7)** :arrow_up: | |
|
|
### Lane Line Detection
| Result | Visualization |
|
| Model | Accuracy (%) | Lane Line IoU (%) |
|:----------------:|:------------:|:-----------------:|
| `Enet` | 34.12 | 14.64 |
| `SCNN` | 35.79 | 15.84 |
| `Enet-SAD` | 36.56 | 16.02 |
| `YOLOP` | 70.5 | 26.2 |
| `HybridNets` | 85.4 | **31.6** |
| **`YOLOPv2`** | **87.3(+1.9)**:arrow_up: | 27.2(-4.4) :arrow_down: |
|
|
### Day-time and Night-time visualization results
## Models
You can get the model from here.
### Demo Test
We provide two testing method.You can store the image or video.
```shell
python demo.py --source data/example.jpg
```
### Third Parties Resource
* YOLOPv2 NCNN C++ Demo: [YOLOPv2-ncnn](https://github.com/FeiGeChuanShu/YOLOPv2-ncnn) from [FeiGeChuanShu](https://github.com/FeiGeChuanShu/)
* YOLOPv2 ONNX and OpenCV DNN Demo: [yolopv2-opencv-onnxrun-cpp-py](https://github.com/hpc203/yolopv2-opencv-onnxrun-cpp-py) from [hpc203](https://github.com/hpc203/)
## License
YOLOPv2 is released under the [MIT Licence](LICENSE).