From 0d561bed8772c28da8f49cd0b16f503c93b0f77d Mon Sep 17 00:00:00 2001 From: skal Date: Tue, 24 Mar 2026 23:14:13 +0100 Subject: add more samples + tool html --- cnn_v3/training/go.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 cnn_v3/training/go.sh (limited to 'cnn_v3/training/go.sh') diff --git a/cnn_v3/training/go.sh b/cnn_v3/training/go.sh new file mode 100755 index 0000000..31ac655 --- /dev/null +++ b/cnn_v3/training/go.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +i=0 +for f in input/*.jpg; do + name=$(basename "${f%.jpg}") + convert ${f} ${name}.png + index=$(printf "%03d" "$i") + echo "processing ${name} ${index}" + python3 pack_photo_sample.py --photo "${name}.png" \ + --target target_1/${name}_out.png \ + --output dataset/simple/sample_${index}/ + ((i++)) +done -- cgit v1.2.3