From b3d807bac6b5ab716da64fb0e76427f187d161d7 Mon Sep 17 00:00:00 2001 From: MRXLT Date: Thu, 28 May 2020 08:42:36 +0000 Subject: [PATCH] add readme for demo --- python/examples/deeplabv3/README_CN.md | 2 +- python/examples/mobilenet/README.md | 22 +++++++++++++++++++ python/examples/mobilenet/README_CN.md | 22 +++++++++++++++++++ python/examples/resnet_v2_50/README.md | 22 +++++++++++++++++++ python/examples/resnet_v2_50/README_CN.md | 22 +++++++++++++++++++ python/examples/unet_for_image_seg/README.md | 22 +++++++++++++++++++ .../examples/unet_for_image_seg/README_CN.md | 22 +++++++++++++++++++ 7 files changed, 133 insertions(+), 1 deletion(-) create mode 100644 python/examples/mobilenet/README.md create mode 100644 python/examples/mobilenet/README_CN.md create mode 100644 python/examples/resnet_v2_50/README.md create mode 100644 python/examples/resnet_v2_50/README_CN.md create mode 100644 python/examples/unet_for_image_seg/README.md create mode 100644 python/examples/unet_for_image_seg/README_CN.md diff --git a/python/examples/deeplabv3/README_CN.md b/python/examples/deeplabv3/README_CN.md index fad65ceb..a25bb2d0 100644 --- a/python/examples/deeplabv3/README_CN.md +++ b/python/examples/deeplabv3/README_CN.md @@ -1,4 +1,4 @@ -# i图像分割 +# 图像分割 ## 获取模型 diff --git a/python/examples/mobilenet/README.md b/python/examples/mobilenet/README.md new file mode 100644 index 00000000..496ebdbe --- /dev/null +++ b/python/examples/mobilenet/README.md @@ -0,0 +1,22 @@ +# Image Classification + +## Get Model + +``` +python -m paddle_serving_app.package --get_model mobilenet_v2_imagenet +tar -xzvf mobilenet_v2_imagenet.tar.gz +``` + +## RPC Service + +### Start Service + +``` +python -m paddle_serving_server_gpu.serve --model mobilenet_v2_imagenet_model --gpu_ids 0 --port 9393 +``` + +### Client Prediction + +``` +python mobilenet_tutorial.py +``` diff --git a/python/examples/mobilenet/README_CN.md b/python/examples/mobilenet/README_CN.md new file mode 100644 index 00000000..7c721b4b --- /dev/null +++ b/python/examples/mobilenet/README_CN.md @@ -0,0 +1,22 @@ +# 图像分类 + +## 获取模型 + +``` +python -m paddle_serving_app.package --get_model mobilenet_v2_imagenet +tar -xzvf mobilenet_v2_imagenet.tar.gz +``` + +## RPC 服务 + +### 启动服务端 + +``` +python -m paddle_serving_server_gpu.serve --model mobilenet_v2_imagenet_model --gpu_ids 0 --port 9393 +``` + +### 客户端预测 + +``` +python mobilenet_tutorial.py +``` diff --git a/python/examples/resnet_v2_50/README.md b/python/examples/resnet_v2_50/README.md new file mode 100644 index 00000000..fd86074c --- /dev/null +++ b/python/examples/resnet_v2_50/README.md @@ -0,0 +1,22 @@ +# Image Classification + +## Get Model + +``` +python -m paddle_serving_app.package --get_model resnet_v2_50_imagenet +tar -xzvf resnet_v2_50_imagenet.tar.gz +``` + +## RPC Service + +### Start Service + +``` +python -m paddle_serving_server_gpu.serve --model resnet_v2_50_imagenet_model --gpu_ids 0 --port 9393 +``` + +### Client Prediction + +``` +python resnet50_v2_tutorial.py +``` diff --git a/python/examples/resnet_v2_50/README_CN.md b/python/examples/resnet_v2_50/README_CN.md new file mode 100644 index 00000000..bda2916e --- /dev/null +++ b/python/examples/resnet_v2_50/README_CN.md @@ -0,0 +1,22 @@ +# 图像分类 + +## 获取模型 + +``` +python -m paddle_serving_app.package --get_model resnet_v2_50_imagenet +tar -xzvf resnet_v2_50_imagenet.tar.gz +``` + +## RPC 服务 + +### 启动服务端 + +``` +python -m paddle_serving_server_gpu.serve --model resnet_v2_50_imagenet_model --gpu_ids 0 --port 9393 +``` + +### 客户端预测 + +``` +python resnet50_v2_tutorial.py +``` diff --git a/python/examples/unet_for_image_seg/README.md b/python/examples/unet_for_image_seg/README.md new file mode 100644 index 00000000..7936ad43 --- /dev/null +++ b/python/examples/unet_for_image_seg/README.md @@ -0,0 +1,22 @@ +# Image Segmentation + +## Get Model + +``` +python -m paddle_serving_app.package --get_model unet +tar -xzvf unet.tar.gz +``` + +## RPC Service + +### Start Service + +``` +python -m paddle_serving_server_gpu.serve --model unet_model --gpu_ids 0 --port 9494 +``` + +### Client Prediction + +``` +python seg_client.py +``` diff --git a/python/examples/unet_for_image_seg/README_CN.md b/python/examples/unet_for_image_seg/README_CN.md new file mode 100644 index 00000000..f4b91aaf --- /dev/null +++ b/python/examples/unet_for_image_seg/README_CN.md @@ -0,0 +1,22 @@ +# 图像分割 + +## 获取模型 + +``` +python -m paddle_serving_app.package --get_model unet +tar -xzvf unet.tar.gz +``` + +## RPC 服务 + +### 启动服务端 + +``` +python -m paddle_serving_server_gpu.serve --model unet_model --gpu_ids 0 --port 9494 +``` + +### 客户端预测 + +``` +python seg_client.py +``` -- GitLab