From 064ebb52847949d62f81873f5e44f12bca4d2e60 Mon Sep 17 00:00:00 2001 From: skal Date: Fri, 13 Feb 2026 08:24:36 +0100 Subject: Add weights/ subdirectory to workspaces for CNN training outputs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Each workspace now has a weights/ directory to store binary weight files from CNN training (e.g., cnn_v2_weights.bin). Changes: - Created workspaces/{main,test}/weights/ - Moved cnn_v2_weights.bin → workspaces/main/weights/ - Updated assets.txt reference - Updated training scripts and export tool paths handoff(Claude): Workspace weights/ directories added --- scripts/train_cnn_v2_full.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/train_cnn_v2_full.sh') diff --git a/scripts/train_cnn_v2_full.sh b/scripts/train_cnn_v2_full.sh index d6ddbe2..db55a8b 100755 --- a/scripts/train_cnn_v2_full.sh +++ b/scripts/train_cnn_v2_full.sh @@ -155,7 +155,7 @@ echo " Using checkpoint: $FINAL_CHECKPOINT" # Export weights only if not in validate mode if [ "$VALIDATE_ONLY" = false ]; then python3 training/export_cnn_v2_weights.py "$FINAL_CHECKPOINT" \ - --output-weights workspaces/main/cnn_v2_weights.bin > /dev/null 2>&1 + --output-weights workspaces/main/weights/cnn_v2_weights.bin > /dev/null 2>&1 fi # Build cnn_test @@ -183,7 +183,7 @@ echo "" echo "Results:" if [ "$VALIDATE_ONLY" = false ]; then echo " - Checkpoints: $CHECKPOINT_DIR" - echo " - Final weights: workspaces/main/cnn_v2_weights.bin" + echo " - Final weights: workspaces/main/weights/cnn_v2_weights.bin" fi echo " - Validation outputs: $VALIDATION_DIR" echo "" -- cgit v1.2.3