Skip to content

Commit

Permalink
remove dataset download from self-hosted runner
Browse files Browse the repository at this point in the history
  • Loading branch information
senselessdev1 authored and senselessdev1 committed Aug 6, 2023
1 parent 6d3ca41 commit ea532a9
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/scripts/execute_single_benchmark_self_hosted.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,12 @@ if [ "$DATASET_NAME" == "skydio-501" ]; then
IMAGES_DIR="skydio-crane-mast-501-images"
COLMAP_FILES_DIRPATH="skydio-501-colmap-pseudo-gt"
elif [ "$DATASET_NAME" == "tanks-and-temples-barn-410" ]; then
# Should be previously downloaded from
# https://github.com/johnwlambert/gtsfm-datasets-mirror/releases/download/tanks-and-temples-barn/Tanks_and_Temples_Barn_410.zip
DATASET_ROOT="Tanks_and_Temples_Barn_410"
SCENE_NAME="Barn"
fi

## Download the Tanks & Temples dataset. ################
WGET_URL1=https://github.com/johnwlambert/gtsfm-datasets-mirror/releases/download/tanks-and-temples-barn/Tanks_and_Temples_Barn_410.zip
ZIP_FNAME=Tanks_and_Temples_Barn_410.zip
echo "Downloading ${ZIP_FNAME} with WGET"
wget -O $DATASET_PREFIX/Tanks_and_Temples_Barn_410.zip $WGET_URL1
unzip -qq $DATASET_PREFIX/$ZIP_FNAME -d $DATASET_PREFIX
pwd $DATASET_PREFIX
ls -ltrh $DATASET_PREFIX
ls -ltrh $DATASET_PREFIX/$DATASET_ROOT
rm $DATASET_PREFIX/Tanks_and_Temples_Barn_410.zip
#########################################


echo "Config: ${CONFIG_NAME}, Loader: ${LOADER_NAME}"
echo "Max. Frame Lookahead: ${MAX_FRAME_LOOKAHEAD}, Image Extension: ${IMAGE_EXTENSION}, Max. Resolution: ${MAX_RESOLUTION}"
Expand Down

0 comments on commit ea532a9

Please sign in to comment.