mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 00:57:33 +08:00

* add GPL lisence * add GPL-3.0 lisence * add GPL-3.0 lisence * add GPL-3.0 lisence * support yolov8 * add pybind for yolov8 * add yolov8 readme Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
4.2 KiB
Executable File
4.2 KiB
Executable File
English | 简体中文
ScaledYOLOv4 Ready-to-deploy Model
-
The ScaledYOLOv4 deployment is based on the code of ScaledYOLOv4 and Pre-trained Model on COCO.
- (1)The *.pt provided by Official Repository should Export the ONNX Model to complete the deployment;
- (2)The ScaledYOLOv4 model trained by personal data should Export the ONNX Model. Refer to Detailed Deployment Documents to complete the deployment.
Export the ONNX Model
Visit the official ScaledYOLOv4 github repository, follow the guidelines to download the scaledyolov4.pt
model, and employ models/export.py
to get the file in onnx
format. If you have any problems with the exported onnx
model, refer to ScaledYOLOv4#401 for solution.
# Download the ScaledYOLOv4 model file
Download from the goole drive https://drive.google.com/file/d/1aXZZE999sHMP1gev60XhNChtHPRMH3Fz/view?usp=sharing
# Export the file in onnx format
python models/export.py --weights PATH/TO/scaledyolov4-xx.pt --img-size 640
Download Pre-trained ONNX Model
For developers' testing, models exported by ScaledYOLOv4 are provided below. Developers can download them directly. (The accuracy in the following table is derived from the source official repository)
Model | Size | Accuracy | Note |
---|---|---|---|
ScaledYOLOv4-P5-896 | 271MB | 51.2% | This model file is sourced from ScaledYOLOv4,GPL-3.0 License |
ScaledYOLOv4-P5+BoF-896 | 271MB | 51.7% | This model file is sourced from ScaledYOLOv4,GPL-3.0 License |
ScaledYOLOv4-P6-1280 | 487MB | 53.9% | This model file is sourced from ScaledYOLOv4,GPL-3.0 License |
ScaledYOLOv4-P6+BoF-1280 | 487MB | 54.4% | This model file is sourced from ScaledYOLOv4,GPL-3.0 License |
ScaledYOLOv4-P7-1536 | 1.1GB | 55.0% | This model file is sourced from ScaledYOLOv4,GPL-3.0 License |
ScaledYOLOv4-P5 | 271MB | - | This model file is sourced from ScaledYOLOv4,GPL-3.0 License |
ScaledYOLOv4-P5+BoF | 271MB | - | This model file is sourced from ScaledYOLOv4,GPL-3.0 License |
ScaledYOLOv4-P6 | 487MB | - | This model file is sourced from ScaledYOLOv4,GPL-3.0 License |
ScaledYOLOv4-P6+BoF | 487MB | - | This model file is sourced from ScaledYOLOv4,GPL-3.0 License |
ScaledYOLOv4-P7 | 1.1GB | - | This model file is sourced from ScaledYOLOv4,GPL-3.0 License |
Detailed Deployment Documents
Release Note
- Document and code are based on ScaledYOLOv4 CommitID: 6768003