{
  "schema_version": 2,
  "status": "released",
  "released_at": "2026-10-13T09:28:20.900608+00:00",
  "model": {
    "source": "resnet",
    "provider": "timm",
    "family": "resnet",
    "task": "cls",
    "size": "18-224",
    "parameter_count": 11689512,
    "gflops": 3.628146688,
    "gflops_method": "FP32 simplified ONNX static batch=1 224x224; Conv and Gemm multiply-accumulate counted as 2 FLOPs; excludes activation, pooling, additions and preprocessing"
  },
  "license": {
    "name": "Apache-2.0",
    "url": "https://huggingface.co/timm/resnet18.a1_in1k/blob/491b427b45c94c7fb0e78b5474cc919aff584bbf/README.md",
    "reviewed_by": "JasperXzy"
  },
  "sample_path": "samples/vision/resnet",
  "target": {
    "platform": "s600",
    "march": "nash-p",
    "format": "hbm"
  },
  "input": {
    "width": 224,
    "height": 224,
    "source": {
      "format": "rgb",
      "dtype": "float32",
      "layout": "NCHW",
      "shape": [
        1,
        3,
        224,
        224
      ],
      "scale": 0.00392156862745098,
      "mean": [
        0.485,
        0.456,
        0.406
      ],
      "std": [
        0.229,
        0.224,
        0.225
      ],
      "geometry": "PIL bicubic shorter=235, center crop=224"
    }
  },
  "artifact": {
    "name": "resnet18_nashp_224x224_nv12.hbm",
    "format": "hbm",
    "march": "nash-p",
    "runtime_input": "nv12",
    "input_space_and_range": "bt601_video",
    "url": "https://rdk-model-zoo.oss-cn-beijing.aliyuncs.com/models/resnet/resnet/cls/18-224/s600/resnet18_nashp_224x224_nv12.hbm",
    "release_manifest_url": "https://rdk-model-zoo.oss-cn-beijing.aliyuncs.com/models/resnet/resnet/cls/18-224/s600/release.json",
    "checksums_url": "https://rdk-model-zoo.oss-cn-beijing.aliyuncs.com/models/resnet/resnet/cls/18-224/s600/SHA256SUMS",
    "size_bytes": 12005712,
    "sha256": "488144886f10bfe6539b003fe1f7df594e33ee39fdf59b06f8a9efc8c2072f64"
  },
  "reports": {
    "oe_conversion_url": "https://rdk-model-zoo.oss-cn-beijing.aliyuncs.com/models/resnet/resnet/cls/18-224/s600/oe_report.html"
  },
  "accuracy": {
    "dataset": "ImageNetV2 MatchedFrequency (not ILSVRC2012 val)",
    "task": "classification",
    "images": 10000,
    "metrics": [
      "top1",
      "top5"
    ],
    "float_onnx": {
      "top1": 0.5935,
      "top5": 0.8094
    },
    "runtime": {
      "top1": 0.5888,
      "top5": 0.8058
    },
    "drop": {
      "top1": {
        "percentage_points": 0.47000000000000375,
        "relative_percent": 0.7919123841617637
      },
      "top5": {
        "percentage_points": 0.36000000000000476,
        "relative_percent": 0.4447739065974843
      }
    },
    "acceptance": {
      "rule": "Top-1 and Top-5 loss vs FP32 ONNX under 5% (relative and absolute)",
      "relative_drop_limit_exclusive": 0.05,
      "absolute_drop_limit_exclusive": 0.05,
      "passed": true,
      "source": "owner acceptance amendment, 2026-10-10 (applied to this release in acceptance.json)"
    }
  },
  "performance": {
    "tool": "hrt_model_exec perf",
    "implementation": "native_cpp_cli",
    "timing_scope": "model_runtime",
    "thread_semantics": "runtime_submission_concurrency",
    "core_id": 0,
    "warmup_frames_per_condition": 20,
    "warmup_scope": "separate-process device warmup",
    "runs_per_condition": 3,
    "frames_per_run": 200,
    "stages": {
      "preprocess": "not_measured",
      "runtime": "measured",
      "postprocess": "not_measured",
      "end_to_end": "not_measured"
    },
    "measurements": [
      {
        "threads": 1,
        "average_latency_ms": 0.39369166666666666,
        "observed_min_latency_ms": 0.378,
        "observed_max_latency_ms": 0.81,
        "aggregate_fps": 2451.511152332817,
        "runs": [
          {
            "frames": 200,
            "mean": 0.393855,
            "max": 0.81,
            "min": 0.378,
            "wall_ms": 81.646
          },
          {
            "frames": 200,
            "mean": 0.39332,
            "max": 0.799,
            "min": 0.381,
            "wall_ms": 81.49
          },
          {
            "frames": 200,
            "mean": 0.3939,
            "max": 0.807,
            "min": 0.381,
            "wall_ms": 81.611
          }
        ]
      },
      {
        "threads": 2,
        "average_latency_ms": 0.4055866666666667,
        "observed_min_latency_ms": 0.384,
        "observed_max_latency_ms": 0.885,
        "aggregate_fps": 4738.176275951387,
        "runs": [
          {
            "frames": 200,
            "mean": 0.40876,
            "max": 0.881,
            "min": 0.387,
            "wall_ms": 42.616
          },
          {
            "frames": 200,
            "mean": 0.403695,
            "max": 0.885,
            "min": 0.388,
            "wall_ms": 42.016
          },
          {
            "frames": 200,
            "mean": 0.404305,
            "max": 0.867,
            "min": 0.384,
            "wall_ms": 41.999
          }
        ]
      }
    ],
    "end_to_end": [
      {
        "tool": "classification_benchmark",
        "implementation": "native_cpp_classification_benchmark",
        "timing_scope": "in_memory_bgr_to_topk_predictions",
        "pipeline_streams": 1,
        "runtime_submission_threads": 1,
        "cpu_thread_policy": "all_online",
        "online_cpu_threads": 18,
        "opencv_threads": 18,
        "cpu_governor": "performance",
        "cpu_frequency_mhz": 2100.0,
        "bpu_frequency_mhz": 1500.0,
        "warmup_frames_per_round": 20,
        "frames_per_round": 200,
        "frames_semantics": "per stream",
        "rounds": 3,
        "timed_frames": 600,
        "aggregate_wall_ms": 839.2016849999999,
        "metrics_ms": {
          "preprocess": {
            "mean": 0.7873694666666666,
            "p50": 0.792739,
            "p95": 0.82348325,
            "min": 0.737476,
            "max": 1.338003
          },
          "runtime": {
            "mean": 0.6038970366666666,
            "p50": 0.5964385,
            "p95": 0.62693605,
            "min": 0.573126,
            "max": 0.870202
          },
          "postprocess": {
            "mean": 0.005552885,
            "p50": 0.005175,
            "p95": 0.007552499999999998,
            "min": 0.00455,
            "max": 0.026325
          },
          "end_to_end": {
            "mean": 1.3968193883333333,
            "p50": 1.3916655,
            "p95": 1.44720325,
            "min": 1.323477,
            "max": 1.968704
          }
        },
        "throughput_fps": 714.9651993370343
      },
      {
        "tool": "classification_benchmark",
        "implementation": "native_cpp_classification_benchmark",
        "timing_scope": "in_memory_bgr_to_topk_predictions",
        "pipeline_streams": 2,
        "runtime_submission_threads": 2,
        "cpu_thread_policy": "all_online",
        "online_cpu_threads": 18,
        "opencv_threads": 18,
        "cpu_governor": "performance",
        "cpu_frequency_mhz": 2100.0,
        "bpu_frequency_mhz": 1500.0,
        "warmup_frames_per_round": 20,
        "frames_per_round": 200,
        "frames_semantics": "per stream",
        "rounds": 3,
        "timed_frames": 1200,
        "aggregate_wall_ms": 1290.094887,
        "metrics_ms": {
          "preprocess": {
            "mean": 1.3952459441666667,
            "p50": 0.8304265,
            "p95": 5.0127486999999995,
            "min": 0.743226,
            "max": 6.902738
          },
          "runtime": {
            "mean": 0.6318490316666666,
            "p50": 0.6129015,
            "p95": 0.7687498,
            "min": 0.571501,
            "max": 1.122977
          },
          "postprocess": {
            "mean": 0.0058689275,
            "p50": 0.00555,
            "p95": 0.008175,
            "min": 0.00465,
            "max": 0.011575
          },
          "end_to_end": {
            "mean": 2.0329639033333335,
            "p50": 1.4504525,
            "p95": 5.79174474999999,
            "min": 1.335777,
            "max": 8.03209
          }
        },
        "throughput_fps": 930.1641391591687
      }
    ]
  },
  "runtime_environment": {
    "board": "RDK S600",
    "runtime": [
      "[UCP]: UCP version = 3.13.6",
      "[BPU][[BPU_MONITOR]][281462355901344][INFO]BPULib verison(2, 2, 15)[f21ee84]!",
      "[DNN]: 3.13.6_(4.7.5 HBRT)"
    ],
    "cpu_governor": "performance",
    "cpu_frequency_mhz": 2100.0,
    "bpu_frequency_mhz": 1500.0,
    "online_cpu_threads": 18,
    "cpu_thread_policy": "all_online",
    "governor_restored": true
  },
  "validation": {
    "board_smoke": "passed",
    "cpp_functional": "passed",
    "runtime_perf": "passed",
    "cpp_e2e": "passed",
    "input_contract_review": "passed",
    "environment_review": "passed",
    "license_review": "passed",
    "full_dataset_review": "passed",
    "release_approval": "passed",
    "approved_by": "JasperXzy",
    "approved_at": "2026-10-13T09:28:20.351338+00:00",
    "approval_items": [
      "accuracy basis: ImageNetV2 MatchedFrequency 10,000 images (not ImageNet-1k val); Top-1/Top-5 loss < 5% relative and absolute vs FP32; all twenty builds pass (Top-1 relative loss 0.7-2.8%, Top-5 0.4-1.5%)",
      "scope: ResNet-18/34/50/101/152 (timm a1_in1k) at 224 on x5/s100/s100p/s600; the legacy archive ResNet assets leave the manifests (S resnet18/resnet50/resnet152 entries merge into one resnet entry) and the X5 resnet18-x5 and S resnet152-s100 benchmark records are replaced by measured records",
      "precision: INT8 for every build (default calibration), no exceptions",
      "license: Apache-2.0 (timm a1_in1k checkpoint model cards)",
      "board and performance evidence: Python sample on X5/S100/S100P/S600 (40/40 runs), C++ sample on S100/S100P/S600 (30/30 runs) plus MobileNetV2 C++ regression after the tooling rename, runtime 1/2 concurrency and C++ end-to-end 1/2 streams on all four boards, C++ logits bit-equal to Python"
    ],
    "evidence": {
      "board_smoke": [
        {
          "path": "resnet-20261013/build/boards/s600-resnet18-model-info.json",
          "sha256": "a03dfa7fcd717ffc4028bc71b023ac10136667e39d430ba852a71b547f86faae"
        },
        {
          "path": "resnet-20261013/build/sample-validation.json",
          "sha256": "5d96f993c4885463d06b030d39c6fc2476e8a1114d7b41a73f1c4d19541d43d5"
        },
        {
          "path": "resnet-20261013/build/sample-validation.source.json",
          "sha256": "a2ba66a6c434bd377b59fcbe835ff10cd7f59d676f031b3052f0c8bd75e6c085"
        },
        {
          "path": "resnet-20261013/build/cpp-sample-validation.json",
          "sha256": "84b21781f756888da828d4eedc0f4e41f9a3e855b480c9ebfe47204294aabe28"
        }
      ],
      "cpp_functional": [
        {
          "path": "resnet-20261013/build/boards/s600-cpp-build.json",
          "sha256": "54476908797e06cfcd8ee0f58f74a3494548abbfe177cbaacaef6ffb38c3afdb"
        },
        {
          "path": "resnet-20261013/build/boards/s600-resnet18-cpp-smoke.json",
          "sha256": "54680fd0bec9d3343a9caf08d332b05d726e0e539fa4b308063687e18cd5653b"
        }
      ],
      "runtime_perf": [
        {
          "path": "resnet-20261013/build/boards/s600-resnet18-benchmark.json",
          "sha256": "a9a3a2beb1b237d858346d8d46f682e821fd28b0cdaa647f5c5da113fe6b90d0"
        },
        {
          "path": "resnet-20261013/build/resnet18/s600/benchmark-attempt-01/execution.json",
          "sha256": "d85f1ff94336865078be1e2bd9017c812e07453f80e61839916d1d0a99e98067"
        }
      ],
      "cpp_e2e": [
        {
          "path": "resnet-20261013/build/boards/s600-resnet18-benchmark.json",
          "sha256": "a9a3a2beb1b237d858346d8d46f682e821fd28b0cdaa647f5c5da113fe6b90d0"
        },
        {
          "path": "resnet-20261013/build/resnet18/s600/benchmark-attempt-01/execution.json",
          "sha256": "d85f1ff94336865078be1e2bd9017c812e07453f80e61839916d1d0a99e98067"
        }
      ],
      "input_contract_review": [
        {
          "path": "resnet-20261013/build/resnet18/export/export.json",
          "sha256": "a91266af39e35ad7d9d113af8b33d8d65af7883f4db7f0f0afb70a9a0fcda202"
        },
        {
          "path": "resnet-20261013/build/resnet18/s600/attempt-01/config.yaml",
          "sha256": "deee44193cf5673869026cc804bee25d733ba66ee43d0a693cd678c2e93f6617"
        },
        {
          "path": "resnet-20261013/build/resnet18/s600/calibration/calibration.json",
          "sha256": "e90b5cc3171176b9b9ed5f4d712fbdfa82a2e24d097a3f88b1abb4d8ddf816c1"
        }
      ],
      "environment_review": [
        {
          "path": "resnet-20261013/build/resnet18/s600/benchmark-attempt-01/execution.json",
          "sha256": "d85f1ff94336865078be1e2bd9017c812e07453f80e61839916d1d0a99e98067"
        }
      ],
      "license_review": [],
      "full_dataset_review": [
        {
          "path": "resnet-20261013/build/resnet18/s600/accuracy-attempt-01/evaluation.json",
          "sha256": "2a736092149fe5acea9737e596a7a2e5279103ead9f2f6ff96cefc2d338d97be"
        },
        {
          "path": "resnet-20261013/build/resnet18/evaluation/evaluation.json",
          "sha256": "db24566600d6d79fc12b0d2fb6f3cb80783e38ce2cbb5ad766cbf619b88acb74"
        }
      ]
    }
  },
  "provenance": {
    "build_id": "resnet18-20261013-s600-attempt-01",
    "repository_commit": "ae66224ce61790af5d66087d7a86e123338263e3",
    "build_snapshot_commit": "864ce8f399c8b79e20992703c44f58be7fd89283",
    "source_status": "clean committed tree (inputs/source-864ce8f3.tar.gz)",
    "precision_policy": "int8",
    "config_change": {
      "baseline": "p2 s100/attempt-03-bt601/config.yaml",
      "change": "onnx_model, march, working_dir, output prefix, cal_data_dir, input_parameters from workflow config",
      "workflow_config_receipt": "/home/zhengyi/work/rdk_model_zoo_workbench/runs/p5/resnet-20261013/build/resnet18/s600/config/config.json"
    },
    "toolchain_image": "registry.d-robotics.cc/deliver/ai_toolchain_ubuntu_22_s100_s600_gpu:v3.7.0",
    "checkpoint": {
      "repo_id": "timm/resnet18.a1_in1k",
      "revision": "491b427b45c94c7fb0e78b5474cc919aff584bbf",
      "model_safetensors_sha256": "80c49dee3da4822c009c5a7fe591e9223c5a2cfcf95a4067ca4dfb5a7b89c612",
      "url": "https://huggingface.co/timm/resnet18.a1_in1k/resolve/491b427b45c94c7fb0e78b5474cc919aff584bbf/model.safetensors"
    },
    "onnx_sha256": "c3a4d136ebc0c3dd900ab1bc2342970955cdf690138e504d7697ed8b1bc849a0",
    "config_sha256": "deee44193cf5673869026cc804bee25d733ba66ee43d0a693cd678c2e93f6617",
    "campaign_sha256": "5f169592837e0420bec95b151a41c467115cd2ff46c2a0c8343380c9bb7a0de4",
    "calibration": {
      "dataset": "COCO 2017 train2017",
      "images": 200,
      "manifest_sha256": "1d50d53df79c85c9129db9b90570b0f67ef1347c5285a68f4397a4ce1a2c0921"
    },
    "evaluation": {
      "dataset": "ImageNetV2 MatchedFrequency",
      "images": 10000,
      "manifest_sha256": "9df523ab34abae87763b3c7c92662c2cddf78b4e5c66d852a724a925ba052cdc"
    },
    "evidence_prefix": "reports/resnet/resnet/cls/18-224/s600/candidates/resnet18-20261013-s600-attempt-01/"
  }
}
