Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker 预装软件以方便使用 #1711

Closed
xionghang opened this issue Mar 27, 2017 · 3 comments
Closed

docker 预装软件以方便使用 #1711

xionghang opened this issue Mar 27, 2017 · 3 comments

Comments

@xionghang
Copy link

前几天下载了cpu-noavx-devel-latest版本的docker, 运行了quick_start,总体比较顺利,有两个小建议:

  1. 希望docker预装些必要软件,至少保证quick_start能直接运行:如 wget zip (dev最好还有vim catgs等)
    同时sh指向bash 而非默认dash.
  2. quick_start/api_train.sh 最终的模型产出在output/modle/下, 因此predict.sh的默认配置无法直接读取(默认是output/)。建议api_train.py 新增默认参数parser.add_argument("--save_dir", default="./output",type=str, help="modle output dir"),并生效该config。
@helinwang
Copy link
Contributor

helinwang commented Mar 30, 2017

谢谢提出很好的建议。关于第一个问题,您说得对,确实应该保证demo能够直接使用。quick_start那个demo属于旧版本api的demo,我们准备删掉了(详见这个issue:#1725 )。

关于第二个问题,现在新版api把模型保存在哪里是自己定义的。详情请见:https://github.com/PaddlePaddle/Paddle/blob/develop/demo/mnist/api_train_v2.py#L98

最后我们更新了最新的使用docker运行PaddlePaddle的方法,欢迎阅读以及提建议!
https://github.com/PaddlePaddle/Paddle/blob/develop/doc/getstarted/build_and_install/docker_install_en.rst

@wanghaisheng
Copy link

@helinwang 能否提供docker 镜像的离线安装包 从docker hub上下载实在是太慢且容易连接不上

@typhoonzero
Copy link
Contributor

@wanghaisheng 可以使用paddle的docker registry,在国内可以获得较快的访问速度:

docker pull docker.paddlepaddle.org/paddle:0.10.0rc2-noavx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants