{
  "schema_version": 1,
  "kind": "pallet_baseline_training_handoff",
  "scope": "data_task_and_current_source; implement_and_train_on_target",
  "implementation_status": "pending",
  "execution_status": "not_started",
  "paths_relative_to": "handoff_root",
  "paths": {
    "dataset_archive": "payload/pallet_dataset_formal_v1.zip",
    "dataset_root": "dataset",
    "source_snapshot": "source",
    "implementation_root": "work/source",
    "runs": "runs",
    "weights": "weights"
  },
  "dataset": {
    "version": "formal_v1",
    "archive_sha256": "868259c08abad0f4f512c6de6b5f38bdafac94e8ae7cc792dbaeb9448f466c8b",
    "manifest_sha256": "cb075be080cdd1255628d0f2ef1deec35a79314b64ab3d98d204d093d6d7a3f5",
    "annotations_sha256": "ccdd70c930cf1cf117a96f54dfdf4b858d3d1b2c589b2d8dadef851237a7f4bb",
    "frames": 10374,
    "boxes": 12344,
    "groups": 428,
    "positives": 10111,
    "negatives": 263,
    "splits": {"train": 6552, "val": 1455, "test": 2367},
    "independent_blind_reference": false,
    "label_origin": "human_corrected_model_assisted",
    "reviewer_count_claimed": 1,
    "reconstructed_intensity_frames": 118,
    "orientation_corrected_frames": 300,
    "irrecoverable_black_excluded": 148
  },
  "environment": {
    "platform": "Linux x86_64",
    "python": "3.11",
    "torch": "2.6.0+cu124",
    "torchvision": "0.21.0+cu124",
    "ultralytics": "8.4.163",
    "rfdetr": "1.11.0",
    "target_network": "online",
    "ecdet_environment": "separate_from_project",
    "edgecrafter_repository": "https://github.com/Intellindust-AI-Lab/EdgeCrafter.git",
    "edgecrafter_commit": "d7fdcb5100a2b2b97275b8b91d6bb171d4188cab"
  },
  "training": {
    "seed": 42,
    "size": 640,
    "resize": "aspect_preserving_letterbox",
    "effective_batch": 16,
    "microbatch_candidates": [16, 8, 4, 2],
    "minimum_free_vram_fraction": 0.15,
    "epochs": 300,
    "patience": 50,
    "selection_metric": "validation_coco_AP50_95",
    "selection_model": "EMA",
    "mosaic": false,
    "mixup": false,
    "multi_scale": false,
    "color_augmentation": false,
    "horizontal_flip_probability": 0.5,
    "scale_range": [0.5, 1.5],
    "translation_fraction": 0.1,
    "p2": false,
    "gated_fusion": false,
    "depth_edge": false,
    "normalization_fit_split": "train",
    "initialization": "official_detection_pretrained; no historical assistant weights",
    "recipe": "family_official_optimizer_loss_schedule_with_documented_common_research_constraints"
  },
  "evaluation": {
    "backend": "pycocotools",
    "confidence_floor": 0.001,
    "prediction_max_detections": 300,
    "coco_max_detections": [1, 10, 100],
    "yolov8_nms_iou": 0.7,
    "operating_threshold": "maximum validation F1 at IoU0.5; highest threshold on tie",
    "matching": "score_ordered_one_to_one",
    "bootstrap_unit": "capture_group",
    "bootstrap_samples": 1000,
    "bootstrap_seed": 42,
    "confidence_interval": 0.95,
    "final_test_after_all_configurations_frozen": true,
    "training_seed_standard_deviation": "not_applicable_single_seed"
  },
  "scheduling": {
    "gpus": 8,
    "assignment": "sort_target_actual_GPU_UUIDs_and_assign_one_experiment_each",
    "distributed_training": false,
    "workers_per_run_initial": 4,
    "total_workers_cap": "available_CPU_cores; reduce_workers_evenly_if_exceeded",
    "minimum_initial_free_disk_gib": 120,
    "pause_below_free_disk_gib": 50,
    "estimate_after_real_epochs": 10
  },
  "benchmark": {
    "after_all_training_completed": true,
    "gpu": "one_fixed_target_4090_UUID_for_all_models",
    "batch": 1,
    "precision": "fp32",
    "tf32": false,
    "warmup": 50,
    "repetitions": 200,
    "cuda_synchronization": true,
    "frame_selection": "same_30_validation_frames_stratified_by_domain; fixed_before_test",
    "latency_statistics": ["median_ms", "p95_ms"],
    "measurements": ["forward", "model_and_postprocess", "file_read_to_original_coordinate_boxes"]
  },
  "experiments": [
    {"id": "01_yolov8s_png", "model": "yolov8s", "input": "png_intensity_rgb", "weights": "yolov8s.pt", "implementation_status": "pending", "execution_status": "not_started"},
    {"id": "02_yolo26s_png", "model": "yolo26s", "input": "png_intensity_rgb", "weights": "yolo26s.pt", "inference_head": "one_to_one_nms_free", "implementation_status": "pending", "execution_status": "not_started"},
    {"id": "03_rfdetr_small_png", "model": "rfdetr-small", "input": "png_intensity_rgb", "weights": "rf-detr-small.pth", "implementation_status": "pending", "execution_status": "not_started"},
    {"id": "04_ecdet_s_png", "model": "ecdet-s", "input": "png_intensity_rgb", "weights": "ecdet_s.pth", "implementation_status": "pending", "execution_status": "not_started"},
    {"id": "05_yolo26s_float_i", "model": "yolo26s", "input": "float_intensity_mask", "weights": "yolo26s.pt", "adapter": "shared_shallow_4_to_3", "inference_head": "one_to_one_nms_free", "implementation_status": "pending", "execution_status": "not_started"},
    {"id": "06_yolo26s_float_di", "model": "yolo26s", "input": "float_depth_intensity_masks", "weights": "yolo26s.pt", "adapter": "shared_shallow_4_to_3", "inference_head": "one_to_one_nms_free", "implementation_status": "pending", "execution_status": "not_started"},
    {"id": "07_rfdetr_small_float_i", "model": "rfdetr-small", "input": "float_intensity_mask", "weights": "rf-detr-small.pth", "adapter": "shared_shallow_4_to_3", "implementation_status": "pending", "execution_status": "not_started"},
    {"id": "08_rfdetr_small_float_di", "model": "rfdetr-small", "input": "float_depth_intensity_masks", "weights": "rf-detr-small.pth", "adapter": "shared_shallow_4_to_3", "implementation_status": "pending", "execution_status": "not_started"}
  ]
}
