{
  "status": "TENSORRT_CANDIDATE_TECHNICAL_PASS",
  "source": {
    "repository": "Awiros/person_and_head_detection",
    "verified_revision": "823ca54bbf1446173f6906198a5e8b2a3e090890",
    "download_revision": "UNKNOWN; uploaded file matches verified revision",
    "path": "/data/contextra/model-artifacts/awiros-person-head-r01/source/checkpoint_best_total.safetensors",
    "sha256": "16092352a61d4bd0fe77be94db28db5fc19e9201540d6f39f3513f037fb03db1",
    "size": 127238024,
    "license_model_card": "Apache-2.0",
    "official_files": {
      "README.md": "6b5af546e544e41168372799ef12e9f62b3cac5279e420c0c5d20bd6f079d5a8",
      "scripts/inference.py": "01603d593c6356527e7e389a6ec50d5b899c278d738a9969afc716cfb0fc396c",
      "scripts/convert_release_checkpoint.py": "d50abd70e22887b04a711dfb80d2258ed8ca5d3a4d58459ef2da006b276fc65f"
    }
  },
  "exporter": {
    "image": "sha256:62941207fb0ae9e750f7bbc96862fef38a911d26ab7c5d88a1e8e917f504cad1",
    "rfdetr_version": "1.9.3",
    "rfdetr_origin": {
      "url": "https://github.com/roboflow/rf-detr.git",
      "vcs_info": {
        "commit_id": "3f7748b1783533bc2e62804ca5975fe9b9cfc041",
        "requested_revision": "3f7748b1783533bc2e62804ca5975fe9b9cfc041",
        "vcs": "git"
      }
    },
    "rfdetr_code_sha256": "6aa38b14ec782f6493ce525578e8061d4300727450c80f128be36b804aacdd14"
  },
  "target_gpu": "name, uuid, driver_version, memory.total [MiB], memory.used [MiB], utilization.gpu [%]\nNVIDIA RTX A6000, GPU-7cf33fb3-1984-b902-9416-bdfe504e1245, 595.84, 49140 MiB, 8514 MiB, 23 %\n",
  "requested": {
    "input_dtype": "FP16",
    "optimization": "FP16",
    "output_dtype": "FP32",
    "batch": [
      1,
      4,
      4
    ]
  },
  "accuracy": "NOT_RUN_USER_VISUAL",
  "runtime_registration": "NOT_RUN",
  "completed_at": "2026-09-20T13:36:20.361065+00:00",
  "files": {
    "source": {
      "path": "/data/contextra/model-artifacts/awiros-person-head-r01/source/checkpoint_best_total.safetensors",
      "size_bytes": 127238024,
      "sha256": "16092352a61d4bd0fe77be94db28db5fc19e9201540d6f39f3513f037fb03db1"
    },
    "converted": {
      "path": "/data/contextra/model-artifacts/awiros-person-head-r01/converted/checkpoint.pth",
      "size_bytes": 127340152,
      "sha256": "ad50f08fff1c7cd2781b5f415a14fabceed69d3c06730788f8e0cec8b5fb5455"
    },
    "onnx": {
      "path": "/data/contextra/model-artifacts/awiros-person-head-r01/onnx/rfdetr-small.onnx",
      "size_bytes": 114577914,
      "sha256": "98f5c29c60c4bb60120e26e0287bea456c1bb503b4c2d21f4b0d20d8e47868dc"
    },
    "engine": {
      "path": "/data/contextra/model-artifacts/awiros-person-head-r01/engine/model.plan",
      "size_bytes": 61408684,
      "sha256": "c2d952963b8cd8a04ef0f5a883b448c9a90af34bf01d13d51e4315279689c096"
    }
  },
  "conversion_tools": {
    "tools/export.py": {
      "path": "/data/contextra/model-artifacts/awiros-person-head-r01/tools/export.py",
      "size_bytes": 2204,
      "sha256": "800187839407a468d890ef6f0a27bba099f4dfda55722234afcff0b3a694698f"
    },
    "tools/finalize.py": {
      "path": "/data/contextra/model-artifacts/awiros-person-head-r01/tools/finalize.py",
      "size_bytes": 3735,
      "sha256": "303f7a2f041716ab997a38e5628f605fa3d6d176696755a29e31560ef53d3bdc"
    },
    "tools/intake.py": {
      "path": "/data/contextra/model-artifacts/awiros-person-head-r01/tools/intake.py",
      "size_bytes": 3114,
      "sha256": "01464410554d2af0f9a16a0f176a6d2a91795da78e2d710d81acad5a2130948e"
    },
    "tools/probe": {
      "path": "/data/contextra/model-artifacts/awiros-person-head-r01/tools/probe",
      "size_bytes": 34696,
      "sha256": "c0ff2d0a008a113ba04b46f83826f40ca1e5409ee5f29938cb029b15fd921809"
    },
    "tools/probe.cpp": {
      "path": "/data/contextra/model-artifacts/awiros-person-head-r01/tools/probe.cpp",
      "size_bytes": 4482,
      "sha256": "030303fb7fc95e01a49f909cb3868327f3e98e2c2596e50ef3ba5558d70ae250"
    },
    "tools/run_stage.py": {
      "path": "/data/contextra/model-artifacts/awiros-person-head-r01/tools/run_stage.py",
      "size_bytes": 2974,
      "sha256": "7ddb2f4d4da2fdf93ccab6261e00a67b94cd5b6c27110d7d0e621fe2b0c41ce3"
    }
  },
  "export_contract": {
    "resolution": 512,
    "class_names": [
      "person",
      "head"
    ],
    "model_config": {
      "encoder": "dinov2_windowed_small",
      "out_feature_indexes": [
        3,
        6,
        9,
        12
      ],
      "dec_layers": 3,
      "two_stage": true,
      "projector_scale": [
        "P4"
      ],
      "hidden_dim": 256,
      "patch_size": 16,
      "num_windows": 2,
      "sa_nheads": 8,
      "ca_nheads": 16,
      "dec_n_points": 2,
      "num_queries": 300,
      "num_select": 300,
      "postprocess_trace_alpha": 0.2,
      "bbox_reparam": true,
      "lite_refpoint_refine": true,
      "layer_norm": true,
      "amp": true,
      "num_channels": 3,
      "num_classes": 2,
      "pretrain_weights": "/work/converted/checkpoint.pth",
      "device": "cpu",
      "resolution": 512,
      "group_detr": 13,
      "gradient_checkpointing": false,
      "compile": false,
      "fused_optimizer": true,
      "positional_encoding_size": 32,
      "ia_bce_loss": true,
      "segmentation_head": false,
      "use_grouppose_keypoints": false,
      "keypoint_cross_attn": true,
      "inter_instance_kp_attn": false,
      "grouppose_keypoint_dim_downscale": 1,
      "dual_projector": false,
      "dual_projector_kp_only": false,
      "num_keypoints_per_class": [],
      "num_decoder_registers": 0,
      "mask_downsample_ratio": 4,
      "backbone_lora": false,
      "freeze_encoder": false,
      "license": "Apache-2.0",
      "model_name": null
    },
    "loaded_tensors": 487,
    "strict_uploaded_tensor_match": true,
    "versions": {
      "torch": "2.13.0+cu132",
      "rfdetr": "1.9.3",
      "safetensors": "0.8.0",
      "onnx": "1.22.0"
    }
  },
  "onnx_contract": {
    "path": "/work/onnx/rfdetr-small.onnx",
    "inputs": {
      "input": {
        "dtype": 1,
        "shape": [
          "batch",
          3,
          512,
          512
        ]
      }
    },
    "outputs": {
      "dets": {
        "dtype": 1,
        "shape": [
          "batch",
          "Concatdets_dim_1",
          "Concatdets_dim_2"
        ]
      },
      "labels": {
        "dtype": 1,
        "shape": [
          "batch",
          "Addlabels_dim_1",
          3
        ]
      }
    }
  },
  "stages": {
    "export": {
      "stage": "export",
      "returncode": 0,
      "reason": null,
      "elapsed_seconds": 28.004209321225062,
      "lowest_root_bytes": 31388073984
    },
    "build": {
      "stage": "build",
      "returncode": 0,
      "reason": null,
      "elapsed_seconds": 182.02662389399484,
      "lowest_root_bytes": 31335329792
    },
    "probe": {
      "stage": "probe",
      "returncode": 0,
      "reason": null,
      "elapsed_seconds": 4.000781928887591,
      "lowest_root_bytes": 31387516928
    }
  },
  "engine_contract": {
    "input": {
      "name": "input",
      "shape": [
        "batch",
        3,
        512,
        512
      ],
      "dtype": "FP16"
    },
    "outputs": {
      "dets": {
        "shape": [
          "batch",
          300,
          4
        ],
        "dtype": "FP32"
      },
      "labels": {
        "shape": [
          "batch",
          300,
          3
        ],
        "dtype": "FP32"
      }
    },
    "batch_min_opt_max": [
      1,
      4,
      4
    ],
    "optimization": "FP16 allowed; not an all-layers-FP16 guarantee",
    "tensorrt": "10.16.0",
    "executions": [
      {
        "batch": 1,
        "shape_dtype_finite": "PASS"
      },
      {
        "batch": 2,
        "shape_dtype_finite": "PASS"
      },
      {
        "batch": 3,
        "shape_dtype_finite": "PASS"
      },
      {
        "batch": 4,
        "shape_dtype_finite": "PASS"
      }
    ]
  },
  "preprocessing": {
    "color": "RGB",
    "layout": "NCHW",
    "scale": "uint8 / 255",
    "resize": "bilinear to 512x512, antialias=False, no letterbox",
    "mean": [
      0.485,
      0.456,
      0.406
    ],
    "std": [
      0.229,
      0.224,
      0.225
    ],
    "input_cast": "FP16 after normalization"
  },
  "output_semantics": {
    "dets": "normalized cx,cy,w,h",
    "labels": "raw per-class logits; sigmoid downstream",
    "semantic_classes": {
      "0": "person",
      "1": "head"
    },
    "extra_slot": {
      "2": "additional/background slot; not a third crowd class"
    },
    "mapping_basis": "Official Awiros class_names [person,head], existing pinned RF-DETR custom-class enumerate mapping; not independently accuracy-tested",
    "runtime_decoder": "NOT_IMPLEMENTED_OR_REGISTERED"
  },
  "validation": {
    "onnx_checker": "PASS",
    "checkpoint_tensors_exact_match": 487,
    "engine_deserialization": "PASS",
    "batches_1_4_shape_dtype_finite": "PASS",
    "input_fixture": "zero normalized FP16 tensor; no image-quality claim",
    "accuracy": "NOT_RUN_USER_VISUAL",
    "performance": "NOT_BENCHMARKED",
    "target_icerti_gpu": "NOT_CONVERTED",
    "runtime_registration": "NOT_RUN"
  },
  "warnings": [
    "ONNX tracing warnings retained in export.log; dynamic batch checked by actual TensorRT batch1-4 execution",
    "A6000 engine portability to Blackwell is not assumed"
  ],
  "existing_containers_preserved": {
    "/contextra-analytics-1": true,
    "/contextra-ai-control-sidecar-1": true,
    "/contextra-ai-gateway-1": true,
    "/contextra-redis-1": true,
    "/ai-worker": true,
    "/contextra-postgresql-1": true,
    "/steam-glotech-relay": true,
    "/api-endpoint": true,
    "/2a2658c07645_backend": true,
    "/7baf123823e7_daphne": true,
    "/nginx": true,
    "/mysql": true,
    "/redis": true,
    "/fileserver": true,
    "/rtsp-repeter": true,
    "/triton-server": true,
    "/ssims-flower": true,
    "/itone-redis": true
  }
}