Part Number:AM5728
Hello, TI Experts,
I have a question about installing caffe-jacinto based on below guide.
github.com/.../INSTALL.md
Then I found the below error during "make runtest".
usr@usr-VirtualBox:~/caffe-jacinto$ make runtest
.build_release/tools/caffe
F0912 16:23:17.957453 14747 common.cpp:255] Check failed: error == cudaSuccess (30 vs. 0) unknown error
*** Check failure stack trace: ***
@ 0x2ba5a7e62daa (unknown)
@ 0x2ba5a7e62ce4 (unknown)
@ 0x2ba5a7e626e6 (unknown)
@ 0x2ba5a7e65687 (unknown)
@ 0x2ba5a6863f5d caffe::Caffe::SetDevice()
@ 0x40bd63 main
@ 0x2ba5a94aef45 (unknown)
@ 0x40cd3f (unknown)
@ (nil) (unknown)
make: *** [runtest] Aborted (core dumped)
Question:
Is there same experience?
<Detail procedure is as belows>
1:Install ubuntu 14.04.05 LTS on VirtualBox.
2:Install Anaconda2(Python 2.7)
> sudo apt-get update
> sudo apt-get upgrade -y
download Anaconda2-5.2.0-Linux-x86_64.sh from www.anaconda.com/.../
>chmod a+x Anaconda2-5.2.0-Linux-x86_64.sh
>./Anaconda2-5.2.0-Linux-x86_64.sh
>source ~/.bashrc
3: git clone github.com/.../caffe-jacinto
> sudo apt-get install git
> git clone github.com/.../caffe-jacinto
> cd caffe-jacinto/
> git checkout caffe-0.17
4: edit Makefile.config
> cp Makefile.config.example Makefile.config
- Uncomment the line that says WITH_PYTHON_LAYER
- Uncomment the line that says USE_CUDNN
<Here is files diff>
usr@usr-VirtualBox:~/caffe-jacinto$ diff Makefile.config.example Makefile.config
6c6
< # USE_CUDNN := 1
---
> USE_CUDNN := 1
83c83
< # WITH_PYTHON_LAYER := 1
---
> WITH_PYTHON_LAYER := 1
5: Install all the pre-requisites
> sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler
> sudo apt-get install --no-install-recommends libboost-all-dev
> sudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev
> sudo apt-get install libturbojpeg
6:Install CUDA8
download ***.deb from developer.nvidia.com/cuda-80-ga2-download-archive
> sudo dpkg -i cuda-repo-ubuntu1404-8-0-local-ga2_8.0.61-1_amd64.deb
> sudo dpkg -i cuda-repo-ubuntu1404-8-0-local-cublas-performance-update_8.0.61-1_amd64.deb
> sudo apt-get update
> sudo apt install cuda-8-0
> echo -e "\n## CUDA and cuDNN paths" >> ~/.bashrc
> echo 'export PATH=/usr/local/cuda-8.0/bin:${PATH}' >> ~/.bashrc
> echo 'export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64:${LD_LIBRARY_PATH}' >> ~/.bashrc
> source ~/.bashrc
7:Install CUDNN
download ***.deb from developer.nvidia.com/.../cudnn-archive
> sudo dpkg -i libcudnn6_6.0.21-1+cuda8.0_amd64.deb
> sudo dpkg -i libcudnn6-dev_6.0.21-1+cuda8.0_amd64.deb
> sudo dpkg -i libcudnn6-doc_6.0.21-1+cuda8.0_amd64.deb
8: Make caffe-jacinto
> for req in $(cat ~/caffe-jacinto/python/requirements.txt); do pip install $req; done
> pip install --upgrade pip
> sudo apt-get install libatlas-base-dev
> sudo apt-get install libopenblas-dev
> ln -s /usr/lib/x86_64-linux-gnu/libturbojpeg.so.0.0.0 /usr/lib/x86_64-linux-gnu/libturbojpeg.so
> make all
RESULT-> Success (No error)
> make test
RESULT-> Success (No error)
> make runtest
RESULT-> Aborted (core dumped)
If there is some clue to solve the problem, please tell us.
Best regards,