This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add test_score.py for IT * caffe * update
- Loading branch information
Showing
8 changed files
with
82 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM nvidia/cuda:7.5-cudnn5-devel | ||
|
||
COPY install/ubuntu_*.sh /install/ | ||
|
||
RUN /install/ubuntu_install_core.sh | ||
RUN /install/ubuntu_install_python.sh | ||
|
||
RUN apt-get install -y libprotobuf-dev libleveldb-dev \ | ||
libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler \ | ||
libatlas-base-dev python-dev libgflags-dev libgoogle-glog-dev liblmdb-dev \ | ||
python-numpy | ||
|
||
RUN apt-get install -y --no-install-recommends libboost-all-dev | ||
|
||
RUN cd /; git clone http://github.com/BVLC/caffe.git; cd caffe; \ | ||
cp Makefile.config.example Makefile.config | ||
|
||
RUN echo "CPU_ONLY := 1" >> /caffe/Makefile.config | ||
|
||
RUN cd caffe; make all pycaffe -j$(nproc) | ||
|
||
RUN cd caffe/python; for req in $(cat requirements.txt); do pip2 install $req; done | ||
|
||
ENV PYTHONPATH=${PYTHONPATH}:/caffe/python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters