Spaces:
givkashi
/
Runtime error

File size: 497 Bytes
d380b77
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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