Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Commit

Permalink
Regenerated images_background_augmented after correcting augment_wrap…
Browse files Browse the repository at this point in the history
…per.sh.
  • Loading branch information
rhubarbwu committed Nov 30, 2020
1 parent 92fd049 commit 2688b84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Binary file modified data_augmented/images_background_augmented.zip
Binary file not shown.
7 changes: 4 additions & 3 deletions scripts/augment_wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ fi
source_path="./omniglot/python/$1.zip"
target_path="$sandbox_dir/$1.zip"
target_dir="$sandbox_dir/$1"
result_dir="$sandbox_dir/$2"
result_path="$sandbox_dir/$2.zip"

if test -f $source_path; then
Expand All @@ -19,6 +20,6 @@ fi

unzip "$target_path" -d "$sandbox_dir/"
python scripts/augment.py $1

zip $result_path -r "$target_dir"
rm -rf $target_path $target_dir
mv $target_dir $result_dir
zip $result_path -r "$result_dir"
rm -rf $target_path $result_dir

0 comments on commit 2688b84

Please sign in to comment.