Files
FastDeploy/examples/vision/facedet/scrfd/README.md
charl-u cbf88a46fa [Doc]Update English version of some documents (#1083)
* 第一次提交

* 补充一处漏翻译

* 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
2023-01-09 10:08:19 +08:00

4.2 KiB
Raw Blame History

English | 简体中文

SCRFD Ready-to-deploy Model

Export ONNX Model

# Download scrfd model files
e.g. download from  https://onedrive.live.com/?authkey=%21ABbFJx2JMhNjhNA&id=4A83B6B633B029CC%215542&cid=4A83B6B633B029CC

# Install the official library to configure the environment. This version should be exported in the following environment:
- Configure the environment manually
  torch==1.8.0
  mmcv==1.3.5
  mmdet==2.7.0

- Configure via docker
  docker pull qyjdefdocker/onnx-scrfd-converter:v0.3

# Export files in onnx format
- Manual generation
  python tools/scrfd2onnx.py configs/scrfd/scrfd_500m.py weights/scrfd_500m.pth --shape 640 --input-img face-xxx.jpg

- docker
  onnx files are in docker's onnx directory

Download Pre-trained ONNX Models

For developers' testing, models exported by SCRFD are provided below. Developers can download and use them directly. (The accuracy of the models in the table is sourced from the official library)

Model Size Accuracy
SCRFD-500M-kps-160 2.5MB -
SCRFD-500M-160 2.2MB -
SCRFD-500M-kps-320 2.5MB -
SCRFD-500M-320 2.2MB -
SCRFD-500M-kps-640 2.5MB 90.97%
SCRFD-500M-640 2.2MB 90.57%
SCRFD-1G-160 2.5MB -
SCRFD-1G-320 2.5MB -
SCRFD-1G-640 2.5MB 92.38%
SCRFD-2.5G-kps-160 3.2MB -
SCRFD-2.5G-160 2.6MB -
SCRFD-2.5G-kps-320 3.2MB -
SCRFD-2.5G-320 2.6MB -
SCRFD-2.5G-kps-640 3.2MB 93.8%
SCRFD-2.5G-640 2.6MB 93.78%
SCRFD-10G-kps-320 17MB -
SCRFD-10G-320 15MB -
SCRFD-10G-kps-640 17MB 95.4%
SCRFD-10G-640 15MB 95.16%
SCRFD-10G-kps-1280 17MB -
SCRFD-10G-1280 15MB -

Detailed Deployment Tutorials

Release Note