mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-04 08:16:42 +08:00

* 第一次提交 * 补充一处漏翻译 * deleted: docs/en/quantize.md * Update one translation * Update en version * Update one translation in code * Standardize one writing * Standardize one writing * Update some en version * Fix a grammer problem * Update en version for api/vision result * Merge branch 'develop' of https://github.com/charl-u/FastDeploy into develop * Checkout the link in README in vision_results/ to the en documents * Modify a title * Add link to serving/docs/ * Finish translation of demo.md * Update english version of serving/docs/ * Update title of readme * Update some links * Modify a title * Update some links * Update en version of java android README * Modify some titles * Modify some titles * Modify some titles * modify article to document * update some english version of documents in examples * Add english version of documents in examples/visions * Sync to current branch * Add english version of documents in examples * Add english version of documents in examples * Add english version of documents in examples * Update some documents in examples * Update some documents in examples * Update some documents in examples * Update some documents in examples * Update some documents in examples * Update some documents in examples * Update some documents in examples * Update some documents in examples * Update some documents in examples
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