Skip to content

Commit

Permalink
also redirecting downloads for the master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
AmmarkoV committed Mar 5, 2022
1 parent c48a930 commit 2d6b4bd
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions initialize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ echo "Categories=Application;Graphics;3DGraphics;2DGraphics;" >> mocapnet.deskto
chmod +x mocapnet.desktop


#unfortunately 2022 has not been kind on the internet and my server so I wont use my server
CMUDATASET_WEBSERVER="http://ammar.gr/datasets/"
DATASET_WEBSERVER="http://ammar.gr/datasets/"
OTHERFILE_WEBSERVER="http://ammar.gr/mocapnet/"

#Instead files are now located on the CVRL FORTH server
CMUDATASET_WEBSERVER="http://cvrlcode.ics.forth.gr/web_share/mocapnet/"
DATASET_WEBSERVER="http://cvrlcode.ics.forth.gr/web_share/mocapnet/"
OTHERFILE_WEBSERVER="http://cvrlcode.ics.forth.gr/web_share/mocapnet/"


clear

Expand Down Expand Up @@ -86,7 +96,7 @@ else
echo "Could not find MotionCapture"

#This is a richer armature that also contains provisons for head and feet animation
wget http://ammar.gr/datasets/CMUPlusHeadMotionCapture.zip
wget "$CMUDATASET_WEBSERVER/CMUPlusHeadMotionCapture.zip"
unzip CMUPlusHeadMotionCapture.zip
mv CMUPlusHeadMotionCapture.zip MotionCapture

Expand All @@ -100,22 +110,22 @@ fi
cd "$DIR"
#Force download of a Video sample
if [ ! -f shuffle.webm ]; then
wget http://ammar.gr/mocapnet/shuffle.webm
wget "$OTHERFILE_WEBSERVER/shuffle.webm"
fi
#--------------------------------------------

if [ ! -f dataset/makehuman.tri ]; then
cd "$DIR/dataset"
#TRI is the internal 3D format used by my 3D renderer to handle 3D meshes
#https://github.com/AmmarkoV/RGBDAcquisition/blob/master/opengl_acquisition_shared_library/opengl_depth_and_color_renderer/src/Library/ModelLoader/model_loader_tri.h
wget http://ammar.gr/mocapnet/makehuman.tri
wget "$OTHERFILE_WEBSERVER/makehuman.tri"

#Also provide the OpenCollada file in case someone wants to create their own .tri by `sudo apt-get install libassimp-dev` and then compiling and using the project
# https://github.com/AmmarkoV/RGBDAcquisition/tree/master/opengl_acquisition_shared_library/opengl_depth_and_color_renderer/submodules/Assimp
#that you will find in $ROOT_DIR/dependencies/RGBDAcquisition/opengl_acquisition_shared_library/opengl_depth_and_color_renderer/submodules/Assimp/
#./assimpTester --convert $ROOT_DIR/dataset/makehuman.dae $ROOT_DIR/dataset/makehuman.tri --paint 123 123 123
#This dae file has been created usign makehuman(http://www.makehumancommunity.org/) and the CMU+Face Rig (http://www.makehumancommunity.org/content/cmu_plus_face.html)
wget http://ammar.gr/mocapnet/makehuman.dae
wget "$OTHERFILE_WEBSERVER/makehuman.dae"
fi

cd "$DIR"
Expand All @@ -134,7 +144,7 @@ LIST_OF_NETWORKS="categorize_lowerbody_all.pb lowerbody_left.pb upperbody_left.p

for NETWORK in $LIST_OF_NETWORKS; do
if [ ! -f $NETWORK ]; then
wget http://ammar.gr/datasets/icpr2020/$NETWORK
wget "$DATASET_WEBSERVER/icpr2020/$NETWORK"
fi
done

Expand All @@ -151,15 +161,15 @@ echo "Downloading 2D Joint Estimator models"
cd "$DIR/dataset/combinedModel"

if [ ! -f openpose_model.pb ]; then
wget http://ammar.gr/datasets/combinedModel/openpose_model.pb
wget "$DATASET_WEBSERVER/combinedModel/openpose_model.pb"
fi

if [ ! -f vnect_sm_pafs_8.1k.pb ]; then
wget http://ammar.gr/datasets/combinedModel/vnect_sm_pafs_8.1k.pb
wget "$DATASET_WEBSERVER/combinedModel/vnect_sm_pafs_8.1k.pb"
fi

if [ ! -f mobnet2_tiny_vnect_sm_1.9k.pb ]; then
wget http://ammar.gr/datasets/combinedModel/mobnet2_tiny_vnect_sm_1.9k.pb
wget "$DATASET_WEBSERVER/combinedModel/mobnet2_tiny_vnect_sm_1.9k.pb"
fi

cd "$DIR"
Expand Down

0 comments on commit 2d6b4bd

Please sign in to comment.