Files
FastDeploy/examples/vision/matting/modnet
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
..

English | 简体中文

MODNet Ready-to-deploy Model

Export ONNX Model

Visit MODNet official github repository, follow the guidelines to download model files, and employ onnx/export_onnx.py to get files in onnx format.

  • Export files in onnx format
    python -m onnx.export_onnx \
      --ckpt-path=pretrained/modnet_photographic_portrait_matting.ckpt \
      --output-path=pretrained/modnet_photographic_portrait_matting.onnx
    

Download Pre-trained ONNX Model

For developers' testing, models exported by MODNet are provided below. Developers can download them directly. (The accuracy in the following table is derived from the source official repository)

Model Size Accuracy
modnet_photographic 25MB -
modnet_webcam 25MB -
modnet_photographic_256 25MB -
modnet_webcam_256 25MB -
modnet_photographic_512 25MB -
modnet_webcam_512 25MB -
modnet_photographic_1024 25MB -
modnet_webcam_1024 25MB -

Detailed Deployment Tutorials

Release Note