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.
1task: segment2mode: train3model: /home/jb/codex/projects/objectSegmentation/runs/segment/emergency_stop_frozen_backbone/weights/best.pt4data: /home/jb/codex/projects/objectScanner/datasets/my_object_20260925_r2/yolo_seg_pose_onthefly/segmentation/data.yaml5epochs: 1006time: null7patience: 258batch: 89imgsz: 64010save: true11save_period: -112cache: false13device: '0'14workers: 415project: /home/jb/codex/projects/objectScanner/training/yolo16name: my_object_20260925_r2_onthefly_seg17exist_ok: false18pretrained: true19optimizer: AdamW20verbose: true21seed: 31722deterministic: true23single_cls: false24rect: false25cos_lr: false26close_mosaic: 1027resume: false28amp: true29fraction: 1.030profile: false31freeze: 1132multi_scale: false33compile: false34overlap_mask: true35mask_ratio: 436dropout: 0.037val: true38split: val39save_json: false40conf: null41iou: 0.742max_det: 30043half: false44dnn: false45plots: true46source: null47vid_stride: 148stream_buffer: false49visualize: false50augment: false51agnostic_nms: false52classes: null53retina_masks: false54embed: null55show: false56save_frames: false57save_txt: false58save_conf: false59save_crop: false60show_labels: true61show_conf: true62show_boxes: true63line_width: null64format: torchscript65keras: false66optimize: false67int8: false68dynamic: false69simplify: true70opset: null71workspace: null72nms: false73lr0: 0.000174lrf: 0.0175momentum: 0.93776weight_decay: 0.000577warmup_epochs: 3.078warmup_momentum: 0.879warmup_bias_lr: 0.180box: 7.581cls: 0.582dfl: 1.583pose: 12.084kobj: 1.085nbs: 6486hsv_h: 0.01587hsv_s: 0.788hsv_v: 0.489degrees: 0.090translate: 0.191scale: 0.592shear: 0.093perspective: 0.094flipud: 0.095fliplr: 0.096bgr: 0.097mosaic: 1.098mixup: 0.099cutmix: 0.0100copy_paste: 0.0101copy_paste_mode: flip102auto_augment: randaugment103erasing: 0.4104cfg: null105tracker: botsort.yaml