mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
* add ppl install doc and how to test a model doc * remove mmdet model list in ppl.md * resolve comments * fix typo * add mmocr doc * mv configs as the final column * fix typo and align tables * fix lint
714 B
714 B
PPL Support
This tutorial is based on Linux systems like Ubuntu-18.04.
Installation
-
Please install pyppl following install-guide.
-
Install MMdeploy following the instructions.
Usage
Example:
python tools/deploy.py \
configs/mmdet/single-stage/single-stage_ppl_dynamic.py \
/mmdetection_dir/mmdetection/configs/retinanet/retinanet_r50_fpn_1x_coco.py \
/tmp/snapshots/retinanet_r50_fpn_1x_coco_20200130-c2398f9e.pth \
tests/data/tiger.jpeg \
--work-dir ../deploy_result \
--device cuda \
--log-level INFO \