Datasets:
Add bandReplace version for ADMM-ADAM, which copy-paste only the forgery area and bands
Browse files
data/ADMM-ADAM/config1_bandReplace/config1_bandReplace.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33975811b0a5c617cff35e90ba0f2be35725d733bbbb2771ce7c06bc0a6c54c1
|
| 3 |
+
size 4686486618
|
data/ADMM-ADAM/config2_bandReplace/config2_bandReplace.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:124d6b5919e6bdd0309482653fbedf5f0ff0d59da850daf5634252aaeed1db20
|
| 3 |
+
size 4686296674
|
data/ADMM-ADAM/config3_bandReplace/config3_bandReplace.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7376eb325e898a0d2effdeb1a087aa18773fbfce854a79810318ba79f9c1874f
|
| 3 |
+
size 4686119391
|
data/ADMM-ADAM/config4_bandReplace/config4_bandReplace.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4eb350bfbd32c677fd330acdbdead4730bcec03e05011b0aff7a96cb50fd6b5
|
| 3 |
+
size 4686558123
|
zipping.sh
CHANGED
|
@@ -7,7 +7,7 @@ if ! command -v pigz &> /dev/null; then
|
|
| 7 |
fi
|
| 8 |
|
| 9 |
# Defined the root directory of the whole dataset
|
| 10 |
-
ROOT_DIR="/
|
| 11 |
|
| 12 |
# Function to display usage
|
| 13 |
usage() {
|
|
@@ -82,7 +82,7 @@ SPECIFIED="false"
|
|
| 82 |
|
| 83 |
# Validate arguments
|
| 84 |
if [[ -n "$METHOD" && -n "$CONFIG" ]]; then
|
| 85 |
-
DIR_PATH="$ROOT_DIR/$METHOD/
|
| 86 |
SPECIFIED="true"
|
| 87 |
elif [[ -z "$DIR_PATH" ]]; then
|
| 88 |
echo "Error: Either --method and --config or --dir-path must be specified."
|
|
@@ -112,7 +112,7 @@ if [[ "$SPECIFIED" == "false" ]]; then
|
|
| 112 |
fi
|
| 113 |
else
|
| 114 |
# Create the tar.gz file
|
| 115 |
-
zip_config "$METHOD"
|
| 116 |
fi
|
| 117 |
|
| 118 |
echo "Directory zipped successfully to: $OUTPUT_TAR"
|
|
|
|
| 7 |
fi
|
| 8 |
|
| 9 |
# Defined the root directory of the whole dataset
|
| 10 |
+
ROOT_DIR="/ssddd/TzuYu/HyperForensics++/data"
|
| 11 |
|
| 12 |
# Function to display usage
|
| 13 |
usage() {
|
|
|
|
| 82 |
|
| 83 |
# Validate arguments
|
| 84 |
if [[ -n "$METHOD" && -n "$CONFIG" ]]; then
|
| 85 |
+
DIR_PATH="$ROOT_DIR/$METHOD/$CONFIG"
|
| 86 |
SPECIFIED="true"
|
| 87 |
elif [[ -z "$DIR_PATH" ]]; then
|
| 88 |
echo "Error: Either --method and --config or --dir-path must be specified."
|
|
|
|
| 112 |
fi
|
| 113 |
else
|
| 114 |
# Create the tar.gz file
|
| 115 |
+
zip_config "$METHOD" "$CONFIG"
|
| 116 |
fi
|
| 117 |
|
| 118 |
echo "Directory zipped successfully to: $OUTPUT_TAR"
|