lama / fetch_data /places_standard_test_val_sample.sh
AK391
files
d380b77
raw
history blame
497 Bytes
mkdir -p places_standard_dataset/val_hires/
mkdir -p places_standard_dataset/visual_test_hires/
# randomly sample images for test and vis
OUT=$(python3 fetch_data/sampler.py)
echo ${OUT}
FILELIST=$(cat places_standard_dataset/original/test_random_files.txt)
for i in $FILELIST
do
$(cp ${i} places_standard_dataset/val_hires/)
done
FILELIST=$(cat places_standard_dataset/original/val_random_files.txt)
for i in $FILELIST
do
$(cp ${i} places_standard_dataset/visual_test_hires/)
done