# Get the directory of the current script | |
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" | |
BASE_DIR="$(dirname "$SCRIPT_DIR")" | |
RAW_DIR="$BASE_DIR/raw" | |
# Create the raw directory | |
mkdir -p "$RAW_DIR" | |
# Define URLs of the files to be downloaded | |
urls=( | |
"https://github.com/YuweiCao-UIC/KPGNN/raw/main/datasets/Twitter/68841_tweets_multiclasses_filtered_0722_part1.npy" | |
"https://github.com/YuweiCao-UIC/KPGNN/raw/main/datasets/Twitter/68841_tweets_multiclasses_filtered_0722_part2.npy" | |
) | |
# Download each file to the raw directory | |
for url in "${urls[@]}"; do | |
wget -P "$RAW_DIR" "$url" | |
done | |
echo "Download complete." |