CLIP-EBC / preprocess.sh
Yiming-M's picture
🐣 born
8b98de9 verified
raw
history blame contribute delete
769 Bytes
#!/bin/sh
# !!! ----------------- Please change the `src_dir` to the location of your dataset. ----------------- !!!
# !!! ----- Please do NOT change `dst_dir` as it will be used to locate the dataset in crowd.py. ----- !!!
python preprocess.py --dataset shanghaitech_a --src_dir ./data/ShanghaiTech/part_A --dst_dir ./data/sha --min_size 448 --max_size 4096
python preprocess.py --dataset shanghaitech_b --src_dir ./data/ShanghaiTech/part_B --dst_dir ./data/shb --min_size 448 --max_size 4096
python preprocess.py --dataset nwpu --src_dir ./data/NWPU-Crowd --dst_dir ./data/nwpu --min_size 448 --max_size 3072
python preprocess.py --dataset ucf_qnrf --src_dir ./data/UCF-QNRF --dst_dir ./data/qnrf --min_size 448 --max_size 2048