ys-zong
commited on
Commit
•
4a6bb11
1
Parent(s):
22b22b8
unzip script
Browse files
unzip.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
dirs=("clevr" "cobsat" "matching_mi" "open_mi" "open_t2i_mi" "operator_induction" "operator_induction_interleaved" "textocr")
|
2 |
+
|
3 |
+
# Loop through each directory and unzip the files
|
4 |
+
for dir in "${dirs[@]}"; do
|
5 |
+
echo "Unzipping in $dir..."
|
6 |
+
unzip "$dir/support.zip" -d "$dir"
|
7 |
+
unzip "$dir/query.zip" -d "$dir"
|
8 |
+
done
|
9 |
+
|
10 |
+
echo "Unzipping completed."
|
11 |
+
|