← Back to the animated process

scripts/collect_process/06_train_pose.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/pose/data.yaml"5POSE_START_WEIGHTS="${POSE_START_WEIGHTS:-$PROJECT_ROOT/training/yolo/my_object_rgbd_unfrozen_pose/weights/best.pt}"6require_file "$POSE_START_WEIGHTS"7"$PROJECT_ROOT/.venv-ros-cuda/bin/python" \8    "$PROJECT_ROOT/scripts/verify_phase4_frame_contract.py" "$DATASET" "$CATEGORY"9"$PROJECT_ROOT/.venv/bin/python" "$PROJECT_ROOT/scripts/pnp_snapshot.py" save "$DATASET"1011cd "$PROJECT_ROOT"12exec ../objectSegmentation/.venv/bin/python -E scripts/train_yolo_seg_pose.py \13    --dataset "$YOLO_DATASET" \14    --project "$PROJECT_ROOT/training/yolo" \15    --name "${SESSION}_pose_refined" \16    --task pose \17    --pose-model "$POSE_START_WEIGHTS" \18    --epochs 100 --patience 25 --freeze 0 --lr0 0.00005 --epoch-repeats 12 \19    "${@:3}"