lama-video-watermark-remover / fetch_data /places_standard_test_val_sample.sh
kquote03's picture
Duplicate from fffiloni/lama-video-watermark-remover
01dcec0
raw
history blame contribute delete
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