Last active
July 10, 2020 04:09
-
-
Save jetsonhacks/acf63b993b44e1fb9528 to your computer and use it in GitHub Desktop.
Revisions
-
jetsonhacks revised this gist
Jan 18, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ #!/bin/sh # Install and compile Caffe on NVIDIA Jetson TK1 Development Kit sudo add-apt-repository universe sudo apt-get update sudo apt-get install libprotobuf-dev protobuf-compiler gfortran \ -
jetsonhacks revised this gist
Jan 18, 2015 . 1 changed file with 0 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -8,12 +8,7 @@ libboost-thread-dev libboost-system-dev \ libatlas-base-dev libhdf5-serial-dev libgflags-dev \ libgoogle-glog-dev liblmdb-dev -y sudo usermod -a -G video $USER # Git clone Caffe sudo apt-get install -y git -
jetsonhacks created this gist
Jan 17, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,28 @@ #!/bin/sh # Install and compile Caffe on Jetson TK1 sudo add-apt-repository universe sudo apt-get update sudo apt-get install libprotobuf-dev protobuf-compiler gfortran \ libboost-dev cmake libleveldb-dev libsnappy-dev \ libboost-thread-dev libboost-system-dev \ libatlas-base-dev libhdf5-serial-dev libgflags-dev \ libgoogle-glog-dev liblmdb-dev -y # Make sure the library path is set up to look for cuda 6.5 library sudo usermod -a -G video $USER echo "# Add CUDA bin & library paths:" >> ~/.bashrc echo "export PATH=/usr/local/cuda/bin:$PATH" >> ~/.bashrc echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib:$LD_LIBRARY_PATH" >> ~/.bashrc source ~/.bashrc # Git clone Caffe sudo apt-get install -y git git clone https://github.com/BVLC/caffe.git cd caffe && git checkout dev cp Makefile.config.example Makefile.config make -j 4 all make -j 4 runtest build/tools/caffe time --model=models/bvlc_alexnet/deploy.prototxt --gpu=0