{
  "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": "152-224",
    "parameter_count": 60192808,
    "gflops": 23.027253248,
    "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/resnet152.a1_in1k/blob/5529f135ee86e1bff01db5688add74a2c27ee16a/README.md",
    "reviewed_by": "JasperXzy"
  },
  "sample_path": "samples/vision/resnet",
  "target": {
    "platform": "x5",
    "march": "bayes-e",
    "format": "bin"
  },
  "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": "resnet152_bayese_224x224_nv12.bin",
    "format": "bin",
    "march": "bayes-e",
    "runtime_input": "nv12",
    "input_space_and_range": "bt601_video",
    "url": "https://rdk-model-zoo.oss-cn-beijing.aliyuncs.com/models/resnet/resnet/cls/152-224/x5/resnet152_bayese_224x224_nv12.bin",
    "release_manifest_url": "https://rdk-model-zoo.oss-cn-beijing.aliyuncs.com/models/resnet/resnet/cls/152-224/x5/release.json",
    "checksums_url": "https://rdk-model-zoo.oss-cn-beijing.aliyuncs.com/models/resnet/resnet/cls/152-224/x5/SHA256SUMS",
    "size_bytes": 59512837,
    "sha256": "76a029ff8b0db1ac98ffdbcdeb0bfae7552b03a5491e72815e7f3f46a4547497"
  },
  "reports": {
    "oe_conversion_url": "https://rdk-model-zoo.oss-cn-beijing.aliyuncs.com/models/resnet/resnet/cls/152-224/x5/oe_report.html"
  },
  "accuracy": {
    "dataset": "ImageNetV2 MatchedFrequency (not ILSVRC2012 val)",
    "task": "classification",
    "images": 10000,
    "metrics": [
      "top1",
      "top5"
    ],
    "float_onnx": {
      "top1": 0.7087,
      "top5": 0.8816
    },
    "runtime": {
      "top1": 0.6934,
      "top5": 0.8778
    },
    "drop": {
      "top1": {
        "percentage_points": 1.529999999999998,
        "relative_percent": 2.1588824608437918
      },
      "top5": {
        "percentage_points": 0.38000000000000256,
        "relative_percent": 0.4310344827586188
      }
    },
    "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": 12.331685333333333,
        "observed_min_latency_ms": 12.3,
        "observed_max_latency_ms": 13.141,
        "aggregate_fps": 81.04086728855627,
        "runs": [
          {
            "frames": 200,
            "mean": 12.338131,
            "max": 13.072,
            "min": 12.307,
            "wall_ms": 2469.286
          },
          {
            "frames": 200,
            "mean": 12.331278,
            "max": 13.118,
            "min": 12.304,
            "wall_ms": 2467.782
          },
          {
            "frames": 200,
            "mean": 12.325647,
            "max": 13.141,
            "min": 12.3,
            "wall_ms": 2466.604
          }
        ]
      },
      {
        "threads": 2,
        "average_latency_ms": 23.94934466666667,
        "observed_min_latency_ms": 13.287,
        "observed_max_latency_ms": 24.947001,
        "aggregate_fps": 83.26406225931481,
        "runs": [
          {
            "frames": 200,
            "mean": 23.950171,
            "max": 24.877001,
            "min": 13.352,
            "wall_ms": 2402.132
          },
          {
            "frames": 200,
            "mean": 23.948984,
            "max": 24.947001,
            "min": 13.287,
            "wall_ms": 2401.934
          },
          {
            "frames": 200,
            "mean": 23.948879,
            "max": 24.858,
            "min": 13.359,
            "wall_ms": 2401.924
          }
        ]
      }
    ],
    "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": 8,
        "opencv_threads": 8,
        "cpu_governor": "performance",
        "cpu_frequency_mhz": 1500.0,
        "bpu_frequency_mhz": 996.0,
        "warmup_frames_per_round": 20,
        "frames_per_round": 200,
        "frames_semantics": "per stream",
        "rounds": 3,
        "timed_frames": 600,
        "aggregate_wall_ms": 12164.509353,
        "metrics_ms": {
          "preprocess": {
            "mean": 7.593850961666667,
            "p50": 7.641877,
            "p95": 8.445889599999997,
            "min": 6.78827,
            "max": 13.297457
          },
          "runtime": {
            "mean": 12.643185798333334,
            "p50": 12.6366215,
            "p95": 12.6944904,
            "min": 12.604788,
            "max": 12.925331
          },
          "postprocess": {
            "mean": 0.030715724999999996,
            "p50": 0.030542,
            "p95": 0.03304405,
            "min": 0.027708,
            "max": 0.03975
          },
          "end_to_end": {
            "mean": 20.267752485000003,
            "p50": 20.313499,
            "p95": 21.188329699999997,
            "min": 19.441183,
            "max": 26.059787
          }
        },
        "throughput_fps": 49.32381426892722
      },
      {
        "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": 8,
        "opencv_threads": 8,
        "cpu_governor": "performance",
        "cpu_frequency_mhz": 1500.0,
        "bpu_frequency_mhz": 996.0,
        "warmup_frames_per_round": 20,
        "frames_per_round": 200,
        "frames_semantics": "per stream",
        "rounds": 3,
        "timed_frames": 1200,
        "aggregate_wall_ms": 14539.583336,
        "metrics_ms": {
          "preprocess": {
            "mean": 7.611206404166666,
            "p50": 7.6518355,
            "p95": 7.9717886,
            "min": 6.816104,
            "max": 47.083516
          },
          "runtime": {
            "mean": 16.501034490833334,
            "p50": 16.3908405,
            "p95": 17.173518350000002,
            "min": 12.589121,
            "max": 21.82469
          },
          "postprocess": {
            "mean": 0.03327114333333333,
            "p50": 0.033125,
            "p95": 0.036627099999999996,
            "min": 0.027666,
            "max": 0.067291
          },
          "end_to_end": {
            "mean": 24.145512038333333,
            "p50": 24.070572499999997,
            "p95": 24.09782205,
            "min": 19.487433,
            "max": 59.793596
          }
        },
        "throughput_fps": 82.53331421326227
      }
    ]
  },
  "runtime_environment": {
    "board": "RDK X5",
    "runtime": [
      "[BPU_PLAT]BPU Platform Version(1.3.6)! soc info(x5)",
      "[HBRT] set log level as 0. version = 3.15.55.0",
      "[DNN] Runtime version = 1.24.5_(3.15.55 HBRT)",
      "[packed_model.cpp:247][Model](2026-10-13,15:47:24.355.284) [HorizonRT] The model builder version = 1.24.3"
    ],
    "cpu_governor": "performance",
    "cpu_frequency_mhz": 1500.0,
    "bpu_frequency_mhz": 996.0,
    "online_cpu_threads": 8,
    "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/x5-resnet152-model-info.json",
          "sha256": "71818bf29a6929ab7bc7c4c8eebda9f8b94f121a4e70ed6aca1a8ff81b9cd33d"
        },
        {
          "path": "resnet-20261013/build/sample-validation.json",
          "sha256": "5d96f993c4885463d06b030d39c6fc2476e8a1114d7b41a73f1c4d19541d43d5"
        },
        {
          "path": "resnet-20261013/build/sample-validation.source.json",
          "sha256": "a2ba66a6c434bd377b59fcbe835ff10cd7f59d676f031b3052f0c8bd75e6c085"
        }
      ],
      "cpp_functional": [
        {
          "path": "resnet-20261013/build/boards/x5-cpp-build.json",
          "sha256": "a74d29437ab0961844fe6a32efd951335af5046e2f6e501e88a8ffa467469e41"
        },
        {
          "path": "resnet-20261013/build/boards/x5-resnet152-cpp-smoke.json",
          "sha256": "ca90b612448f5739882313716579a9ed5146509725c0a008b7fd1b1d644a57bb"
        }
      ],
      "runtime_perf": [
        {
          "path": "resnet-20261013/build/boards/x5-resnet152-benchmark.json",
          "sha256": "5c5aff17188514e5a44b74849560b1df04f5b53bec82233e4ac9735e4970c2a3"
        },
        {
          "path": "resnet-20261013/build/resnet152/x5/benchmark-attempt-01/execution.json",
          "sha256": "a46c8a8a9af0a366fda592702b72a4b431b1fd2adbbd0c84b1f8fb28274d1f5f"
        }
      ],
      "cpp_e2e": [
        {
          "path": "resnet-20261013/build/boards/x5-resnet152-benchmark.json",
          "sha256": "5c5aff17188514e5a44b74849560b1df04f5b53bec82233e4ac9735e4970c2a3"
        },
        {
          "path": "resnet-20261013/build/resnet152/x5/benchmark-attempt-01/execution.json",
          "sha256": "a46c8a8a9af0a366fda592702b72a4b431b1fd2adbbd0c84b1f8fb28274d1f5f"
        }
      ],
      "input_contract_review": [
        {
          "path": "resnet-20261013/build/resnet152/export/export.json",
          "sha256": "b0c4b40437af1eb1b1c2b65ca1cea434342bfae7e8c5084d5ef038ddff4e421c"
        },
        {
          "path": "resnet-20261013/build/resnet152/x5/attempt-01/config.yaml",
          "sha256": "0f92f8611873a0edd3e9cf47e215e5c16e1457350adcd230288b08491dd4e42e"
        },
        {
          "path": "resnet-20261013/build/resnet152/x5/calibration/calibration.json",
          "sha256": "fadbd6112ea630fc907b877f93ec7e564c403e007dda898c0df35b946961a0f9"
        }
      ],
      "environment_review": [
        {
          "path": "resnet-20261013/build/resnet152/x5/benchmark-attempt-01/execution.json",
          "sha256": "a46c8a8a9af0a366fda592702b72a4b431b1fd2adbbd0c84b1f8fb28274d1f5f"
        }
      ],
      "license_review": [],
      "full_dataset_review": [
        {
          "path": "resnet-20261013/build/resnet152/x5/accuracy-attempt-01/evaluation.json",
          "sha256": "785f799a526d8e62635f64b27c16803d8c1690bae101f973ea530c92ddc7228a"
        },
        {
          "path": "resnet-20261013/build/resnet152/evaluation/evaluation.json",
          "sha256": "740038f42e670064902af99e84e73e0275a4c8b7d9e96b0345206d0a63a21dc5"
        }
      ]
    }
  },
  "provenance": {
    "build_id": "resnet152-20261013-x5-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 x5/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/resnet152/x5/config/config.json"
    },
    "toolchain_image": "registry.d-robotics.cc/deliver/ai_toolchain_ubuntu_20_x5_gpu:v1.2.8",
    "checkpoint": {
      "repo_id": "timm/resnet152.a1_in1k",
      "revision": "5529f135ee86e1bff01db5688add74a2c27ee16a",
      "model_safetensors_sha256": "5a3518da3d35ee04e77a5e69289cff55c3a07a732d7287f6cab20bd4d330eda9",
      "url": "https://huggingface.co/timm/resnet152.a1_in1k/resolve/5529f135ee86e1bff01db5688add74a2c27ee16a/model.safetensors"
    },
    "onnx_sha256": "ad8fe8169b6c7d210ea278da78cad3b233a9d493f465ef6c263da75eb9b6eb80",
    "config_sha256": "0f92f8611873a0edd3e9cf47e215e5c16e1457350adcd230288b08491dd4e42e",
    "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/152-224/x5/candidates/resnet152-20261013-x5-attempt-01/"
  }
}
