Skip to content

Commit

Permalink
Restore filenames of downloaded data (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanopini authored Jul 20, 2023
1 parent 7cfcb05 commit 4854dc6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/setup_notebook_colab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ TEMP_DATASET_DIR=$(mktemp -d)
# Download sample zarr
echo "Downloading sample zarr dataset..."
wget https://d20lyvjneielsk.cloudfront.net/prediction-sample.tar \
-q --show-progress -P $TEMP_DOWNLOAD_DIR
-q --show-progress -P $TEMP_DOWNLOAD_DIR -O sample.tar

mkdir -p $TEMP_DATASET_DIR/scenes
tar xf $TEMP_DOWNLOAD_DIR/sample.tar -C $TEMP_DATASET_DIR/scenes

# Download semantic map
echo "Downloading semantic map..."
wget https://d20lyvjneielsk.cloudfront.net/prediction-semantic_map.tar \
-q --show-progress -P $TEMP_DOWNLOAD_DIR
-q --show-progress -P $TEMP_DOWNLOAD_DIR -O semantic_map.tar
mkdir -p $TEMP_DATASET_DIR/semantic_map
tar xf $TEMP_DOWNLOAD_DIR/semantic_map.tar -C $TEMP_DATASET_DIR/semantic_map
cp $TEMP_DATASET_DIR/semantic_map/meta.json $TEMP_DATASET_DIR/meta.json

# Download aerial maps
echo "Downloading aerial maps (this can take a while)..."
wget https://d20lyvjneielsk.cloudfront.net/prediction-aerial_map.tar \
-q --show-progress -P $TEMP_DOWNLOAD_DIR
-q --show-progress -P $TEMP_DOWNLOAD_DIR -O aerial_map.tar
tar xf $TEMP_DOWNLOAD_DIR/aerial_map.tar -C $TEMP_DATASET_DIR

# Dowload sample configuration
Expand Down

0 comments on commit 4854dc6

Please sign in to comment.