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

If you failed to install caffe, I think you can drop it if we don't use it. Thus at least we can use it. #101

Open
OneCodeMonkey opened this issue Jul 23, 2019 · 1 comment

Comments

@OneCodeMonkey
Copy link

No description provided.

@OneCodeMonkey
Copy link
Author

OneCodeMonkey commented Jul 23, 2019

The solution in PR are with GPU mode, I use in CPU mode then I can't solve this problem.
Coz I 'm not going to use this extension(caffe), I drop it.

Dockerfile.cpu:
## Install Caffe
#RUN git clone -b ${CAFFE_VERSION} --depth 1 https://github.com/BVLC/caffe.git /root/caffe && \
# cd /root/caffe && \
# cat python/requirements.txt | xargs -n1 pip install && \
# mkdir build && cd build && \
# cmake -DCPU_ONLY=1 -DBLAS=Open .. && \
# make -j"$(nproc)" all && \
# make install# >

## Set up Caffe environment variables
#ENV CAFFE_ROOT=/root/caffe
#ENV PYCAFFE_ROOT=$CAFFE_ROOT/python
#ENV PYTHONPATH=$PYCAFFE_ROOT:$PYTHONPATH \
# PATH=$CAFFE_ROOT/build/tools:$PYCAFFE_ROOT:$PATH# >

#RUN echo "$CAFFE_ROOT/build/lib" >> /etc/ld.so.conf.d/caffe.conf && ldconfig

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

1 participant