{
  "intake": {
    "schema_version": 1,
    "kind": "input",
    "asset_key": "pose-preview",
    "model_class": "RFDETRKeypointPreview",
    "artifact": {
      "filename": "rf-detr-keypoint-preview-xlarge.pth",
      "size_bytes": 163696618,
      "sha256": "2b70ddf51d2b9e026b340030c7d9bd2cdca2532d081ec16fce8d1695b0ce6d98",
      "md5": "6de511943ee85a547d4c5cb527daf0eb"
    },
    "source": {
      "url": "https://storage.googleapis.com/rfdetr/rf-detr-keypoint-preview-xlarge.pth",
      "registry_commit": "3f7748b1783533bc2e62804ca5975fe9b9cfc041",
      "rfdetr_version": "1.9.3"
    },
    "verification": {
      "file_identity": "PASS",
      "weight_load": "NOT_RUN",
      "export": "NOT_RUN",
      "runtime": "NOT_RUN"
    },
    "contract": {
      "authority": "PINNED_REFERENCE_NOT_LOADED_WEIGHT",
      "resolution": [
        576,
        576
      ],
      "patch_size": 12,
      "num_queries_reference": 100,
      "num_select_reference": 100,
      "class_mapping": "WAIT: Pose-specific config/checkpoint mapping",
      "keypoints": "COCO person 17; exact output schema WAIT",
      "outputs_expected": null,
      "preprocessing": {
        "color": "RGB",
        "layout": "NCHW",
        "dtype": "FP32",
        "mean": [
          0.485,
          0.456,
          0.406
        ],
        "std": [
          0.229,
          0.224,
          0.225
        ],
        "pixel_scale": "1/255",
        "resize": [
          576,
          576
        ],
        "verification": "REFERENCE_ONLY_WEIGHT_LOAD_WAIT"
      }
    }
  },
  "loaded": {
    "status": "PASS",
    "parameters": 734,
    "mismatch_count": 0
  },
  "export": {
    "status": "CONTRACT_PASS",
    "stage": "export",
    "runtime": "NOT_RUN",
    "environment": {
      "python": "3.12.3",
      "packages": {
        "rfdetr": "1.9.3",
        "torch": "2.13.0+cu132",
        "torchvision": "0.28.0",
        "onnx": "1.22.0",
        "onnxruntime": "1.29.0",
        "onnxsim": "0.7.3",
        "onnx_graphsurgeon": "0.6.1",
        "transformers": "5.16.1"
      }
    },
    "config": {
      "encoder": "dinov2_windowed_small",
      "out_feature_indexes": [
        3,
        6,
        9,
        12
      ],
      "dec_layers": 4,
      "two_stage": true,
      "projector_scale": [
        "P4"
      ],
      "hidden_dim": 256,
      "patch_size": 12,
      "num_windows": 2,
      "sa_nheads": 8,
      "ca_nheads": 16,
      "dec_n_points": 2,
      "num_queries": 100,
      "num_select": 100,
      "postprocess_trace_alpha": 0.2,
      "bbox_reparam": true,
      "lite_refpoint_refine": true,
      "layer_norm": true,
      "amp": true,
      "num_channels": 3,
      "num_classes": 1,
      "pretrain_weights": "/weights/rf-detr-keypoint-preview-xlarge.pth",
      "device": "cpu",
      "resolution": 576,
      "group_detr": 13,
      "gradient_checkpointing": false,
      "compile": false,
      "fused_optimizer": true,
      "positional_encoding_size": 48,
      "ia_bce_loss": true,
      "segmentation_head": false,
      "use_grouppose_keypoints": true,
      "keypoint_cross_attn": true,
      "inter_instance_kp_attn": false,
      "grouppose_keypoint_dim_downscale": 1,
      "dual_projector": true,
      "dual_projector_kp_only": true,
      "num_keypoints_per_class": [
        0,
        17
      ],
      "num_decoder_registers": 0,
      "mask_downsample_ratio": 4,
      "backbone_lora": false,
      "freeze_encoder": false,
      "license": "Apache-2.0",
      "model_name": null
    },
    "outputs": {
      "pred_boxes": {
        "shape": [
          1,
          100,
          4
        ],
        "dtype": "float32"
      },
      "pred_logits": {
        "shape": [
          1,
          100,
          2
        ],
        "dtype": "float32"
      },
      "pred_keypoints": {
        "shape": [
          1,
          100,
          34,
          8
        ],
        "dtype": "float32"
      }
    },
    "onnx": {
      "path": "/evidence/export/rfdetr-keypoint-preview.onnx",
      "fingerprint": {
        "size_bytes": 145100523,
        "sha256": "66ebb0386fefc400d4bd89fe74cd840d526f179b13ca73cd73850993ceb4aba5",
        "md5": "21f762d977dc35c1911d7494afd90daf"
      }
    },
    "onnx_outputs": [
      "dets",
      "labels",
      "keypoints"
    ],
    "comparison": {
      "dets": {
        "max_abs": 6.213784217834473e-06,
        "numerical_pass": true
      },
      "labels": {
        "max_abs": 8.58306884765625e-06,
        "numerical_pass": true
      },
      "keypoints": {
        "max_abs": 5.879998207092285e-05,
        "numerical_pass": true
      }
    },
    "elapsed_s": 59.520761501044035
  },
  "plan_sha256": "eb436b74d13c7225771dbc0a0eb5f4a2f0e7cf08252cca485b84ff0c8e2d7a36",
  "decoder_oracle": [
    {
      "fixture": "reference",
      "count": 100,
      "max_abs": 5.960464477539063e-08,
      "status": "PASS"
    },
    {
      "fixture": "onnx",
      "count": 100,
      "max_abs": 5.960464477539063e-08,
      "status": "PASS"
    }
  ],
  "plan_comparison": {
    "dets": {
      "max_abs": 0.7258867025375366,
      "atol": 0.005,
      "rtol": 0.01,
      "numerical_pass": false
    },
    "labels": {
      "max_abs": 0.8475961685180664,
      "atol": 0.05,
      "rtol": 0.01,
      "numerical_pass": false
    },
    "keypoints": {
      "max_abs": 6.837137699127197,
      "atol": 0.05,
      "rtol": 0.01,
      "numerical_pass": false
    }
  },
  "source_acceptance": "WAIT_USER_VISUAL",
  "runtime_acceptance": "WAIT_SDK"
}