mmpose/tools/dataset_converters/scripts/preprocess_hagrid.sh

9 lines
224 B
Bash

#!/usr/bin/env bash
DOWNLOAD_DIR=$1
DATA_ROOT=$2
cat $DOWNLOAD_DIR/OpenDataLab___HaGRID/raw/*.tar.gz.* | tar -xvz -C $DATA_ROOT/..
tar -xvf $DATA_ROOT/HaGRID.tar -C $DATA_ROOT/..
rm -rf $DOWNLOAD_DIR/OpenDataLab___HaGRID