From 7ca76e8b00d6ad49c4068b8d607b6a828f3cf9f3 Mon Sep 17 00:00:00 2001 From: Tangmq Date: Mon, 10 Aug 2020 12:12:53 +0800 Subject: [PATCH] change dockerfile memo language to english --- docker/hubserving/cpu/Dockerfile | 6 +++--- docker/hubserving/gpu/Dockerfile | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker/hubserving/cpu/Dockerfile b/docker/hubserving/cpu/Dockerfile index 87e9a773..8404b4c0 100755 --- a/docker/hubserving/cpu/Dockerfile +++ b/docker/hubserving/cpu/Dockerfile @@ -1,7 +1,7 @@ # Version: 1.0.0 FROM hub.baidubce.com/paddlepaddle/paddle:latest-gpu-cuda9.0-cudnn7-dev -# PaddleOCR需要在Python3.7下执行 +# PaddleOCR base on Python3.7 RUN pip3.7 install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple RUN python3.7 -m pip install paddlepaddle==1.7.2 -i https://pypi.tuna.tsinghua.edu.cn/simple @@ -15,11 +15,11 @@ WORKDIR /PaddleOCR RUN pip3.7 install -r requirments.txt -i https://pypi.tuna.tsinghua.edu.cn/simple RUN mkdir -p /PaddleOCR/inference -# 下载超轻量级中文OCR模型的检测模型并解压(可以换成通用中文OCR模型,ch_det_r50_vd_db_infer,记得要修改deploy/hubserving/ocr_system/params.py中的det_model_dir) +# Download orc detect model(light version). if you want to change normal version, you can change ch_det_mv3_db_infer to ch_det_r50_vd_db_infer, also remember change det_model_dir in deploy/hubserving/ocr_system/params.py) ADD https://paddleocr.bj.bcebos.com/ch_models/ch_det_mv3_db_infer.tar /PaddleOCR/inference RUN tar xf /PaddleOCR/inference/ch_det_mv3_db_infer.tar -C /PaddleOCR/inference -# 下载超轻量级中文OCR模型的识别模型并解压(可以换成通用中文OCR模型,ch_rec_r34_vd_crnn_enhance_infer,记得要修改deploy/hubserving/ocr_system/params.py中的rec_model_dir) +# Download orc recognition model(light version). If you want to change normal version, you can change ch_rec_mv3_crnn_infer to ch_rec_r34_vd_crnn_enhance_infer, also remember change rec_model_dir in deploy/hubserving/ocr_system/params.py) ADD https://paddleocr.bj.bcebos.com/ch_models/ch_rec_mv3_crnn_infer.tar /PaddleOCR/inference RUN tar xf /PaddleOCR/inference/ch_rec_mv3_crnn_infer.tar -C /PaddleOCR/inference diff --git a/docker/hubserving/gpu/Dockerfile b/docker/hubserving/gpu/Dockerfile index 5931d6fb..1320a7f3 100755 --- a/docker/hubserving/gpu/Dockerfile +++ b/docker/hubserving/gpu/Dockerfile @@ -1,7 +1,7 @@ # Version: 1.0.0 FROM hub.baidubce.com/paddlepaddle/paddle:latest-gpu-cuda10.0-cudnn7-dev -# PaddleOCR需要在Python3.7下执行 +# PaddleOCR base on Python3.7 RUN pip3.7 install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple RUN python3.7 -m pip install paddlepaddle-gpu==1.7.2.post107 -i https://pypi.tuna.tsinghua.edu.cn/simple @@ -14,12 +14,12 @@ WORKDIR /home/PaddleOCR RUN pip3.7 install -r requirments.txt -i https://pypi.tuna.tsinghua.edu.cn/simple -RUN mkdir -p /home/PaddleOCR/inference -# 下载超轻量级中文OCR模型的检测模型并解压(可以换成通用中文OCR模型,ch_det_r50_vd_db_infer,记得要修改deploy/hubserving/ocr_system/params.py中的det_model_dir) +RUN mkdir -p /PaddleOCR/inference +# Download orc detect model(light version). if you want to change normal version, you can change ch_det_mv3_db_infer to ch_det_r50_vd_db_infer, also remember change det_model_dir in deploy/hubserving/ocr_system/params.py) ADD https://paddleocr.bj.bcebos.com/ch_models/ch_det_mv3_db_infer.tar /PaddleOCR/inference RUN tar xf /PaddleOCR/inference/ch_det_mv3_db_infer.tar -C /PaddleOCR/inference -# 下载超轻量级中文OCR模型的识别模型并解压(可以换成通用中文OCR模型,ch_rec_r34_vd_crnn_enhance_infer,记得要修改deploy/hubserving/ocr_system/params.py中的rec_model_dir) +# Download orc recognition model(light version). If you want to change normal version, you can change ch_rec_mv3_crnn_infer to ch_rec_r34_vd_crnn_enhance_infer, also remember change rec_model_dir in deploy/hubserving/ocr_system/params.py) ADD https://paddleocr.bj.bcebos.com/ch_models/ch_rec_mv3_crnn_infer.tar /PaddleOCR/inference RUN tar xf /PaddleOCR/inference/ch_rec_mv3_crnn_infer.tar -C /PaddleOCR/inference -- GitLab