Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
8fb01540
Commit
8fb01540
authored
Jan 29, 2021
by
WenmuZhou
Browse files
add paddle install
parent
ea4577ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
deploy/docker/hubserving/cpu/Dockerfile
deploy/docker/hubserving/cpu/Dockerfile
+2
-0
deploy/docker/hubserving/gpu/Dockerfile
deploy/docker/hubserving/gpu/Dockerfile
+2
-0
No files found.
deploy/docker/hubserving/cpu/Dockerfile
View file @
8fb01540
...
...
@@ -4,6 +4,8 @@ FROM registry.baidubce.com/paddlepaddle/paddle:2.0.0rc1
# PaddleOCR base on Python3.7
RUN
pip3.7
install
--upgrade
pip
-i
https://mirror.baidu.com/pypi/simple
RUN
python3.7
-m
pip
install
paddlepaddle
==
2.0.0
-i
https://mirror.baidu.com/pypi/simple
RUN
pip3.7
install
paddlehub
--upgrade
-i
https://mirror.baidu.com/pypi/simple
RUN
git clone https://github.com/PaddlePaddle/PaddleOCR.git /PaddleOCR
...
...
deploy/docker/hubserving/gpu/Dockerfile
View file @
8fb01540
...
...
@@ -4,6 +4,8 @@ FROM registry.baidubce.com/paddlepaddle/paddle:2.0.0rc1-gpu-cuda10.0-cudnn7
# PaddleOCR base on Python3.7
RUN
pip3.7
install
--upgrade
pip
-i
https://mirror.baidu.com/pypi/simple
RUN
python3.7
-m
pip
install
paddlepaddle-gpu
==
2.0.0
-i
https://mirror.baidu.com/pypi/simple
RUN
pip3.7
install
paddlehub
--upgrade
-i
https://mirror.baidu.com/pypi/simple
RUN
git clone https://github.com/PaddlePaddle/PaddleOCR.git /PaddleOCR
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment