cliplama / fetch_data /places_standard_test_val_sample.sh
antoyo123's picture
Upload 203 files
b0df2a8
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