From 4f2487ac34f8abd975ff3d23830ea7df8868cbcc Mon Sep 17 00:00:00 2001 From: FlyingQianMM <245467267@qq.com> Date: Fri, 31 Jul 2020 12:00:37 +0800 Subject: [PATCH] add deleted entropy model usage back into meter_reader docs --- docs/examples/meter_reader.md | 8 ++++++++ examples/meter_reader/README.md | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/docs/examples/meter_reader.md b/docs/examples/meter_reader.md index f30868b..4fecce8 100644 --- a/docs/examples/meter_reader.md +++ b/docs/examples/meter_reader.md @@ -176,6 +176,14 @@ step 5. 推理预测: .\paddlex_inference\meter_reader.exe --det_model_dir=\path\to\det_inference_model --seg_model_dir=\path\to\seg_inference_model --use_camera=1 --use_gpu=1 --use_erode=1 --save_dir=output ``` + * 使用加密后的模型对单张图片做预测 + + 如果未对模型进行加密,请参考[加密PaddleX模型](../deploy/server/encryption.html#paddlex)对模型进行加密。例如加密后的检测模型所在目录为`\path\to\encrypted_det_inference_model`,密钥为`yEBLDiBOdlj+5EsNNrABhfDuQGkdcreYcHcncqwdbx0=`;加密后的分割模型所在目录为`\path\to\encrypted_seg_inference_model`,密钥为`DbVS64I9pFRo5XmQ8MNV2kSGsfEr4FKA6OH9OUhRrsY=` + + ```shell + .\paddlex_inference\meter_reader.exe --det_model_dir=\path\to\encrypted_det_inference_model --seg_model_dir=\path\to\encrypted_seg_inference_model --image=\path\to\test.jpg --use_gpu=1 --use_erode=1 --save_dir=output --det_key yEBLDiBOdlj+5EsNNrABhfDuQGkdcreYcHcncqwdbx0= --seg_key DbVS64I9pFRo5XmQ8MNV2kSGsfEr4FKA6OH9OUhRrsY= + ``` + ### Linux系统的jetson嵌入式设备安全部署 #### c++部署 diff --git a/examples/meter_reader/README.md b/examples/meter_reader/README.md index 43d18ee..ce5666f 100644 --- a/examples/meter_reader/README.md +++ b/examples/meter_reader/README.md @@ -185,6 +185,14 @@ git clone https://github.com/PaddlePaddle/PaddleX .\paddlex_inference\meter_reader.exe --det_model_dir=\path\to\det_inference_model --seg_model_dir=\path\to\seg_inference_model --use_camera=1 --use_gpu=1 --use_erode=1 --save_dir=output ``` + * 使用加密后的模型对单张图片做预测 + + 如果未对模型进行加密,请参考[加密PaddleX模型](../../docs/deploy/server/encryption.md#13-加密paddlex模型)对模型进行加密。例如加密后的检测模型所在目录为`\path\to\encrypted_det_inference_model`,密钥为`yEBLDiBOdlj+5EsNNrABhfDuQGkdcreYcHcncqwdbx0=`;加密后的分割模型所在目录为`\path\to\encrypted_seg_inference_model`,密钥为`DbVS64I9pFRo5XmQ8MNV2kSGsfEr4FKA6OH9OUhRrsY=` + + ```shell + .\paddlex_inference\meter_reader.exe --det_model_dir=\path\to\encrypted_det_inference_model --seg_model_dir=\path\to\encrypted_seg_inference_model --image=\path\to\test.jpg --use_gpu=1 --use_erode=1 --save_dir=output --det_key yEBLDiBOdlj+5EsNNrABhfDuQGkdcreYcHcncqwdbx0= --seg_key DbVS64I9pFRo5XmQ8MNV2kSGsfEr4FKA6OH9OUhRrsY= + ``` + ### Linux系统的jetson嵌入式设备安全部署 #### c++部署 -- GitLab