← Back to the animated process

scripts/collect_process/05_train_segmentation.sh

Implementation snapshot supporting the published lesson. Only cited line ranges are included; this is not a runnable source file. Configuration and recorded examples describe this project snapshot.

… uncited lines omitted …
4require_file "$YOLO_DATASET/segmentation/data.yaml"5require_dir "$PROJECT_ROOT/../objectSegmentation/backgrounds/picsum"6"$PROJECT_ROOT/.venv-ros-cuda/bin/python" \7    "$PROJECT_ROOT/scripts/verify_phase4_frame_contract.py" "$DATASET" "$CATEGORY"8"$PROJECT_ROOT/.venv/bin/python" "$PROJECT_ROOT/scripts/pnp_snapshot.py" save "$DATASET"910cd "$PROJECT_ROOT"11exec ../objectSegmentation/.venv/bin/python -E scripts/train_yolo_seg_pose.py \12    --dataset "$YOLO_DATASET" \13    --project "$PROJECT_ROOT/training/yolo" \14    --name "${SESSION}_onthefly" \15    --task segmentation \16    --epoch-repeats 12 \17    --backgrounds "$PROJECT_ROOT/../objectSegmentation/backgrounds/picsum" \18    "${@:3}"