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

added script to install the dependencies and changed CMakeLists.txt f… #5

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,6 @@ LOCK
LOG*
CURRENT
MANIFEST-*

# ignore symbolic links
python/pose/caffe
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
cmake_minimum_required(VERSION 2.8.7)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FORCE_INLINES")

add_compile_options(-std=c++11)

if(POLICY CMP0046)
cmake_policy(SET CMP0046 NEW)
endif()
Expand Down
17 changes: 17 additions & 0 deletions install_ubuntu1404.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash
sudo apt install -y --allow-unauthenticated libgflags-dev libgoogle-glog-dev protobuf-compiler liblmdb-dev libleveldb-dev libsnappy-dev libatlas-dev libatlas-base-dev libhdf5-dev libopencv-dev libhdf5-serial-dev libboost-all-dev python-scipy python-click python-skimage python-protobuf

cd models/deepercut
bash download_models.sh &
cd ../..

ln -s ~/caffe/python/caffe python/pose/.

mkdir build
cd build
cmake ..
make -j8
cd ..

#ln -s /usr/include/hdf5/serial/* /usr/include/.

20 changes: 20 additions & 0 deletions install_ubuntu1604.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash
sudo apt install -y --allow-unauthenticated libgflags-dev libgoogle-glog-dev protobuf-compiler liblmdb-dev libleveldb-dev libsnappy-dev libatlas-dev libatlas-base-dev cuda-cublas-dev-8-0 nvidia-cuda-toolkit libhdf5-dev libopencv-dev libhdf5-serial-dev libboost-all-dev nvidia-cuda-toolkit python-scipy python-click python-skimage python-protobuf

cd models/deepercut
bash download_models.sh &
cd ../..


ln -s ~/caffe/python/caffe python/pose/.

ln -s /usr/include/hdf5/serial/* /usr/include/.

mkdir build
cd build
cmake ..
make -j8
cd ..



2 changes: 1 addition & 1 deletion models/deepercut/download_models.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

curl -O http://datasets.d2.mpi-inf.mpg.de/deepercut-models/ResNet-152.caffemodel
curl -C- -O http://datasets.d2.mpi-inf.mpg.de/deepercut-models/ResNet-152.caffemodel