{
  "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": "s100p",
    "march": "nash-m",
    "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_nashm_224x224_nv12.hbm",
    "format": "hbm",
    "march": "nash-m",
    "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/s100p/resnet18_nashm_224x224_nv12.hbm",
    "release_manifest_url": "https://rdk-model-zoo.oss-cn-beijing.aliyuncs.com/models/resnet/resnet/cls/18-224/s100p/release.json",
    "checksums_url": "https://rdk-model-zoo.oss-cn-beijing.aliyuncs.com/models/resnet/resnet/cls/18-224/s100p/SHA256SUMS",
    "size_bytes": 12189776,
    "sha256": "1d38d8457e4fc63f7148244a5d36411a797d6671059d59f071fe7ef416858782"
  },
  "reports": {
    "oe_conversion_url": "https://rdk-model-zoo.oss-cn-beijing.aliyuncs.com/models/resnet/resnet/cls/18-224/s100p/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.5879,
      "top5": 0.8046
    },
    "drop": {
      "top1": {
        "percentage_points": 0.5600000000000049,
        "relative_percent": 0.9435551811289078
      },
      "top5": {
        "percentage_points": 0.48000000000000265,
        "relative_percent": 0.5930318754633124
      }
    },
    "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.5341766666666666,
        "observed_min_latency_ms": 0.51,
        "observed_max_latency_ms": 0.889,
        "aggregate_fps": 1826.2672011542008,
        "runs": [
          {
            "frames": 200,
            "mean": 0.5334,
            "max": 0.889,
            "min": 0.518,
            "wall_ms": 108.718
          },
          {
            "frames": 200,
            "mean": 0.528525,
            "max": 0.818,
            "min": 0.51,
            "wall_ms": 108.173
          },
          {
            "frames": 200,
            "mean": 0.540605,
            "max": 0.885,
            "min": 0.521,
            "wall_ms": 111.648
          }
        ]
      },
      {
        "threads": 2,
        "average_latency_ms": 0.63605,
        "observed_min_latency_ms": 0.576,
        "observed_max_latency_ms": 1.117,
        "aggregate_fps": 3047.6345276674424,
        "runs": [
          {
            "frames": 200,
            "mean": 0.640245,
            "max": 1.111,
            "min": 0.596,
            "wall_ms": 66.225
          },
          {
            "frames": 200,
            "mean": 0.639075,
            "max": 1.117,
            "min": 0.593,
            "wall_ms": 66.155
          },
          {
            "frames": 200,
            "mean": 0.62883,
            "max": 1.07,
            "min": 0.576,
            "wall_ms": 64.494
          }
        ]
      }
    ],
    "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": 6,
        "opencv_threads": 6,
        "cpu_governor": "performance",
        "cpu_frequency_mhz": 2000.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": 1315.020841,
        "metrics_ms": {
          "preprocess": {
            "mean": 1.4913252933333332,
            "p50": 1.475882,
            "p95": 1.5478383,
            "min": 1.335322,
            "max": 11.222392
          },
          "runtime": {
            "mean": 0.6923888083333334,
            "p50": 0.6748235,
            "p95": 0.8324342499999999,
            "min": 0.653936,
            "max": 1.021054
          },
          "postprocess": {
            "mean": 0.005309978333333333,
            "p50": 0.005175,
            "p95": 0.0058,
            "min": 0.0042,
            "max": 0.011949
          },
          "end_to_end": {
            "mean": 2.18902408,
            "p50": 2.161955,
            "p95": 2.3861037999999994,
            "min": 2.004358,
            "max": 12.222771
          }
        },
        "throughput_fps": 456.26653304120526
      },
      {
        "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": 6,
        "opencv_threads": 6,
        "cpu_governor": "performance",
        "cpu_frequency_mhz": 2000.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": 2124.121433,
        "metrics_ms": {
          "preprocess": {
            "mean": 2.7457468683333337,
            "p50": 1.7501259999999998,
            "p95": 6.69328475,
            "min": 1.359846,
            "max": 11.767256
          },
          "runtime": {
            "mean": 0.7216641500000001,
            "p50": 0.6873355,
            "p95": 0.9828815499999999,
            "min": 0.644911,
            "max": 1.524493
          },
          "postprocess": {
            "mean": 0.005602628333333333,
            "p50": 0.00525,
            "p95": 0.008375,
            "min": 0.00395,
            "max": 0.019749
          },
          "end_to_end": {
            "mean": 3.473013646666667,
            "p50": 2.4583865,
            "p95": 7.39544475,
            "min": 2.044532,
            "max": 12.446117
          }
        },
        "throughput_fps": 564.939452781276
      }
    ]
  },
  "runtime_environment": {
    "board": "RDK S100P",
    "runtime": [
      "[UCP]: UCP version = 3.13.6",
      "[BPU][[BPU_MONITOR]][281473071215904][INFO]BPULib verison(2, 2, 15)[f21ee84]!",
      "[DNN]: 3.13.6_(4.7.5 HBRT)"
    ],
    "cpu_governor": "performance",
    "cpu_frequency_mhz": 2000.0,
    "bpu_frequency_mhz": 1500.0,
    "online_cpu_threads": 6,
    "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/s100p-resnet18-model-info.json",
          "sha256": "5ffc380e9500ecc918ee7aa32aeb07dfdb45d39436a29e405966ee49444d7979"
        },
        {
          "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/s100p-cpp-build.json",
          "sha256": "ab1e365b3fdd4a5d08d021f169aac0e3efe08e74cb5064d59c5cd1ef9cbec46e"
        },
        {
          "path": "resnet-20261013/build/boards/s100p-resnet18-cpp-smoke.json",
          "sha256": "08d91dfae74e78157bc2e0fc0ad118758edcb46d0a9d376ecd069dbc57667f31"
        }
      ],
      "runtime_perf": [
        {
          "path": "resnet-20261013/build/boards/s100p-resnet18-benchmark.json",
          "sha256": "428900c1fe3a5ff001cd3a0572ddf17808888a7b9c9a5ae6e0d879747b733e41"
        },
        {
          "path": "resnet-20261013/build/resnet18/s100p/benchmark-attempt-01/execution.json",
          "sha256": "13ab1399a71a93a08cf884cb128193a75d94c4a77f6cec3d67abd1466073d747"
        }
      ],
      "cpp_e2e": [
        {
          "path": "resnet-20261013/build/boards/s100p-resnet18-benchmark.json",
          "sha256": "428900c1fe3a5ff001cd3a0572ddf17808888a7b9c9a5ae6e0d879747b733e41"
        },
        {
          "path": "resnet-20261013/build/resnet18/s100p/benchmark-attempt-01/execution.json",
          "sha256": "13ab1399a71a93a08cf884cb128193a75d94c4a77f6cec3d67abd1466073d747"
        }
      ],
      "input_contract_review": [
        {
          "path": "resnet-20261013/build/resnet18/export/export.json",
          "sha256": "a91266af39e35ad7d9d113af8b33d8d65af7883f4db7f0f0afb70a9a0fcda202"
        },
        {
          "path": "resnet-20261013/build/resnet18/s100p/attempt-01/config.yaml",
          "sha256": "2ba6c7d56bb2092855f9b9ea1068185a73711c995cc7a165a4f5293ab17acdeb"
        },
        {
          "path": "resnet-20261013/build/resnet18/s100p/calibration/calibration.json",
          "sha256": "eec5c413b6b80e058314d61ee9d58d39c722711467fe9d67d647be3b4ebc20e8"
        }
      ],
      "environment_review": [
        {
          "path": "resnet-20261013/build/resnet18/s100p/benchmark-attempt-01/execution.json",
          "sha256": "13ab1399a71a93a08cf884cb128193a75d94c4a77f6cec3d67abd1466073d747"
        }
      ],
      "license_review": [],
      "full_dataset_review": [
        {
          "path": "resnet-20261013/build/resnet18/s100p/accuracy-attempt-01/evaluation.json",
          "sha256": "20ed4144e2c43914c5f17719af2ea33dc7f88080fdc6cc35445de1e123464941"
        },
        {
          "path": "resnet-20261013/build/resnet18/evaluation/evaluation.json",
          "sha256": "db24566600d6d79fc12b0d2fb6f3cb80783e38ce2cbb5ad766cbf619b88acb74"
        }
      ]
    }
  },
  "provenance": {
    "build_id": "resnet18-20261013-s100p-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/s100p/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": "2ba6c7d56bb2092855f9b9ea1068185a73711c995cc7a165a4f5293ab17acdeb",
    "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/s100p/candidates/resnet18-20261013-s100p-attempt-01/"
  }
}
