{
  "schema": "dinov3-real-patches.v1",
  "created_at": "2026-09-18T19:49:04.270710+00:00",
  "model": {
    "id": "facebook/dinov3-vitl16-pretrain-lvd1689m",
    "revision": "ea8dc2863c51be0a264bab82070e3e8836b02d51",
    "weight_sha256": "dcb2e45127cccbf1601e5f42fef165eea275c8e5213197e8dcf3f48822718179",
    "class": "DINOv3ViTModel",
    "output": "last_hidden_state after final LayerNorm",
    "slice": "[:, 1 + num_register_tokens:, :] = [:, 5:, :]",
    "patch_size": 16,
    "grid": [
      14,
      14
    ],
    "dimension": 1024,
    "dtype": "torch.float32",
    "training": false
  },
  "preprocessing": {
    "class": "DINOv3ViTImageProcessorFast",
    "configuration": {
      "_processor_class": null,
      "crop_size": null,
      "data_format": "channels_first",
      "default_to_square": true,
      "device": null,
      "disable_grouping": null,
      "do_center_crop": null,
      "do_convert_rgb": null,
      "do_normalize": true,
      "do_rescale": true,
      "do_resize": true,
      "image_mean": [
        0.485,
        0.456,
        0.406
      ],
      "image_processor_type": "DINOv3ViTImageProcessorFast",
      "image_std": [
        0.229,
        0.224,
        0.225
      ],
      "input_data_format": null,
      "resample": 2,
      "rescale_factor": 0.00392156862745098,
      "return_tensors": null,
      "size": {
        "height": 224,
        "width": 224
      },
      "pad_size": null,
      "do_pad": null
    },
    "operations": [
      "decode JPEG as RGB",
      "rescale 1/255",
      "bilinear antialiased resize to 224x224",
      "channel normalization by ImageNet mean/std"
    ],
    "crop": null,
    "display": "inverse channel normalization; round to uint8 PNG",
    "patch_order": "row-major: index = row * 14 + column; 0-based"
  },
  "selection": {
    "policy": "per class, max/min dot with mean of L2-normalized stored DINOv3 CLS vectors; includes self",
    "interpretation": "six explanatory cases, not a statistically representative sample",
    "ids": [
      94,
      99,
      183,
      123,
      256,
      209
    ],
    "feature_sha256": "6f0ccd8d6f5f0b9a056602330c8cd9b1b1718b59bd2c20f43cf154363938deb0"
  },
  "similarity": {
    "formula": "cos(p,q) = (p/||p||2) dot (q/||q||2)",
    "normalization": "per patch L2 in float64 after model final LayerNorm",
    "matrix_shape": [
      196,
      196
    ],
    "encoding": "little-endian float32, row-major",
    "quantization": "float64 cosine rounded to float32; no clipping before export",
    "scope": "patches within the same image; not attention, causality, or Gram-training ablation"
  },
  "runtime": {
    "torch": "2.7.0+cu126",
    "transformers": "4.57.6",
    "device": "cuda:0",
    "inference_only": true,
    "forward_passes": 7,
    "processor_source_sha256": "bae119040669e6a69d010fac06e0e76bd81e52591585d5bb715efa557d29ce5d",
    "model_source_sha256": "79f9cc140c1eca19d992285cecfe57faf0f1c470e6f2b296bf01f7fd94473705",
    "repeat_max_absolute_difference": 0.0,
    "elapsed_seconds": 1.0371966229286045
  },
  "samples": [
    {
      "id": 94,
      "file": "train/angular_leaf_spot/angular_leaf_spot_0094.jpg",
      "class": "angular_leaf_spot",
      "selection_role": "central",
      "class_center_score": 0.8570493773095826,
      "original_size": [
        500,
        500
      ],
      "input_size": [
        224,
        224
      ],
      "original_url": "assets/patches/094-original.jpg",
      "input_url": "assets/patches/094-input.png",
      "cosine_url": "assets/patches/094-cosine.f32",
      "image_sha256": "2c725e8d1350b8e6970cd15cc1aa56793902f15c8da04fd4cdedb6d52a7f5613",
      "input_png_sha256": "846a6a249729a763a64166e75ac723a696cda53ef600670017011d648c901f81",
      "cosine_sha256": "befd4645d13ab6516ff25eaca6e3ffba9199beddea702a2d41516492d6a9d235",
      "patch_features_sha256": "1c83e1058bfb36445ae2894d610b6c701865d846a467fd439d5060e70696d453",
      "patch_shape": [
        196,
        1024
      ],
      "patch_norm_range": [
        7.388293129120542,
        11.44189782323344
      ],
      "cosine_range": [
        0.13221399675571024,
        1.0000000000000013
      ],
      "float32_export_max_error": 2.9801299428200423e-08,
      "cls_cosine_to_prior_artifact": 0.9999999728787397,
      "initial_patch": 105
    },
    {
      "id": 99,
      "file": "train/angular_leaf_spot/angular_leaf_spot_0099.jpg",
      "class": "angular_leaf_spot",
      "selection_role": "peripheral",
      "class_center_score": 0.5937705436471388,
      "original_size": [
        500,
        500
      ],
      "input_size": [
        224,
        224
      ],
      "original_url": "assets/patches/099-original.jpg",
      "input_url": "assets/patches/099-input.png",
      "cosine_url": "assets/patches/099-cosine.f32",
      "image_sha256": "2e501cb30699397e2fb3b4367e5d503332ad2d45fa7d7882504cdb96bfd3ec19",
      "input_png_sha256": "fcb9a78a3348c6a465c0d3077e6fd2e5efc29f6a028ec21c362ad59d5f702bd6",
      "cosine_sha256": "303430b4bc89dc67ae33f729678b00e9633e11997c809986b17f7baa5f23b9a5",
      "patch_features_sha256": "e230e189d4c8f6bcd075f0fcb87be9b7fb50575711d761cce8cc0ea9bb9ce7a7",
      "patch_shape": [
        196,
        1024
      ],
      "patch_norm_range": [
        7.720478915239978,
        9.739640673432515
      ],
      "cosine_range": [
        0.1550974859091023,
        1.0000000000000013
      ],
      "float32_export_max_error": 2.9800497403087434e-08,
      "cls_cosine_to_prior_artifact": 0.9999993996648822,
      "initial_patch": 105
    },
    {
      "id": 183,
      "file": "train/bean_rust/bean_rust_0083.jpg",
      "class": "bean_rust",
      "selection_role": "central",
      "class_center_score": 0.8822954404591518,
      "original_size": [
        500,
        500
      ],
      "input_size": [
        224,
        224
      ],
      "original_url": "assets/patches/183-original.jpg",
      "input_url": "assets/patches/183-input.png",
      "cosine_url": "assets/patches/183-cosine.f32",
      "image_sha256": "1a219de81cc000965471a52a96de96e94977b0106d34cb7e09975b4c953d4adc",
      "input_png_sha256": "96ca2972d56f62bbe0afed1905a783f176c9b23b64a4b75c0e1b8e333d20e34c",
      "cosine_sha256": "e2aa73c3a36c99a2ae37cf86ea46c4b8a1b05262eb8cb6906c2d094f28fd6975",
      "patch_features_sha256": "235e5a0d0b98eafa8a2232b4d7de5ef8df84a8acc7fb3bd301c2617b9d64c56d",
      "patch_shape": [
        196,
        1024
      ],
      "patch_norm_range": [
        7.48157812280543,
        11.155319521096429
      ],
      "cosine_range": [
        0.04076633023877453,
        1.0000000000000016
      ],
      "float32_export_max_error": 2.9801447087862698e-08,
      "cls_cosine_to_prior_artifact": 0.9999999539821924,
      "initial_patch": 105
    },
    {
      "id": 123,
      "file": "train/bean_rust/bean_rust_0023.jpg",
      "class": "bean_rust",
      "selection_role": "peripheral",
      "class_center_score": 0.6273707925592333,
      "original_size": [
        500,
        500
      ],
      "input_size": [
        224,
        224
      ],
      "original_url": "assets/patches/123-original.jpg",
      "input_url": "assets/patches/123-input.png",
      "cosine_url": "assets/patches/123-cosine.f32",
      "image_sha256": "4b057fa3244b8deb213aca68ede24c36191e5ec1f5f7d8c3797c737c15e6659c",
      "input_png_sha256": "c99977713d41d7dc5e2a60e50a9f842ecce33508a83bf73dd0d1b3e5c501c130",
      "cosine_sha256": "1c3f841f6fb18ee1f2205169a93d22096ce5beb00984f0cb52a78d4bca8c9d81",
      "patch_features_sha256": "696d73cb51ce110bfac9526646f38f4648f03c8a2da6fdeb817325c1b1198ffe",
      "patch_shape": [
        196,
        1024
      ],
      "patch_norm_range": [
        7.593352370772572,
        11.106755687008803
      ],
      "cosine_range": [
        0.17603309905291253,
        1.000000000000001
      ],
      "float32_export_max_error": 2.9801840106813415e-08,
      "cls_cosine_to_prior_artifact": 0.9999999209049579,
      "initial_patch": 105
    },
    {
      "id": 256,
      "file": "train/healthy/healthy_0056.jpg",
      "class": "healthy",
      "selection_role": "central",
      "class_center_score": 0.8971263896780989,
      "original_size": [
        500,
        500
      ],
      "input_size": [
        224,
        224
      ],
      "original_url": "assets/patches/256-original.jpg",
      "input_url": "assets/patches/256-input.png",
      "cosine_url": "assets/patches/256-cosine.f32",
      "image_sha256": "6f1713d28e15fbe38aab7a4e2b3fc85868195fbda8cf8dce928991c3bf024990",
      "input_png_sha256": "340694b0f6693c378fbe76ad98f333cf5127808bd4870eccb2290281e6239680",
      "cosine_sha256": "d126bd171ec27bc443480d322b5a5642cb35b78ff40e1e0823b374ec246f8b72",
      "patch_features_sha256": "6de0336543e5188a2bc54c08d3538759608b9a31c4739f627e85ab2f9799fd62",
      "patch_shape": [
        196,
        1024
      ],
      "patch_norm_range": [
        7.5907648828418735,
        11.143295214526416
      ],
      "cosine_range": [
        0.17239981098002893,
        1.0000000000000013
      ],
      "float32_export_max_error": 2.979963165117283e-08,
      "cls_cosine_to_prior_artifact": 0.9999999844886727,
      "initial_patch": 105
    },
    {
      "id": 209,
      "file": "train/healthy/healthy_0009.jpg",
      "class": "healthy",
      "selection_role": "peripheral",
      "class_center_score": 0.7038529715899747,
      "original_size": [
        500,
        500
      ],
      "input_size": [
        224,
        224
      ],
      "original_url": "assets/patches/209-original.jpg",
      "input_url": "assets/patches/209-input.png",
      "cosine_url": "assets/patches/209-cosine.f32",
      "image_sha256": "f8bea0dc9c2e216e4dbcc78e20bb4b9ef17b40abf0bbb13d382bfefb0b5cebf6",
      "input_png_sha256": "f73cb3923de6b9b9f284e5e1658b758e39bffa5af8b35b7f598949be60cfd8c3",
      "cosine_sha256": "6048d113c3ab19b07462d45fb32f29a13f2fddce4cf56da246a34d4741123d6c",
      "patch_features_sha256": "592eeed720bf6e0b4eb812dc706f18b91d32a334d22c2dfef1831ec1d7ddc67f",
      "patch_shape": [
        196,
        1024
      ],
      "patch_norm_range": [
        7.998683426907339,
        10.524090671632871
      ],
      "cosine_range": [
        0.18107889837888835,
        1.000000000000001
      ],
      "float32_export_max_error": 2.980221858184251e-08,
      "cls_cosine_to_prior_artifact": 0.999999831222939,
      "initial_patch": 105
    }
  ]
}