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 build出错 #913

Closed
dayhaha opened this issue Dec 15, 2016 · 5 comments · Fixed by #917
Closed

docker build出错 #913

dayhaha opened this issue Dec 15, 2016 · 5 comments · Fixed by #917
Assignees
Labels

Comments

@dayhaha
Copy link
Contributor

dayhaha commented Dec 15, 2016

按照https://github.com/PaddlePaddle/Paddle/blob/develop/doc/getstarted/build_and_install/docker_install_en.rst 在mac上面进行docker build,出错如下:
In file included from /paddle/paddle/cuda/src/hl_warpctc_wrap.cc:15:0:
/paddle/paddle/cuda/include/hl_warpctc_wrap.h:19:34: fatal error: warp-ctc/include/ctc.h: No such file or directory
#include "warp-ctc/include/ctc.h"
^
compilation terminated.
make[2]: *** [paddle/cuda/CMakeFiles/paddle_cuda.dir/src/hl_warpctc_wrap.cc.o] Error 1
make[1]: *** [paddle/cuda/CMakeFiles/paddle_cuda.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

然后发现warp-ctc下的文件为空,重新git clone一遍paddle源代码该文件夹也是空的,是需要自己手动去clone warp-ctc的库么?

@reyoung
Copy link
Collaborator

reyoung commented Dec 15, 2016

@Xreki Please give an answer. And we should add this to FAQ, too.

@Xreki
Copy link
Contributor

Xreki commented Dec 15, 2016

@dayhaha 请使用以下命令git clone

git clone --recursive https://github.com/PaddlePaddle/paddle

git clone https://github.com/PaddlePaddle/Paddle
cd Paddle
git submodule update --init --recursive

其实这两条命令在Non-AVX ImagesDevelopment Using Docker都有写明,但在CPU-only and GPU Images省去了。

@dayhaha
Copy link
Contributor Author

dayhaha commented Dec 15, 2016

谢谢,不好意思没有看到下面。 但是我觉得作为一个用户,是不是一般习惯从上往下执行看呢? 或者说需不需要把git clone --recursive这块强调一下呢? 感觉这块是不是可以改变一下顺序呢? 文件的名字叫docker_install_en.rst,看到CPU-only and GPU Images的标题我以为是开始教build image了。

@reyoung
Copy link
Collaborator

reyoung commented Dec 16, 2016

@dayhaha 直接把docker_install那个文件,按照你的想法改了吧。@我review一下。
关于这个的FAQ,我加一下,@dayhaha 你再review一下。

@dayhaha
Copy link
Contributor Author

dayhaha commented Dec 16, 2016

好的,我提了个PR #917@reyoung 你review一下吧。

zhhsplendid pushed a commit to zhhsplendid/Paddle that referenced this issue Sep 25, 2019
* Add usage manual for VisualDL
The usage manual will be helpful for beginners to make use of VisualDL.

Components of VisualDL are introduced in details, including:
	* Definition of Functions
	* Parameters explanation
	* Demo program for each component

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

Successfully merging a pull request may close this issue.

3 participants