An analyzer of paddlepaddle omz to for openvino.
- install paddlepaddle>=2.1
- git clone below model zoo repos. Make sure to checkout to corresponding branch of paddlepaddle, for example, "release/2.1". No need to compile them. Just put them at the same folder of PaddleOMZAnalyzer.
https://github.com/PaddlePaddle/PaddleDetection/blob/release/2.1/deploy/EXPORT_MODEL.md
https://github.com/PaddlePaddle/PaddleSeg/blob/release/2.1/docs/model_export.md
It provides exported model, directly download inference_model. https://github.com/PaddlePaddle/PaddleOCR#pp-ocr-20-series-model-listupdate-on-dec-15
[NLP pretrained model summary] https://paddlenlp.readthedocs.io/zh/latest/model_zoo/transformers.html#transformer https://github.com/PaddlePaddle/PaddleNLP/blob/develop/docs/model_zoo/transformers.rst
[BiGRU_CRF] https://github.com/PaddlePaddle/PaddleNLP/tree/develop/examples/information_extraction/waybill_ie
-
PaddleClas
python3 tools/export_model.py -c ./ppcls/configs/quick_start/MobileNetV3_large_x1_0.yaml -o Global.pretrained_model=../PaddleOMZAnalyzer/downloader/paddleclas/MobileNetV3_large_x1_0_pretrained -o Global.device=cpu -o Global.save_inference_dir=../PaddleOMZAnalyzer/exporter/paddleclas/
-
PaddleDetection
python tools/export_model.py -c configs/ppyolo/ppyolo_r50vd_dcn_1x_coco.yml -o use_gpu=false weights=https://paddledet.bj.bcebos.com/models/ppyolo_r50vd_dcn_1x_coco.pdparams TestReader.inputs_def.image_shape=[3,608,608] --output_dir ../PaddleOMZAnalyzer/exporter/paddledetection/