commit 7931375c8e6809162ce647b945b842379068badb Author: cyy_mac Date: Fri Aug 7 11:15:41 2026 +0800 Add YOLOv26n RDK X5 model and quantized artifacts diff --git a/README.md b/README.md new file mode 100644 index 0000000..48d9d14 --- /dev/null +++ b/README.md @@ -0,0 +1,116 @@ +# YOLOv26n RDK X5 模型与量化产物 + +这是基于 YOLOv26n 训练得到的检测模型,以及按 D-Robotics RDK X5 官方 +`rdk_x5` 模型仓库流程生成的 BPU 量化产物。 + +官方参考: + +- +- + +## 模型信息 + +| 项目 | 内容 | +| --- | --- | +| 浮点模型 | `best.onnx` | +| ONNX IR / opset | IR 6 / opset 11 | +| 输入 | `images`, `[1, 3, 640, 640]`, RGB | +| 类别数 | 4 | +| 类别名称 | `QR_code`, `line`, `end`, `roadblock` | +| 原始 ONNX 输出 | `output0`, `[1, 300, 6]` | +| BPU 输入 | NV12, 640x640 | +| BPU 输出 | 三尺度 `(cls, box)` 原始特征,共 6 个 NHWC 张量 | + +原始 `best.onnx` 包含 YOLOv26 的端到端后处理。为了减少 BPU 与 CPU 之间的 +切换,`x5_quantization/best_bpu.onnx` 只保留检测网络和原始检测头,移除了 +TopK、Gather、索引解码以及最终检测结果拼接。后处理在 CPU 上执行:分类 +sigmoid、置信度筛选、LTRB 解码和 NMS。 + +## 目录内容 + +```text +best.onnx # 原始浮点 ONNX +x5_quantization/ + best_bpu.onnx # 裁剪后的 BPU 友好 ONNX + best_bpu_int8.yaml # hb_mapper 配置 + mapper_output_bpu/ + best_bpu_bayese_640x640_nv12.bin # X5 可加载模型 + *_quant_info.json # 输出量化参数 + *_quantized_model.onnx # 量化检查模型 + calibration_data/ # 50 个 RGB/CHW/float32 校准输入 + prepare_calibration.py # 生成校准输入 + extract_yolo26_bpu.py # 裁剪 YOLOv26 后处理 + postprocess_yolo26.py # CPU 后处理 + quantize_x5.sh # Docker 一键量化 + checker.log / mapper.log # checker 和 makertbin 日志 +``` + +## 重新量化 + +需要 Docker Desktop 和已加载的镜像: + +```text +openexplorer/ai_toolchain_ubuntu_20_x5_cpu:v1.2.8 +``` + +在本目录的上一级执行: + +```bash +cd /Users/chenyouyuan/cyy_ws/smart_car_2026/model +./x5_quantization/quantize_x5.sh +``` + +脚本会从 `../dataset` 的 `images/train` 和 `images/vel` 中均匀抽取 50 张图片, +直接 resize 到 640x640,保存为 RGB、CHW、float32;`data_scale=1/255` 由 +`hb_mapper` 配置完成。量化目标为 `bayes-e`,默认 int8,编译优化等级为 O3, +并启用 `set_Softmax_input_int8,set_Softmax_output_int8`。 + +## BPU 输出与 CPU 后处理 + +模型输出顺序固定为: + +```text +cls_s8, box_s8, cls_s16, box_s16, cls_s32, box_s32 +``` + +形状分别为: + +```text +cls_s8 / box_s8 [1, 80, 80, 4] +cls_s16 / box_s16 [1, 40, 40, 4] +cls_s32 / box_s32 [1, 20, 20, 4] +``` + +可以直接复用 `x5_quantization/postprocess_yolo26.py`: + +```python +from x5_quantization.postprocess_yolo26 import postprocess + +boxes, scores, class_ids = postprocess( + [cls_s8, box_s8, cls_s16, box_s16, cls_s32, box_s32], + classes=4, + score_threshold=0.25, + iou_threshold=0.7, +) +``` + +返回的框坐标位于 640x640 模型坐标系。如果板端前处理使用 letterbox,需要 +根据实际缩放比例和 padding 将坐标映射回原始相机分辨率。 + +## 量化结果 + +`hb_mapper checker` 和 `hb_mapper makertbin` 均已通过。编译器对 X5 的估计延迟 +为 `8.913 ms`,最终 `.bin` 大小约 `3.7 MB`。输出余弦相似度如下: + +| 输出 | Cosine Similarity | +| --- | ---: | +| `cls_s8` | 0.985422 | +| `box_s8` | 0.989597 | +| `cls_s16` | 0.989395 | +| `box_s16` | 0.993338 | +| `cls_s32` | 0.998478 | +| `box_s32` | 0.999024 | + +上述延迟是 Docker 中 OpenExplore 编译器的估计值,不是 X5 实板实测值。部署前 +应在板端用 `hrt_model_exec model_info` 检查模型元数据,再用真实相机输入验证 +检测精度和端到端延迟。 diff --git a/best.onnx b/best.onnx new file mode 100644 index 0000000..4173434 Binary files /dev/null and b/best.onnx differ diff --git a/x5_quantization/README.md b/x5_quantization/README.md new file mode 100644 index 0000000..ff4dad3 --- /dev/null +++ b/x5_quantization/README.md @@ -0,0 +1,20 @@ +# RDK X5 YOLOv26n 量化 + +输入模型为 `../best.onnx`,固定输入 `images [1,3,640,640]`,opset 11。流程参考 +`D-Robotics/rdk_model_zoo` 的 `rdk_x5` 分支中 `ultralytics_yolo26` 示例: + +- `extract_yolo26_bpu.py` 移除 TopK、Gather 和最终检测结果组装,只输出三尺度 + `(cls, box)` 原始特征,输出布局为 NHWC。 +- 校准数据从 `../../dataset` 均匀抽取 50 张图片,直接 resize 到 640x640,保存 + RGB/CHW/float32;`data_scale=1/255` 由量化配置完成。 +- 板端输入为 NV12,量化默认 int8,并使用官方 Softmax int8 优化项。 + +执行 `./quantize_x5.sh` 会在 Docker 镜像 +`openexplorer/ai_toolchain_ubuntu_20_x5_cpu:v1.2.8` 中依次运行 `hb_mapper checker` +和 `hb_mapper makertbin`,产物为 +`mapper_output_bpu/best_bpu_bayese_640x640_nv12.bin`。部署端需要按三尺度输出完成 +sigmoid、LTRB 解码、阈值筛选和 NMS;可直接复用 `postprocess_yolo26.py`。 + +板端输入是 NV12,模型输出顺序为 `cls_s8, box_s8, cls_s16, box_s16, +cls_s32, box_s32`,输出张量布局是 NHWC。`.bin` 的 `model_info` 应以板端 +`hrt_model_exec` 实际显示的名称和量化参数为准。 diff --git a/x5_quantization/best_bpu.onnx b/x5_quantization/best_bpu.onnx new file mode 100644 index 0000000..36e563b Binary files /dev/null and b/x5_quantization/best_bpu.onnx differ diff --git a/x5_quantization/best_bpu_int8.yaml b/x5_quantization/best_bpu_int8.yaml new file mode 100644 index 0000000..8910e20 --- /dev/null +++ b/x5_quantization/best_bpu_int8.yaml @@ -0,0 +1,26 @@ +model_parameters: + onnx_model: "./best_bpu.onnx" + march: "bayes-e" + layer_out_dump: false + working_dir: "mapper_output_bpu" + output_model_file_prefix: "best_bpu_bayese_640x640_nv12" + +input_parameters: + input_name: "images" + input_type_rt: "nv12" + input_type_train: "rgb" + input_layout_train: "NCHW" + norm_type: "data_scale" + scale_value: 0.003921568627451 + +calibration_parameters: + cal_data_dir: "./calibration_data" + cal_data_type: "float32" + calibration_type: "default" + optimization: "set_Softmax_input_int8,set_Softmax_output_int8" + +compiler_parameters: + jobs: 8 + compile_mode: "latency" + debug: true + optimize_level: "O3" diff --git a/x5_quantization/calibration_data/00000.rgbchw b/x5_quantization/calibration_data/00000.rgbchw new file mode 100644 index 0000000..0f55f1f Binary files /dev/null and b/x5_quantization/calibration_data/00000.rgbchw differ diff --git a/x5_quantization/calibration_data/00001.rgbchw b/x5_quantization/calibration_data/00001.rgbchw new file mode 100644 index 0000000..98fda3a Binary files /dev/null and b/x5_quantization/calibration_data/00001.rgbchw differ diff --git a/x5_quantization/calibration_data/00002.rgbchw b/x5_quantization/calibration_data/00002.rgbchw new file mode 100644 index 0000000..07437c7 Binary files /dev/null and b/x5_quantization/calibration_data/00002.rgbchw differ diff --git a/x5_quantization/calibration_data/00003.rgbchw b/x5_quantization/calibration_data/00003.rgbchw new file mode 100644 index 0000000..34570e8 Binary files /dev/null and b/x5_quantization/calibration_data/00003.rgbchw differ diff --git a/x5_quantization/calibration_data/00004.rgbchw b/x5_quantization/calibration_data/00004.rgbchw new file mode 100644 index 0000000..8c67f70 Binary files /dev/null and b/x5_quantization/calibration_data/00004.rgbchw differ diff --git a/x5_quantization/calibration_data/00005.rgbchw b/x5_quantization/calibration_data/00005.rgbchw new file mode 100644 index 0000000..f038fd6 Binary files /dev/null and b/x5_quantization/calibration_data/00005.rgbchw differ diff --git a/x5_quantization/calibration_data/00006.rgbchw b/x5_quantization/calibration_data/00006.rgbchw new file mode 100644 index 0000000..a3e3f2b Binary files /dev/null and b/x5_quantization/calibration_data/00006.rgbchw differ diff --git a/x5_quantization/calibration_data/00007.rgbchw b/x5_quantization/calibration_data/00007.rgbchw new file mode 100644 index 0000000..910b175 Binary files /dev/null and b/x5_quantization/calibration_data/00007.rgbchw differ diff --git a/x5_quantization/calibration_data/00008.rgbchw b/x5_quantization/calibration_data/00008.rgbchw new file mode 100644 index 0000000..3d8b80e Binary files /dev/null and b/x5_quantization/calibration_data/00008.rgbchw differ diff --git a/x5_quantization/calibration_data/00009.rgbchw b/x5_quantization/calibration_data/00009.rgbchw new file mode 100644 index 0000000..faae04a Binary files /dev/null and b/x5_quantization/calibration_data/00009.rgbchw differ diff --git a/x5_quantization/calibration_data/00010.rgbchw b/x5_quantization/calibration_data/00010.rgbchw new file mode 100644 index 0000000..97961fc Binary files /dev/null and b/x5_quantization/calibration_data/00010.rgbchw differ diff --git a/x5_quantization/calibration_data/00011.rgbchw b/x5_quantization/calibration_data/00011.rgbchw new file mode 100644 index 0000000..585448a Binary files /dev/null and b/x5_quantization/calibration_data/00011.rgbchw differ diff --git a/x5_quantization/calibration_data/00012.rgbchw b/x5_quantization/calibration_data/00012.rgbchw new file mode 100644 index 0000000..f6dcbbe Binary files /dev/null and b/x5_quantization/calibration_data/00012.rgbchw differ diff --git a/x5_quantization/calibration_data/00013.rgbchw b/x5_quantization/calibration_data/00013.rgbchw new file mode 100644 index 0000000..c696314 Binary files /dev/null and b/x5_quantization/calibration_data/00013.rgbchw differ diff --git a/x5_quantization/calibration_data/00014.rgbchw b/x5_quantization/calibration_data/00014.rgbchw new file mode 100644 index 0000000..c223663 Binary files /dev/null and b/x5_quantization/calibration_data/00014.rgbchw differ diff --git a/x5_quantization/calibration_data/00015.rgbchw b/x5_quantization/calibration_data/00015.rgbchw new file mode 100644 index 0000000..fd719a3 Binary files /dev/null and b/x5_quantization/calibration_data/00015.rgbchw differ diff --git a/x5_quantization/calibration_data/00016.rgbchw b/x5_quantization/calibration_data/00016.rgbchw new file mode 100644 index 0000000..541403b Binary files /dev/null and b/x5_quantization/calibration_data/00016.rgbchw differ diff --git a/x5_quantization/calibration_data/00017.rgbchw b/x5_quantization/calibration_data/00017.rgbchw new file mode 100644 index 0000000..321f5e3 Binary files /dev/null and b/x5_quantization/calibration_data/00017.rgbchw differ diff --git a/x5_quantization/calibration_data/00018.rgbchw b/x5_quantization/calibration_data/00018.rgbchw new file mode 100644 index 0000000..74bfa40 Binary files /dev/null and b/x5_quantization/calibration_data/00018.rgbchw differ diff --git a/x5_quantization/calibration_data/00019.rgbchw b/x5_quantization/calibration_data/00019.rgbchw new file mode 100644 index 0000000..d2d9818 Binary files /dev/null and b/x5_quantization/calibration_data/00019.rgbchw differ diff --git a/x5_quantization/calibration_data/00020.rgbchw b/x5_quantization/calibration_data/00020.rgbchw new file mode 100644 index 0000000..2654fe3 Binary files /dev/null and b/x5_quantization/calibration_data/00020.rgbchw differ diff --git a/x5_quantization/calibration_data/00021.rgbchw b/x5_quantization/calibration_data/00021.rgbchw new file mode 100644 index 0000000..140807d Binary files /dev/null and b/x5_quantization/calibration_data/00021.rgbchw differ diff --git a/x5_quantization/calibration_data/00022.rgbchw b/x5_quantization/calibration_data/00022.rgbchw new file mode 100644 index 0000000..07b5dfc Binary files /dev/null and b/x5_quantization/calibration_data/00022.rgbchw differ diff --git a/x5_quantization/calibration_data/00023.rgbchw b/x5_quantization/calibration_data/00023.rgbchw new file mode 100644 index 0000000..6730233 Binary files /dev/null and b/x5_quantization/calibration_data/00023.rgbchw differ diff --git a/x5_quantization/calibration_data/00024.rgbchw b/x5_quantization/calibration_data/00024.rgbchw new file mode 100644 index 0000000..4e4928f Binary files /dev/null and b/x5_quantization/calibration_data/00024.rgbchw differ diff --git a/x5_quantization/calibration_data/00025.rgbchw b/x5_quantization/calibration_data/00025.rgbchw new file mode 100644 index 0000000..81646ba Binary files /dev/null and b/x5_quantization/calibration_data/00025.rgbchw differ diff --git a/x5_quantization/calibration_data/00026.rgbchw b/x5_quantization/calibration_data/00026.rgbchw new file mode 100644 index 0000000..6aa8ae2 Binary files /dev/null and b/x5_quantization/calibration_data/00026.rgbchw differ diff --git a/x5_quantization/calibration_data/00027.rgbchw b/x5_quantization/calibration_data/00027.rgbchw new file mode 100644 index 0000000..3491a79 Binary files /dev/null and b/x5_quantization/calibration_data/00027.rgbchw differ diff --git a/x5_quantization/calibration_data/00028.rgbchw b/x5_quantization/calibration_data/00028.rgbchw new file mode 100644 index 0000000..8fbc186 Binary files /dev/null and b/x5_quantization/calibration_data/00028.rgbchw differ diff --git a/x5_quantization/calibration_data/00029.rgbchw b/x5_quantization/calibration_data/00029.rgbchw new file mode 100644 index 0000000..644c53a Binary files /dev/null and b/x5_quantization/calibration_data/00029.rgbchw differ diff --git a/x5_quantization/calibration_data/00030.rgbchw b/x5_quantization/calibration_data/00030.rgbchw new file mode 100644 index 0000000..40e5d38 Binary files /dev/null and b/x5_quantization/calibration_data/00030.rgbchw differ diff --git a/x5_quantization/calibration_data/00031.rgbchw b/x5_quantization/calibration_data/00031.rgbchw new file mode 100644 index 0000000..0087381 Binary files /dev/null and b/x5_quantization/calibration_data/00031.rgbchw differ diff --git a/x5_quantization/calibration_data/00032.rgbchw b/x5_quantization/calibration_data/00032.rgbchw new file mode 100644 index 0000000..23ec9c4 Binary files /dev/null and b/x5_quantization/calibration_data/00032.rgbchw differ diff --git a/x5_quantization/calibration_data/00033.rgbchw b/x5_quantization/calibration_data/00033.rgbchw new file mode 100644 index 0000000..97ed781 Binary files /dev/null and b/x5_quantization/calibration_data/00033.rgbchw differ diff --git a/x5_quantization/calibration_data/00034.rgbchw b/x5_quantization/calibration_data/00034.rgbchw new file mode 100644 index 0000000..152c761 Binary files /dev/null and b/x5_quantization/calibration_data/00034.rgbchw differ diff --git a/x5_quantization/calibration_data/00035.rgbchw b/x5_quantization/calibration_data/00035.rgbchw new file mode 100644 index 0000000..66c81aa Binary files /dev/null and b/x5_quantization/calibration_data/00035.rgbchw differ diff --git a/x5_quantization/calibration_data/00036.rgbchw b/x5_quantization/calibration_data/00036.rgbchw new file mode 100644 index 0000000..b242f39 Binary files /dev/null and b/x5_quantization/calibration_data/00036.rgbchw differ diff --git a/x5_quantization/calibration_data/00037.rgbchw b/x5_quantization/calibration_data/00037.rgbchw new file mode 100644 index 0000000..b8c247f Binary files /dev/null and b/x5_quantization/calibration_data/00037.rgbchw differ diff --git a/x5_quantization/calibration_data/00038.rgbchw b/x5_quantization/calibration_data/00038.rgbchw new file mode 100644 index 0000000..bd68b5a Binary files /dev/null and b/x5_quantization/calibration_data/00038.rgbchw differ diff --git a/x5_quantization/calibration_data/00039.rgbchw b/x5_quantization/calibration_data/00039.rgbchw new file mode 100644 index 0000000..d6eab4c Binary files /dev/null and b/x5_quantization/calibration_data/00039.rgbchw differ diff --git a/x5_quantization/calibration_data/00040.rgbchw b/x5_quantization/calibration_data/00040.rgbchw new file mode 100644 index 0000000..2dcda0d Binary files /dev/null and b/x5_quantization/calibration_data/00040.rgbchw differ diff --git a/x5_quantization/calibration_data/00041.rgbchw b/x5_quantization/calibration_data/00041.rgbchw new file mode 100644 index 0000000..058aa02 Binary files /dev/null and b/x5_quantization/calibration_data/00041.rgbchw differ diff --git a/x5_quantization/calibration_data/00042.rgbchw b/x5_quantization/calibration_data/00042.rgbchw new file mode 100644 index 0000000..464b980 Binary files /dev/null and b/x5_quantization/calibration_data/00042.rgbchw differ diff --git a/x5_quantization/calibration_data/00043.rgbchw b/x5_quantization/calibration_data/00043.rgbchw new file mode 100644 index 0000000..017b0b8 Binary files /dev/null and b/x5_quantization/calibration_data/00043.rgbchw differ diff --git a/x5_quantization/calibration_data/00044.rgbchw b/x5_quantization/calibration_data/00044.rgbchw new file mode 100644 index 0000000..5602a42 Binary files /dev/null and b/x5_quantization/calibration_data/00044.rgbchw differ diff --git a/x5_quantization/calibration_data/00045.rgbchw b/x5_quantization/calibration_data/00045.rgbchw new file mode 100644 index 0000000..a3c1293 Binary files /dev/null and b/x5_quantization/calibration_data/00045.rgbchw differ diff --git a/x5_quantization/calibration_data/00046.rgbchw b/x5_quantization/calibration_data/00046.rgbchw new file mode 100644 index 0000000..7168ee6 Binary files /dev/null and b/x5_quantization/calibration_data/00046.rgbchw differ diff --git a/x5_quantization/calibration_data/00047.rgbchw b/x5_quantization/calibration_data/00047.rgbchw new file mode 100644 index 0000000..2276514 Binary files /dev/null and b/x5_quantization/calibration_data/00047.rgbchw differ diff --git a/x5_quantization/calibration_data/00048.rgbchw b/x5_quantization/calibration_data/00048.rgbchw new file mode 100644 index 0000000..dc252e7 Binary files /dev/null and b/x5_quantization/calibration_data/00048.rgbchw differ diff --git a/x5_quantization/calibration_data/00049.rgbchw b/x5_quantization/calibration_data/00049.rgbchw new file mode 100644 index 0000000..19df650 Binary files /dev/null and b/x5_quantization/calibration_data/00049.rgbchw differ diff --git a/x5_quantization/calibration_manifest.txt b/x5_quantization/calibration_manifest.txt new file mode 100644 index 0000000..45b4fad --- /dev/null +++ b/x5_quantization/calibration_manifest.txt @@ -0,0 +1,50 @@ +images/train/00246cf2-46a7-4a4e-8bc8-8e7f2317ad09.png +images/train/084113da-5f61-45b5-ad3f-ba8554be0c0f_aug1.jpg +images/train/13418823-8a5e-48bc-915f-08f6b3cafc02.png +images/train/1876b5d2-8c8f-42f7-adf6-b1947f3dd50c.jpg +images/train/23b67116-7810-46c9-a5fd-70133b0f05a3_aug2.jpg +images/train/29949023-6872-41a2-8661-a27d3643842b.png +images/train/351d7271-aede-4b44-831f-df8eb37015f3_aug1.jpg +images/train/39d4539f-022c-471a-bee7-c01d1747628e.png +images/train/44926b9a-1aa6-43b1-ac5b-a4930ab630a0.png +images/train/49795500-4f4b-437f-ade7-0a17841bf309_aug2.jpg +images/train/5584b78d-87bd-4326-aa33-0cf9299bb99e_aug1.jpg +images/train/5e5854dc-9716-4579-ab99-5f78383de59d_aug1.jpg +images/train/64330e99-c7f1-4437-a5c0-8d46c8bdb80e.png +images/train/69049243-6fa9-48d2-b7fa-8a2dd749aade_aug1.jpg +images/train/6dffe65d-b770-4163-a242-8191a87c2f3e_aug2.jpg +images/train/7358fcd2-1eb5-4b14-aa0d-95bb3a70f456_aug1.jpg +images/train/77d8e632-c826-4608-ae0d-40c3dc35dae2.png +images/train/7dd1d683-bbbb-4783-8700-94634f64a1fa_aug1.jpg +images/train/82c41b72-ee4d-4d78-985f-1eb82f50b2f4_aug3.jpg +images/train/87fb24a0-849b-47b9-8ae6-ca4e89abb52c.png +images/train/8cf0b48c-52f0-4b02-88fe-fd26c0063565.png +images/train/921171d2-9791-481a-a3b8-9c93fcb0f479_aug1.jpg +images/train/964a3741-0a41-4a04-82f3-f74cc558a223_aug2.jpg +images/train/9bd59151-88c0-4f4f-bcd8-a6c823248424_aug2.jpg +images/train/a0bc336e-84ed-41ee-8516-4dce806dcd64.png +images/train/a56563df-3e99-45fb-9f29-5f3ec2062da4_aug2.jpg +images/train/aaefdc2e-28cd-4769-96bd-4f7d43d58032.png +images/train/b0473ba5-63d0-4ca1-a1b3-cd3a0d85cbce.png +images/train/b62abb00-d665-4053-8639-97cf3243cf0d_aug1.jpg +images/train/bb6936bc-cc3a-4bb1-9a2c-61ef054a8866_aug4.jpg +images/train/c0c8f3c3-fa59-430a-819f-8da63d470d83.jpg +images/train/c6a9a9fd-242d-420f-91bc-79419f83604a_aug2.jpg +images/train/cc7d55cb-6fb7-4ed8-a524-b022c671454e_aug1.jpg +images/train/d1b89258-c545-4d4a-bd32-60e6f5d7131a_aug1.jpg +images/train/d6601c84-b38a-46df-94c9-3e67ae4c0b7b_aug2.jpg +images/train/dbf7ba4e-24fc-45dd-b655-144bd4ccbe71_aug1.jpg +images/train/e0f3883b-2301-4b95-b975-9fd4a1cfa0be.png +images/train/e605a9e1-5ae1-4da4-8326-9050c21966c6_aug2.jpg +images/train/eb08a24f-7ead-4fae-9f4c-717cd54e4b8f_aug3.jpg +images/train/f040251a-9a78-4536-9439-3803759952e5.png +images/train/f5c6161c-9ea7-432a-9b44-82678c19ee0e_aug2.jpg +images/train/fb30aaaf-3009-4089-98b4-088e020ae1bb_aug2.jpg +images/vel/02f61ef1-3c40-446e-ac2d-fbc7e4ccf605_aug1.jpg +images/vel/0dc056fb-8373-4834-8630-bc0057a1d24c_aug1.jpg +images/vel/1cb927cc-6af4-4c87-a3fa-f5a6f1fc1ebd_aug2.jpg +images/vel/2bdc0ba0-bac7-41d2-80ce-f0301e3e2d5c.png +images/vel/3b347f91-60b4-4d1a-b187-50a9f106f072_aug2.jpg +images/vel/4a674364-26ba-43c8-9448-bcd2bdd68275_aug2.jpg +images/vel/4fc2dc2f-85db-4df0-a4a6-e18f15a856dd.png +images/vel/fb5adb2c-e598-4ae4-bbf1-8e46a10158c3_aug4.jpg diff --git a/x5_quantization/checker.log b/x5_quantization/checker.log new file mode 100644 index 0000000..4d28b5d --- /dev/null +++ b/x5_quantization/checker.log @@ -0,0 +1,343 @@ +2026-08-07 10:39:43,366 file: tool_utils.py func: tool_utils line No: 77 log will be stored in /workspace/smart_car_2026/model/hb_mapper_checker.log +2026-08-07 10:39:43,367 file: hb_mapper.py func: hb_mapper line No: 72 Start hb_mapper.... +2026-08-07 10:39:43,367 file: hb_mapper.py func: hb_mapper line No: 73 hbdk version 3.49.15 +2026-08-07 10:39:43,368 file: hb_mapper.py func: hb_mapper line No: 74 horizon_nn version 1.1.0 +2026-08-07 10:39:43,368 file: hb_mapper.py func: hb_mapper line No: 75 hb_mapper version 1.24.3 +2026-08-07 10:39:43,386 file: onnx_parser.py func: onnx_parser line No: 39 Model input names: ['images'] +2026-08-07 10:39:43,388 file: hb_mapper_checker.py func: hb_mapper_checker line No: 106 Model type: onnx +2026-08-07 10:39:43,388 file: hb_mapper_checker.py func: hb_mapper_checker line No: 107 march: bayes-e +2026-08-07 10:39:43,388 file: hb_mapper_checker.py func: hb_mapper_checker line No: 112 input names ['images'] +2026-08-07 10:39:43,389 file: hb_mapper_checker.py func: hb_mapper_checker line No: 113 input shapes {'images': [1, 3, 640, 640]} +2026-08-07 10:39:43,396 file: onnx_parser.py func: onnx_parser line No: 39 Model input names: ['images'] +2026-08-07 10:39:43,397 file: hb_mapper_checker.py func: hb_mapper_checker line No: 119 Begin model checking.... +2026-08-07 10:39:43,409 file: model_builder.py func: model_builder line No: 35 Start to Horizon NN Model Convert. +2026-08-07 10:39:43,430 file: model_debugger.py func: model_debugger line No: 67 Loading horizon_nn debug methods:set() +2026-08-07 10:39:43,431 file: quantization_config.py func: quantization_config line No: 305 The activation calibration parameters: + calibration_type: fixed +2026-08-07 10:39:43,431 file: model_builder.py func: model_builder line No: 197 The specified model compilation architecture: bayes-e. +2026-08-07 10:39:43,431 file: model_builder.py func: model_builder line No: 207 The specified model compilation optimization parameters: []. +2026-08-07 10:39:43,432 file: model_builder.py func: model_builder line No: 35 Start to prepare the onnx model. +2026-08-07 10:39:43,468 file: prepare.py func: prepare line No: 106 Input ONNX Model Information: +ONNX IR version: 6 +Opset version: ['ai.onnx v11', 'horizon v1'] +Producer: onnx.utils.extract_model +Domain: None +Version: None +Graph input: + images: shape=[1, 3, 640, 640], dtype=FLOAT32 +Graph output: + cls_s8: shape=[1, 80, 80, 4], dtype=FLOAT32 + box_s8: shape=[1, 80, 80, 4], dtype=FLOAT32 + cls_s16: shape=[1, 40, 40, 4], dtype=FLOAT32 + box_s16: shape=[1, 40, 40, 4], dtype=FLOAT32 + cls_s32: shape=[1, 20, 20, 4], dtype=FLOAT32 + box_s32: shape=[1, 20, 20, 4], dtype=FLOAT32 +2026-08-07 10:39:43,655 file: model_builder.py func: model_builder line No: 38 End to prepare the onnx model. +2026-08-07 10:39:43,689 file: model_builder.py func: model_builder line No: 265 Saving model to: ./.hb_check/original_float_model.onnx. +2026-08-07 10:39:43,689 file: model_builder.py func: model_builder line No: 35 Start to optimize the onnx model. +2026-08-07 10:39:43,863 file: constant_folding.py func: constant_folding line No: 66 Summary info for constant_folding: +2026-08-07 10:39:43,863 file: constant_folding.py func: constant_folding line No: 67 After constant_folding, the number of nodes has changed from 355 to 355. +2026-08-07 10:39:43,864 file: constant_folding.py func: constant_folding line No: 71 After constant_folding, the number of parameters has changed from 2375629 to 2375629. +2026-08-07 10:39:43,864 file: constant_folding.py func: constant_folding line No: 76 Detailed info for constant_folding: +2026-08-07 10:39:43,864 file: constant_folding.py func: constant_folding line No: 88 +2026-08-07 10:39:44,358 file: model_builder.py func: model_builder line No: 38 End to optimize the onnx model. +2026-08-07 10:39:44,389 file: model_builder.py func: model_builder line No: 265 Saving model to: ./.hb_check/optimized_float_model.onnx. +2026-08-07 10:39:44,389 file: model_builder.py func: model_builder line No: 35 Start to calibrate the model. +2026-08-07 10:39:44,681 file: calibration_data_set.py func: calibration_data_set line No: 111 input name: images, number_of_samples: 1 +2026-08-07 10:39:44,681 file: calibration_data_set.py func: calibration_data_set line No: 123 There are 1 samples in the data set. +2026-08-07 10:39:44,682 file: fixed_calibrater.py func: fixed_calibrater line No: 31 Run calibration model with fixed thresholds method. +2026-08-07 10:39:45,210 file: model_builder.py func: model_builder line No: 38 End to calibrate the model. +2026-08-07 10:39:45,332 file: model_builder.py func: model_builder line No: 265 Saving model to: ./.hb_check/calibrated_model.onnx. +2026-08-07 10:39:45,333 file: model_builder.py func: model_builder line No: 35 Start to quantize the model. +2026-08-07 10:39:47,542 file: constant_folding.py func: constant_folding line No: 66 Summary info for constant_folding: +2026-08-07 10:39:47,542 file: constant_folding.py func: constant_folding line No: 67 After constant_folding, the number of nodes has changed from 280 to 280. +2026-08-07 10:39:47,543 file: constant_folding.py func: constant_folding line No: 71 After constant_folding, the number of parameters has changed from 2406337 to 2406337. +2026-08-07 10:39:47,543 file: constant_folding.py func: constant_folding line No: 76 Detailed info for constant_folding: +2026-08-07 10:39:47,543 file: constant_folding.py func: constant_folding line No: 88 +2026-08-07 10:39:47,634 file: model_builder.py func: model_builder line No: 38 End to quantize the model. +2026-08-07 10:39:47,729 file: model_builder.py func: model_builder line No: 265 Saving model to: ./.hb_check/quantized_model.onnx. +2026-08-07 10:39:47,729 file: model_builder.py func: model_builder line No: 35 Start to compile the model with march bayes-e. +2026-08-07 10:39:48,338 file: hybrid_build.py func: hybrid_build line No: 111 Compile submodel: Extracted from {main_graph}_subgraph_0 +2026-08-07 10:39:48,363 file: hbdk_cc.py func: hbdk_cc line No: 126 hbdk-cc parameters:['--input-layout', 'NHWC', '--output-layout', 'NHWC'] +2026-08-07 10:39:48,363 file: hbdk_cc.py func: hbdk_cc line No: 127 hbdk-cc command used:hbdk-cc -f hbir -m /tmp/tmpo3cnuwll/Extracted from {main_graph}_subgraph_0.hbir -o /tmp/tmpo3cnuwll/Extracted from {main_graph}_subgraph_0.hbm --march bayes-e --progressbar --input-layout NHWC --output-layout NHWC +2026-08-07 10:39:49,198 file: tool_utils.py func: tool_utils line No: 326 consumed time 0.65736 +2026-08-07 10:39:49,411 file: tool_utils.py func: tool_utils line No: 326 FPS=52.45, latency = 19064.1 us, DDR = 122035200 bytes (see ./.hb_check/Extracted from {main_graph}_subgraph_0.html) +2026-08-07 10:39:49,414 file: hybrid_build.py func: hybrid_build line No: 111 Compile submodel: Extracted from {main_graph}_subgraph_1 +2026-08-07 10:39:49,431 file: hbdk_cc.py func: hbdk_cc line No: 126 hbdk-cc parameters:['--input-layout', 'NHWC', '--output-layout', 'NHWC'] +2026-08-07 10:39:49,431 file: hbdk_cc.py func: hbdk_cc line No: 127 hbdk-cc command used:hbdk-cc -f hbir -m /tmp/tmpo3cnuwll/Extracted from {main_graph}_subgraph_1.hbir -o /tmp/tmpo3cnuwll/Extracted from {main_graph}_subgraph_1.hbm --march bayes-e --progressbar --input-layout NHWC --output-layout NHWC +2026-08-07 10:39:50,353 file: tool_utils.py func: tool_utils line No: 326 consumed time 0.755009 +2026-08-07 10:39:50,544 file: tool_utils.py func: tool_utils line No: 326 FPS=45.81, latency = 21827.8 us, DDR = 138583616 bytes (see ./.hb_check/Extracted from {main_graph}_subgraph_1.html) +2026-08-07 10:39:50,549 file: hybrid_build.py func: hybrid_build line No: 111 Compile submodel: Extracted from {main_graph}_subgraph_2 +2026-08-07 10:39:50,556 file: hbdk_cc.py func: hbdk_cc line No: 126 hbdk-cc parameters:['--input-layout', 'NHWC', '--output-layout', 'NHWC'] +2026-08-07 10:39:50,557 file: hbdk_cc.py func: hbdk_cc line No: 127 hbdk-cc command used:hbdk-cc -f hbir -m /tmp/tmpo3cnuwll/Extracted from {main_graph}_subgraph_2.hbir -o /tmp/tmpo3cnuwll/Extracted from {main_graph}_subgraph_2.hbm --march bayes-e --progressbar --input-layout NHWC --output-layout NHWC +2026-08-07 10:39:51,107 file: tool_utils.py func: tool_utils line No: 326 consumed time 0.387866 +2026-08-07 10:39:51,284 file: tool_utils.py func: tool_utils line No: 326 FPS=142.7, latency = 7007.7 us, DDR = 44277504 bytes (see ./.hb_check/Extracted from {main_graph}_subgraph_2.html) +2026-08-07 10:39:51,550 file: model_builder.py func: model_builder line No: 38 End to compile the model with march bayes-e. +2026-08-07 10:39:51,564 file: print_info_dict.py func: print_info_dict line No: 72 The main quantized node information: +====================================================================================================================================== +Node ON Subgraph Type Cosine Similarity Threshold DataType +-------------------------------------------------------------------------------------------------------------------------------------- +/model.0/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.0/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.1/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.1/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.2/cv1/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.2/cv1/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.2/Split BPU id(0) Split -- 1.0 int8 +/model.2/m.0/cv1/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.2/m.0/cv1/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.2/m.0/cv2/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.2/m.0/cv2/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.2/m.0/Add BPU id(0) HzSElementwiseAdd -- 1.0 int8 +/model.2/Concat BPU id(0) Concat -- 1.0 int8 +/model.2/cv2/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.2/cv2/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.3/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.3/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.4/cv1/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.4/cv1/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.4/Split BPU id(0) Split -- 1.0 int8 +/model.4/m.0/cv1/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.4/m.0/cv1/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.4/m.0/cv2/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.4/m.0/cv2/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.4/m.0/Add BPU id(0) HzSElementwiseAdd -- 1.0 int8 +/model.4/Concat BPU id(0) Concat -- 1.0 int8 +/model.4/cv2/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.4/cv2/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.5/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.5/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.6/cv1/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.6/cv1/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.6/Split BPU id(0) Split -- 1.0 int8 +/model.6/m.0/cv1/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.6/m.0/cv2/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.6/m.0/cv1/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.6/m.0/cv2/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.6/m.0/m/m.0/cv1/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.6/m.0/m/m.0/cv1/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.6/m.0/m/m.0/cv2/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.6/m.0/m/m.0/cv2/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.6/m.0/m/m.0/Add BPU id(0) HzSElementwiseAdd -- 1.0 int8 +/model.6/m.0/m/m.1/cv1/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.6/m.0/m/m.1/cv1/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.6/m.0/m/m.1/cv2/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.6/m.0/m/m.1/cv2/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.6/m.0/m/m.1/Add BPU id(0) HzSElementwiseAdd -- 1.0 int8 +/model.6/m.0/Concat BPU id(0) Concat -- 1.0 int8 +/model.6/m.0/cv3/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.6/m.0/cv3/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.6/Concat BPU id(0) Concat -- 1.0 int8 +/model.6/cv2/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.6/cv2/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.7/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.7/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.8/cv1/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.8/cv1/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.8/Split BPU id(0) Split -- 1.0 int8 +/model.8/m.0/cv1/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.8/m.0/cv2/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.8/m.0/cv1/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.8/m.0/cv2/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.8/m.0/m/m.0/cv1/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.8/m.0/m/m.0/cv1/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.8/m.0/m/m.0/cv2/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.8/m.0/m/m.0/cv2/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.8/m.0/m/m.0/Add BPU id(0) HzSElementwiseAdd -- 1.0 int8 +/model.8/m.0/m/m.1/cv1/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.8/m.0/m/m.1/cv1/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.8/m.0/m/m.1/cv2/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.8/m.0/m/m.1/cv2/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.8/m.0/m/m.1/Add BPU id(0) HzSElementwiseAdd -- 1.0 int8 +/model.8/m.0/Concat BPU id(0) Concat -- 1.0 int8 +/model.8/m.0/cv3/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.8/m.0/cv3/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.8/Concat BPU id(0) Concat -- 1.0 int8 +/model.8/cv2/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.8/cv2/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.9/cv1/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.9/m/MaxPool BPU id(0) HzQuantizedMaxPool -- 1.0 int8 +/model.9/m_1/MaxPool BPU id(0) HzQuantizedMaxPool -- 1.0 int8 +/model.9/m_2/MaxPool BPU id(0) HzQuantizedMaxPool -- 1.0 int8 +/model.9/Concat BPU id(0) Concat -- 1.0 int8 +/model.9/cv2/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.9/cv2/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.9/Add BPU id(0) HzSElementwiseAdd -- 1.0 int8 +/model.10/cv1/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.10/cv1/act/Mul BPU id(0) HzLut -- 1.0 int8 +/model.10/Split BPU id(0) Split -- 1.0 int8 +/model.10/m/m.0/attn/qkv/conv/Conv BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.10/m/m.0/attn/Reshape BPU id(0) Reshape -- 1.0 int8 +/model.10/m/m.0/attn/Split BPU id(0) Split -- 1.0 int8 +/model.10/m/m.0/attn/Mul BPU id(0) HzSQuantizedConv -- 1.0 int8 +/model.10/m/m.0/attn/Reshape_2 BPU id(0) Reshape -- 1.0 int8 +/model.10/m/m.0/attn/Transpose BPU id(0) Transpose -- 1.0 int8 +/model.10/m/m.0/attn/MatMul BPU id(0) HzSQuantizedMatmul -- 1.0 int8 +/model.10/m/m.0/attn/Softmax CPU -- Softmax -- -- float +/model.10/m/m.0/attn/Transpose_1 BPU id(1) Transpose -- -- int8 +/model.10/m/m.0/attn/MatMul_1 BPU id(1) HzSQuantizedMatmul -- 1.0 int8 +/model.10/m/m.0/attn/Reshape_1 BPU id(1) Reshape -- 1.0 int8 +/model.10/m/m.0/attn/pe/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.10/m/m.0/attn/proj/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.10/m/m.0/ffn/ffn.0/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.10/m/m.0/ffn/ffn.0/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.10/m/m.0/ffn/ffn.1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.10/Concat BPU id(1) Concat -- 1.0 int8 +/model.10/cv2/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.10/cv2/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.11/Resize BPU id(1) HzQuantizedResizeUpsample -- 1.0 int8 +/model.12/Concat BPU id(1) Concat -- 1.0 int8 +/model.13/cv1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.13/cv1/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.13/Split BPU id(1) Split -- 1.0 int8 +/model.13/m.0/cv1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.13/m.0/cv2/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.13/m.0/cv1/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.13/m.0/cv2/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.13/m.0/m/m.0/cv1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.13/m.0/m/m.0/cv1/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.13/m.0/m/m.0/cv2/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.13/m.0/m/m.0/cv2/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.13/m.0/m/m.0/Add BPU id(1) HzSElementwiseAdd -- 1.0 int8 +/model.13/m.0/m/m.1/cv1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.13/m.0/m/m.1/cv1/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.13/m.0/m/m.1/cv2/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.13/m.0/m/m.1/cv2/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.13/m.0/m/m.1/Add BPU id(1) HzSElementwiseAdd -- 1.0 int8 +/model.13/m.0/Concat BPU id(1) Concat -- 1.0 int8 +/model.13/m.0/cv3/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.13/m.0/cv3/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.13/Concat BPU id(1) Concat -- 1.0 int8 +/model.13/cv2/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.13/cv2/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.14/Resize BPU id(1) HzQuantizedResizeUpsample -- 1.0 int8 +/model.15/Concat BPU id(1) Concat -- 1.0 int8 +/model.16/cv1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.16/cv1/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.16/Split BPU id(1) Split -- 1.0 int8 +/model.16/m.0/cv1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.16/m.0/cv2/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.16/m.0/cv1/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.16/m.0/cv2/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.16/m.0/m/m.0/cv1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.16/m.0/m/m.0/cv1/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.16/m.0/m/m.0/cv2/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.16/m.0/m/m.0/cv2/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.16/m.0/m/m.0/Add BPU id(1) HzSElementwiseAdd -- 1.0 int8 +/model.16/m.0/m/m.1/cv1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.16/m.0/m/m.1/cv1/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.16/m.0/m/m.1/cv2/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.16/m.0/m/m.1/cv2/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.16/m.0/m/m.1/Add BPU id(1) HzSElementwiseAdd -- 1.0 int8 +/model.16/m.0/Concat BPU id(1) Concat -- 1.0 int8 +/model.16/m.0/cv3/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.16/m.0/cv3/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.16/Concat BPU id(1) Concat -- 1.0 int8 +/model.16/cv2/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.16/cv2/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.17/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.23/one2one_cv2.0/one2one_cv2.0.0/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +...3.0/one2one_cv3.0.0/one2one_cv3.0.0.0/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.17/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.23/one2one_cv2.0/one2one_cv2.0.0/act/Mul BPU id(1) HzLut -- 1.0 int8 +...cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.0/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.18/Concat BPU id(1) Concat -- 1.0 int8 +/model.23/one2one_cv2.0/one2one_cv2.0.1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +...3.0/one2one_cv3.0.0/one2one_cv3.0.0.1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.19/cv1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.23/one2one_cv2.0/one2one_cv2.0.1/act/Mul BPU id(1) HzLut -- 1.0 int8 +...cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.1/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.19/cv1/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.23/one2one_cv2.0/one2one_cv2.0.2/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +...3.0/one2one_cv3.0.1/one2one_cv3.0.1.0/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.19/Split BPU id(1) Split -- 1.0 int8 +/model.19/m.0/cv1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.19/m.0/cv2/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +...cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.0/act/Mul BPU id(1) HzLut -- 1.0 int8 +...3.0/one2one_cv3.0.1/one2one_cv3.0.1.1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.19/m.0/cv1/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.19/m.0/cv2/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.19/m.0/m/m.0/cv1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +...cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.1/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.23/one2one_cv3.0/one2one_cv3.0.2/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.19/m.0/m/m.0/cv1/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.19/m.0/m/m.0/cv2/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.19/m.0/m/m.0/cv2/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.19/m.0/m/m.0/Add BPU id(1) HzSElementwiseAdd -- 1.0 int8 +/model.19/m.0/m/m.1/cv1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.19/m.0/m/m.1/cv1/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.19/m.0/m/m.1/cv2/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.19/m.0/m/m.1/cv2/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.19/m.0/m/m.1/Add BPU id(1) HzSElementwiseAdd -- 1.0 int8 +/model.19/m.0/Concat BPU id(1) Concat -- 1.0 int8 +/model.19/m.0/cv3/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.19/m.0/cv3/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.19/Concat BPU id(1) Concat -- 1.0 int8 +/model.19/cv2/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.19/cv2/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.20/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.23/one2one_cv2.1/one2one_cv2.1.0/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +...3.1/one2one_cv3.1.0/one2one_cv3.1.0.0/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.20/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.23/one2one_cv2.1/one2one_cv2.1.0/act/Mul BPU id(1) HzLut -- 1.0 int8 +...cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.0/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.21/Concat BPU id(1) Concat -- 1.0 int8 +/model.23/one2one_cv2.1/one2one_cv2.1.1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +...3.1/one2one_cv3.1.0/one2one_cv3.1.0.1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.22/cv1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.23/one2one_cv2.1/one2one_cv2.1.1/act/Mul BPU id(1) HzLut -- 1.0 int8 +...cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.1/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.22/cv1/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.23/one2one_cv2.1/one2one_cv2.1.2/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +...3.1/one2one_cv3.1.1/one2one_cv3.1.1.0/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.22/Split BPU id(1) Split -- 1.0 int8 +/model.22/m.0/m.0.0/cv1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +...cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.0/act/Mul BPU id(1) HzLut -- 1.0 int8 +...3.1/one2one_cv3.1.1/one2one_cv3.1.1.1/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.22/m.0/m.0.0/cv1/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.22/m.0/m.0.0/cv2/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +...cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.1/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.23/one2one_cv3.1/one2one_cv3.1.2/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.22/m.0/m.0.0/cv2/act/Mul BPU id(1) HzLut -- 1.0 int8 +/model.22/m.0/m.0.0/Add BPU id(1) HzSElementwiseAdd -- 1.0 int8 +/model.22/m.0/m.0.1/attn/qkv/conv/Conv BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.22/m.0/m.0.1/attn/Reshape BPU id(1) Reshape -- 1.0 int8 +/model.22/m.0/m.0.1/attn/Split BPU id(1) Split -- 1.0 int8 +/model.22/m.0/m.0.1/attn/Mul BPU id(1) HzSQuantizedConv -- 1.0 int8 +/model.22/m.0/m.0.1/attn/Reshape_2 BPU id(1) Reshape -- 1.0 int8 +/model.22/m.0/m.0.1/attn/Transpose BPU id(1) Transpose -- 1.0 int8 +/model.22/m.0/m.0.1/attn/MatMul BPU id(1) HzSQuantizedMatmul -- 1.0 int8 +/model.22/m.0/m.0.1/attn/Softmax CPU -- Softmax -- -- float +/model.22/m.0/m.0.1/attn/Transpose_1 BPU id(2) Transpose -- -- int8 +/model.22/m.0/m.0.1/attn/MatMul_1 BPU id(2) HzSQuantizedMatmul -- 1.0 int8 +/model.22/m.0/m.0.1/attn/Reshape_1 BPU id(2) Reshape -- 1.0 int8 +/model.22/m.0/m.0.1/attn/pe/conv/Conv BPU id(2) HzSQuantizedConv -- 1.0 int8 +/model.22/m.0/m.0.1/attn/proj/conv/Conv BPU id(2) HzSQuantizedConv -- 1.0 int8 +/model.22/m.0/m.0.1/ffn/ffn.0/conv/Conv BPU id(2) HzSQuantizedConv -- 1.0 int8 +/model.22/m.0/m.0.1/ffn/ffn.0/act/Mul BPU id(2) HzLut -- 1.0 int8 +/model.22/m.0/m.0.1/ffn/ffn.1/conv/Conv BPU id(2) HzSQuantizedConv -- 1.0 int8 +/model.22/Concat BPU id(2) Concat -- 1.0 int8 +/model.22/cv2/conv/Conv BPU id(2) HzSQuantizedConv -- 1.0 int8 +/model.22/cv2/act/Mul BPU id(2) HzLut -- 1.0 int8 +/model.23/one2one_cv2.2/one2one_cv2.2.0/conv/Conv BPU id(2) HzSQuantizedConv -- 1.0 int8 +...3.2/one2one_cv3.2.0/one2one_cv3.2.0.0/conv/Conv BPU id(2) HzSQuantizedConv -- 1.0 int8 +/model.23/one2one_cv2.2/one2one_cv2.2.0/act/Mul BPU id(2) HzLut -- 1.0 int8 +...cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.0/act/Mul BPU id(2) HzLut -- 1.0 int8 +/model.23/one2one_cv2.2/one2one_cv2.2.1/conv/Conv BPU id(2) HzSQuantizedConv -- 1.0 int8 +...3.2/one2one_cv3.2.0/one2one_cv3.2.0.1/conv/Conv BPU id(2) HzSQuantizedConv -- 1.0 int8 +/model.23/one2one_cv2.2/one2one_cv2.2.1/act/Mul BPU id(2) HzLut -- 1.0 int8 +...cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.1/act/Mul BPU id(2) HzLut -- 1.0 int8 +/model.23/one2one_cv2.2/one2one_cv2.2.2/Conv BPU id(2) HzSQuantizedConv -- 1.0 int8 +...3.2/one2one_cv3.2.1/one2one_cv3.2.1.0/conv/Conv BPU id(2) HzSQuantizedConv -- 1.0 int8 +...cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.0/act/Mul BPU id(2) HzLut -- 1.0 int8 +...3.2/one2one_cv3.2.1/one2one_cv3.2.1.1/conv/Conv BPU id(2) HzSQuantizedConv -- 1.0 int8 +...cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.1/act/Mul BPU id(2) HzLut -- 1.0 int8 +/model.23/one2one_cv3.2/one2one_cv3.2.2/Conv BPU id(2) HzSQuantizedConv -- 1.0 int8 +2026-08-07 10:39:51,565 file: print_info_dict.py func: print_info_dict line No: 72 The quantized model output: +============ +Output +------------ +2026-08-07 10:39:51,573 file: model_builder.py func: model_builder line No: 38 End to Horizon NN Model Convert. +2026-08-07 10:39:51,574 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4326 ONNX model output num : 6 +2026-08-07 10:39:51,577 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4060 model_deps_info: {'hb_mapper_version': '1.24.3'} +2026-08-07 10:39:51,580 file: hb_mapper_checker.py func: hb_mapper_checker line No: 170 End model checking.... diff --git a/x5_quantization/checker_output/Extracted from {main_graph}_subgraph_0.html b/x5_quantization/checker_output/Extracted from {main_graph}_subgraph_0.html new file mode 100644 index 0000000..5de7155 --- /dev/null +++ b/x5_quantization/checker_output/Extracted from {main_graph}_subgraph_0.html @@ -0,0 +1,983 @@ + + +Extracted from {main_graph}_subgraph_0 + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/x5_quantization/checker_output/Extracted from {main_graph}_subgraph_0.json b/x5_quantization/checker_output/Extracted from {main_graph}_subgraph_0.json new file mode 100644 index 0000000..fe708ee --- /dev/null +++ b/x5_quantization/checker_output/Extracted from {main_graph}_subgraph_0.json @@ -0,0 +1,213 @@ +{ + "summary": { + "BPU OPs per frame (effective)": 2940160000, + "BPU OPs per run (effective)": 2940160000, + "BPU PE number": 1, + "BPU core number": 1, + "BPU march": "B25E", + "DDR bytes per frame": 122035200, + "DDR bytes per run": 122035200, + "DDR bytes per second": 6401297850, + "DDR megabytes per frame": 116.382, + "DDR megabytes per run": 116.382, + "DDR megabytes per second": 6104.8, + "FPS": 52.45, + "HBDK version": "3.49.15", + "compiling options": "-f hbir -m /tmp/tmpo3cnuwll/Extracted from {main_graph}_subgraph_0.hbir -o /tmp/tmpo3cnuwll/Extracted from {main_graph}_subgraph_0.hbm --march bayes-e --progressbar --input-layout NHWC --output-layout NHWC", + "frame per run": 1, + "frame per second": 52.45, + "input features": [ + [ + "input name", + "input size" + ], + [ + "images_calibrated_quantized", + "1x3x640x640" + ] + ], + "interval computing unit utilization": [ + 0.206, + 0.136, + 0.068, + 0.095, + 0.104, + 0.052, + 0.167, + 0.104, + 0.082, + 0.094, + 0.052, + 0.116, + 0.091, + 0.078, + 0.139, + 0.247, + 0.104, + 0.142, + 0.077, + 0.194, + 0.256, + 0.115, + 0.256, + 0.164, + 0.162, + 0.161, + 0.072, + 0.12, + 0.106, + 0.147, + 0.098, + 0.086, + 0.109, + 0.27, + 0.17, + 0.084, + 0.031, + 0.084, + 0.021 + ], + "interval computing units utilization": [ + 0.206, + 0.136, + 0.068, + 0.095, + 0.104, + 0.052, + 0.167, + 0.104, + 0.082, + 0.094, + 0.052, + 0.116, + 0.091, + 0.078, + 0.139, + 0.247, + 0.104, + 0.142, + 0.077, + 0.194, + 0.256, + 0.115, + 0.256, + 0.164, + 0.162, + 0.161, + 0.072, + 0.12, + 0.106, + 0.147, + 0.098, + 0.086, + 0.109, + 0.27, + 0.17, + 0.084, + 0.031, + 0.084, + 0.021 + ], + "interval loading bandwidth (megabytes/s)": [ + 1567, + 2772, + 3728, + 3375, + 3253, + 3419, + 3569, + 3332, + 3128, + 3129, + 3537, + 3324, + 3110, + 3711, + 3551, + 2800, + 2935, + 3320, + 3151, + 3267, + 2933, + 2795, + 3095, + 3004, + 3036, + 3189, + 3001, + 3210, + 3715, + 2631, + 1875, + 2797, + 3808, + 4172, + 3242, + 2191, + 2842, + 3508, + 1912 + ], + "interval number": 39, + "interval storing bandwidth (megabytes/s)": [ + 4079, + 3124, + 2647, + 3125, + 3125, + 3125, + 2729, + 2767, + 3276, + 3279, + 2977, + 3140, + 3215, + 2768, + 2770, + 2887, + 2803, + 2794, + 3141, + 2869, + 2425, + 2636, + 2421, + 2226, + 2437, + 2483, + 3134, + 3174, + 2502, + 3435, + 4276, + 3652, + 2602, + 1582, + 2150, + 3870, + 3841, + 3115, + 1647 + ], + "interval time (ms)": 0.5, + "latency (ms)": 19.06, + "latency (ms) by segments": [ + 19.064 + ], + "latency (us)": 19064.1, + "loaded bytes per frame": 63139840, + "loaded bytes per run": 63139840, + "model json CRC": "4bd1303b", + "model json file": "/tmp/tmpo3cnuwll/Extracted from {main_graph}_subgraph_0.hbir", + "model name": "Extracted from {main_graph}_subgraph_0", + "model param CRC": "00000000", + "multicore sync time (ms)": 0.0, + "run per second": 52.45, + "runtime version": "3.15.55.0", + "stored bytes per frame": 58895360, + "stored bytes per run": 58895360, + "worst FPS": 52.45 + } +} diff --git a/x5_quantization/checker_output/Extracted from {main_graph}_subgraph_1.html b/x5_quantization/checker_output/Extracted from {main_graph}_subgraph_1.html new file mode 100644 index 0000000..24d9669 --- /dev/null +++ b/x5_quantization/checker_output/Extracted from {main_graph}_subgraph_1.html @@ -0,0 +1,983 @@ + + +Extracted from {main_graph}_subgraph_1 + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/x5_quantization/checker_output/Extracted from {main_graph}_subgraph_1.json b/x5_quantization/checker_output/Extracted from {main_graph}_subgraph_1.json new file mode 100644 index 0000000..8c05209 --- /dev/null +++ b/x5_quantization/checker_output/Extracted from {main_graph}_subgraph_1.json @@ -0,0 +1,257 @@ +{ + "summary": { + "BPU OPs per frame (effective)": 2136627200, + "BPU OPs per run (effective)": 2136627200, + "BPU PE number": 1, + "BPU core number": 1, + "BPU march": "B25E", + "DDR bytes per frame": 138583616, + "DDR bytes per run": 138583616, + "DDR bytes per second": 6348938021, + "DDR megabytes per frame": 132.164, + "DDR megabytes per run": 132.164, + "DDR megabytes per second": 6054.8, + "FPS": 45.81, + "HBDK version": "3.49.15", + "compiling options": "-f hbir -m /tmp/tmpo3cnuwll/Extracted from {main_graph}_subgraph_1.hbir -o /tmp/tmpo3cnuwll/Extracted from {main_graph}_subgraph_1.hbm --march bayes-e --progressbar --input-layout NHWC --output-layout NHWC", + "frame per run": 1, + "frame per second": 45.81, + "input features": [ + [ + "input name", + "input size" + ], + [ + "/model.10/m/m.0/attn/Transpose_1_output_0_calibrated_quantized", + "1x2x400x400" + ], + [ + "/model.10/m/m.0/attn/Split_nhwc2nchw_transposed_output2", + "1x2x64x400" + ], + [ + "/model.10/m/m.0/attn/pe/conv/Conv_nchw2nhwc_transposed_input0", + "1x20x20x128" + ], + [ + "/model.10/Split_output_1_quantized", + "1x20x20x128" + ], + [ + "/model.10/Split_output_0_quantized", + "1x20x20x128" + ], + [ + "/model.6/cv2/act/Mul_output_0_quantized", + "1x40x40x128" + ], + [ + "/model.4/cv2/act/Mul_output_0_quantized", + "1x80x80x128" + ] + ], + "interval computing unit utilization": [ + 0.101, + 0.101, + 0.199, + 0.154, + 0.112, + 0.108, + 0.101, + 0.079, + 0.106, + 0.185, + 0.096, + 0.355, + 0.093, + 0.139, + 0.152, + 0.124, + 0.185, + 0.039, + 0.128, + 0.103, + 0.117, + 0.112, + 0.085, + 0.148, + 0.134, + 0.137, + 0.16, + 0.172, + 0.132, + 0.178, + 0.172, + 0.155, + 0.041, + 0.159, + 0.132, + 0.102, + 0.108, + 0.106, + 0.092, + 0.258, + 0.211, + 0.005, + 0.068, + 0.063 + ], + "interval computing units utilization": [ + 0.101, + 0.101, + 0.199, + 0.154, + 0.112, + 0.108, + 0.101, + 0.079, + 0.106, + 0.185, + 0.096, + 0.355, + 0.093, + 0.139, + 0.152, + 0.124, + 0.185, + 0.039, + 0.128, + 0.103, + 0.117, + 0.112, + 0.085, + 0.148, + 0.134, + 0.137, + 0.16, + 0.172, + 0.132, + 0.178, + 0.172, + 0.155, + 0.041, + 0.159, + 0.132, + 0.102, + 0.108, + 0.106, + 0.092, + 0.258, + 0.211, + 0.005, + 0.068, + 0.063 + ], + "interval loading bandwidth (megabytes/s)": [ + 3201, + 2992, + 2422, + 1226, + 830, + 2343, + 3369, + 3361, + 3314, + 4400, + 5767, + 4176, + 2968, + 3160, + 3091, + 3270, + 2892, + 2888, + 3125, + 3881, + 3804, + 3113, + 3257, + 3351, + 3364, + 3170, + 3187, + 3041, + 2923, + 3186, + 3201, + 3079, + 3135, + 3143, + 3389, + 1956, + 1806, + 3369, + 4712, + 4296, + 1800, + 2998, + 3677, + 2265 + ], + "interval number": 44, + "interval storing bandwidth (megabytes/s)": [ + 3021, + 3283, + 3521, + 4563, + 5338, + 3978, + 2983, + 3096, + 3125, + 1674, + 351, + 1289, + 2402, + 2939, + 2861, + 2539, + 2782, + 3369, + 3389, + 2392, + 2421, + 2929, + 2929, + 2832, + 2636, + 2832, + 2645, + 2539, + 2726, + 2529, + 2333, + 2513, + 3134, + 3191, + 2505, + 4209, + 4556, + 2963, + 1693, + 1549, + 3476, + 3214, + 3125, + 3059 + ], + "interval time (ms)": 0.5, + "latency (ms)": 21.83, + "latency (ms) by segments": [ + 21.828 + ], + "latency (us)": 21827.8, + "loaded bytes per frame": 72009792, + "loaded bytes per run": 72009792, + "model json CRC": "f7a1faaa", + "model json file": "/tmp/tmpo3cnuwll/Extracted from {main_graph}_subgraph_1.hbir", + "model name": "Extracted from {main_graph}_subgraph_1", + "model param CRC": "00000000", + "multicore sync time (ms)": 0.0, + "run per second": 45.81, + "runtime version": "3.15.55.0", + "stored bytes per frame": 66573824, + "stored bytes per run": 66573824, + "worst FPS": 45.81 + } +} diff --git a/x5_quantization/checker_output/Extracted from {main_graph}_subgraph_2.html b/x5_quantization/checker_output/Extracted from {main_graph}_subgraph_2.html new file mode 100644 index 0000000..69a9848 --- /dev/null +++ b/x5_quantization/checker_output/Extracted from {main_graph}_subgraph_2.html @@ -0,0 +1,983 @@ + + +Extracted from {main_graph}_subgraph_2 + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/x5_quantization/checker_output/Extracted from {main_graph}_subgraph_2.json b/x5_quantization/checker_output/Extracted from {main_graph}_subgraph_2.json new file mode 100644 index 0000000..cb5bb59 --- /dev/null +++ b/x5_quantization/checker_output/Extracted from {main_graph}_subgraph_2.json @@ -0,0 +1,221 @@ +{ + "summary": { + "BPU OPs per frame (effective)": 236339200, + "BPU OPs per run (effective)": 236339200, + "BPU PE number": 1, + "BPU core number": 1, + "BPU march": "B25E", + "DDR bytes per frame": 44277504, + "DDR bytes per run": 44277504, + "DDR bytes per second": 6318416482, + "DDR megabytes per frame": 42.226, + "DDR megabytes per run": 42.226, + "DDR megabytes per second": 6025.7, + "FPS": 142.7, + "HBDK version": "3.49.15", + "compiling options": "-f hbir -m /tmp/tmpo3cnuwll/Extracted from {main_graph}_subgraph_2.hbir -o /tmp/tmpo3cnuwll/Extracted from {main_graph}_subgraph_2.hbm --march bayes-e --progressbar --input-layout NHWC --output-layout NHWC", + "frame per run": 1, + "frame per second": 142.7, + "input features": [ + [ + "input name", + "input size" + ], + [ + "/model.22/m.0/m.0.1/attn/Transpose_1_output_0_calibrated_quantized", + "1x2x400x400" + ], + [ + "/model.22/m.0/m.0.1/attn/Split_nhwc2nchw_transposed_output2", + "1x2x64x400" + ], + [ + "/model.22/m.0/m.0.1/attn/pe/conv/Conv_nchw2nhwc_transposed_input0", + "1x20x20x128" + ], + [ + "/model.22/m.0/m.0.0/Add_output_0_quantized", + "1x20x20x128" + ], + [ + "/model.22/Split_output_0_quantized", + "1x20x20x128" + ], + [ + "/model.22/Split_output_1_quantized", + "1x20x20x128" + ] + ], + "interval computing unit utilization": [ + 0.062, + 0.124, + 0.098, + 0.168, + 0.05, + 0.267, + 0.229, + 0.072, + 0.12, + 0.192, + 0.192, + 0.0, + 0.088, + 0.092, + 0.179, + 0.092, + 0.087, + 0.088, + 0.092, + 0.092, + 0.179, + 0.087, + 0.0, + 0.231, + 0.231, + 0.0, + 0.231, + 0.231, + 0.615, + 0.053, + 0.08, + 0.094, + 0.137, + 0.202, + 0.122, + 0.015 + ], + "interval computing units utilization": [ + 0.062, + 0.124, + 0.098, + 0.168, + 0.05, + 0.267, + 0.229, + 0.072, + 0.12, + 0.192, + 0.192, + 0.0, + 0.088, + 0.092, + 0.179, + 0.092, + 0.087, + 0.088, + 0.092, + 0.092, + 0.179, + 0.087, + 0.0, + 0.231, + 0.231, + 0.0, + 0.231, + 0.231, + 0.615, + 0.053, + 0.08, + 0.094, + 0.137, + 0.202, + 0.122, + 0.015 + ], + "interval loading bandwidth (megabytes/s)": [ + 3916, + 3024, + 3019, + 2929, + 2502, + 3547, + 2578, + 800, + 244, + 244, + 488, + 479, + 2166, + 3848, + 3448, + 2996, + 2807, + 3103, + 3678, + 3833, + 3401, + 2827, + 4333, + 5733, + 5182, + 5985, + 6007, + 4590, + 2693, + 2304, + 3413, + 3548, + 3477, + 3290, + 3187, + 1519 + ], + "interval number": 36, + "interval storing bandwidth (megabytes/s)": [ + 2539, + 3234, + 3166, + 3147, + 3772, + 2322, + 2589, + 5149, + 6193, + 5762, + 5251, + 5956, + 4636, + 2612, + 2683, + 3135, + 3654, + 3371, + 2780, + 2612, + 2730, + 3320, + 2469, + 573, + 292, + 313, + 292, + 858, + 1367, + 2343, + 3125, + 2783, + 2490, + 2294, + 2157, + 1165 + ], + "interval time (ms)": 0.2, + "latency (ms)": 7.01, + "latency (ms) by segments": [ + 7.008 + ], + "latency (us)": 7007.7, + "loaded bytes per frame": 22904576, + "loaded bytes per run": 22904576, + "model json CRC": "29e36293", + "model json file": "/tmp/tmpo3cnuwll/Extracted from {main_graph}_subgraph_2.hbir", + "model name": "Extracted from {main_graph}_subgraph_2", + "model param CRC": "00000000", + "multicore sync time (ms)": 0.0, + "run per second": 142.7, + "runtime version": "3.15.55.0", + "stored bytes per frame": 21372928, + "stored bytes per run": 21372928, + "worst FPS": 142.7 + } +} diff --git a/x5_quantization/checker_output/calibrated_model.onnx b/x5_quantization/checker_output/calibrated_model.onnx new file mode 100644 index 0000000..6e69091 Binary files /dev/null and b/x5_quantization/checker_output/calibrated_model.onnx differ diff --git a/x5_quantization/checker_output/checker_hybrid_horizonrt.bin b/x5_quantization/checker_output/checker_hybrid_horizonrt.bin new file mode 100644 index 0000000..3be9c4a Binary files /dev/null and b/x5_quantization/checker_output/checker_hybrid_horizonrt.bin differ diff --git a/x5_quantization/checker_output/main_graph_subgraph_0.html b/x5_quantization/checker_output/main_graph_subgraph_0.html new file mode 100644 index 0000000..cccf17d --- /dev/null +++ b/x5_quantization/checker_output/main_graph_subgraph_0.html @@ -0,0 +1,983 @@ + + +main_graph_subgraph_0 + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/x5_quantization/checker_output/main_graph_subgraph_0.json b/x5_quantization/checker_output/main_graph_subgraph_0.json new file mode 100644 index 0000000..86c4259 --- /dev/null +++ b/x5_quantization/checker_output/main_graph_subgraph_0.json @@ -0,0 +1,213 @@ +{ + "summary": { + "BPU OPs per frame (effective)": 2940160000, + "BPU OPs per run (effective)": 2940160000, + "BPU PE number": 1, + "BPU core number": 1, + "BPU march": "B25E", + "DDR bytes per frame": 122035200, + "DDR bytes per run": 122035200, + "DDR bytes per second": 6401297850, + "DDR megabytes per frame": 116.382, + "DDR megabytes per run": 116.382, + "DDR megabytes per second": 6104.8, + "FPS": 52.45, + "HBDK version": "3.49.15", + "compiling options": "-f hbir -m /tmp/tmp0plq7oph/main_graph_subgraph_0.hbir -o /tmp/tmp0plq7oph/main_graph_subgraph_0.hbm --march bayes-e --progressbar --input-layout NHWC --output-layout NHWC", + "frame per run": 1, + "frame per second": 52.45, + "input features": [ + [ + "input name", + "input size" + ], + [ + "images_calibrated_quantized", + "1x3x640x640" + ] + ], + "interval computing unit utilization": [ + 0.206, + 0.136, + 0.068, + 0.095, + 0.104, + 0.052, + 0.167, + 0.104, + 0.082, + 0.094, + 0.052, + 0.116, + 0.091, + 0.078, + 0.139, + 0.247, + 0.104, + 0.142, + 0.077, + 0.194, + 0.256, + 0.115, + 0.256, + 0.164, + 0.162, + 0.161, + 0.072, + 0.12, + 0.106, + 0.147, + 0.098, + 0.086, + 0.109, + 0.27, + 0.17, + 0.084, + 0.031, + 0.084, + 0.021 + ], + "interval computing units utilization": [ + 0.206, + 0.136, + 0.068, + 0.095, + 0.104, + 0.052, + 0.167, + 0.104, + 0.082, + 0.094, + 0.052, + 0.116, + 0.091, + 0.078, + 0.139, + 0.247, + 0.104, + 0.142, + 0.077, + 0.194, + 0.256, + 0.115, + 0.256, + 0.164, + 0.162, + 0.161, + 0.072, + 0.12, + 0.106, + 0.147, + 0.098, + 0.086, + 0.109, + 0.27, + 0.17, + 0.084, + 0.031, + 0.084, + 0.021 + ], + "interval loading bandwidth (megabytes/s)": [ + 1567, + 2772, + 3728, + 3375, + 3253, + 3419, + 3569, + 3332, + 3128, + 3129, + 3537, + 3324, + 3110, + 3711, + 3551, + 2800, + 2935, + 3320, + 3151, + 3267, + 2933, + 2795, + 3095, + 3004, + 3036, + 3189, + 3001, + 3210, + 3715, + 2631, + 1875, + 2797, + 3808, + 4172, + 3242, + 2191, + 2842, + 3508, + 1912 + ], + "interval number": 39, + "interval storing bandwidth (megabytes/s)": [ + 4079, + 3124, + 2647, + 3125, + 3125, + 3125, + 2729, + 2767, + 3276, + 3279, + 2977, + 3140, + 3215, + 2768, + 2770, + 2887, + 2803, + 2794, + 3141, + 2869, + 2425, + 2636, + 2421, + 2226, + 2437, + 2483, + 3134, + 3174, + 2502, + 3435, + 4276, + 3652, + 2602, + 1582, + 2150, + 3870, + 3841, + 3115, + 1647 + ], + "interval time (ms)": 0.5, + "latency (ms)": 19.06, + "latency (ms) by segments": [ + 19.064 + ], + "latency (us)": 19064.1, + "loaded bytes per frame": 63139840, + "loaded bytes per run": 63139840, + "model json CRC": "4bd1303b", + "model json file": "/tmp/tmp0plq7oph/main_graph_subgraph_0.hbir", + "model name": "main_graph_subgraph_0", + "model param CRC": "00000000", + "multicore sync time (ms)": 0.0, + "run per second": 52.45, + "runtime version": "3.15.55.0", + "stored bytes per frame": 58895360, + "stored bytes per run": 58895360, + "worst FPS": 52.45 + } +} diff --git a/x5_quantization/checker_output/main_graph_subgraph_1.html b/x5_quantization/checker_output/main_graph_subgraph_1.html new file mode 100644 index 0000000..a5e43f8 --- /dev/null +++ b/x5_quantization/checker_output/main_graph_subgraph_1.html @@ -0,0 +1,983 @@ + + +main_graph_subgraph_1 + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/x5_quantization/checker_output/main_graph_subgraph_1.json b/x5_quantization/checker_output/main_graph_subgraph_1.json new file mode 100644 index 0000000..84fe142 --- /dev/null +++ b/x5_quantization/checker_output/main_graph_subgraph_1.json @@ -0,0 +1,273 @@ +{ + "summary": { + "BPU OPs per frame (effective)": 2136627200, + "BPU OPs per run (effective)": 2136627200, + "BPU PE number": 1, + "BPU core number": 1, + "BPU march": "B25E", + "DDR bytes per frame": 149824064, + "DDR bytes per run": 149824064, + "DDR bytes per second": 6365457415, + "DDR megabytes per frame": 142.883, + "DDR megabytes per run": 142.883, + "DDR megabytes per second": 6070.6, + "FPS": 42.49, + "HBDK version": "3.49.15", + "compiling options": "-f hbir -m /tmp/tmp0plq7oph/main_graph_subgraph_1.hbir -o /tmp/tmp0plq7oph/main_graph_subgraph_1.hbm --march bayes-e --progressbar --input-layout NHWC --output-layout NHWC", + "frame per run": 1, + "frame per second": 42.49, + "input features": [ + [ + "input name", + "input size" + ], + [ + "/model.10/m/m.0/attn/Transpose_1_output_0_calibrated_quantized", + "1x2x400x400" + ], + [ + "/model.10/m/m.0/attn/Split_nhwc2nchw_transposed_output2", + "1x2x64x400" + ], + [ + "/model.10/m/m.0/attn/pe/conv/Conv_nchw2nhwc_transposed_input0", + "1x20x20x128" + ], + [ + "/model.10/Split_output_1_quantized", + "1x20x20x128" + ], + [ + "/model.10/Split_output_0_quantized", + "1x20x20x128" + ], + [ + "/model.6/cv2/act/Mul_output_0_quantized", + "1x40x40x128" + ], + [ + "/model.4/cv2/act/Mul_output_0_quantized", + "1x80x80x128" + ] + ], + "interval computing unit utilization": [ + 0.101, + 0.101, + 0.199, + 0.154, + 0.112, + 0.108, + 0.101, + 0.079, + 0.106, + 0.185, + 0.096, + 0.355, + 0.093, + 0.139, + 0.152, + 0.124, + 0.185, + 0.039, + 0.128, + 0.103, + 0.117, + 0.112, + 0.085, + 0.148, + 0.134, + 0.137, + 0.093, + 0.163, + 0.118, + 0.124, + 0.173, + 0.106, + 0.219, + 0.144, + 0.157, + 0.064, + 0.128, + 0.1, + 0.186, + 0.072, + 0.108, + 0.126, + 0.226, + 0.159, + 0.084, + 0.031, + 0.084, + 0.021 + ], + "interval computing units utilization": [ + 0.101, + 0.101, + 0.199, + 0.154, + 0.112, + 0.108, + 0.101, + 0.079, + 0.106, + 0.185, + 0.096, + 0.355, + 0.093, + 0.139, + 0.152, + 0.124, + 0.185, + 0.039, + 0.128, + 0.103, + 0.117, + 0.112, + 0.085, + 0.148, + 0.134, + 0.137, + 0.093, + 0.163, + 0.118, + 0.124, + 0.173, + 0.106, + 0.219, + 0.144, + 0.157, + 0.064, + 0.128, + 0.1, + 0.186, + 0.072, + 0.108, + 0.126, + 0.226, + 0.159, + 0.084, + 0.031, + 0.084, + 0.021 + ], + "interval loading bandwidth (megabytes/s)": [ + 3201, + 2992, + 2422, + 1226, + 830, + 2343, + 3369, + 3361, + 3314, + 4400, + 5767, + 4176, + 2968, + 3160, + 3091, + 3270, + 2892, + 2888, + 3125, + 3881, + 3804, + 3113, + 3257, + 3351, + 3364, + 3207, + 2952, + 3133, + 3392, + 2887, + 2981, + 3392, + 3286, + 3127, + 3018, + 2975, + 3132, + 3628, + 2591, + 1769, + 2832, + 3808, + 4208, + 3242, + 2314, + 3034, + 3506, + 1721 + ], + "interval number": 48, + "interval storing bandwidth (megabytes/s)": [ + 3021, + 3283, + 3521, + 4563, + 5338, + 3978, + 2983, + 3096, + 3125, + 1674, + 351, + 1289, + 2402, + 2939, + 2861, + 2539, + 2782, + 3369, + 3389, + 2392, + 2421, + 2929, + 2929, + 2832, + 2636, + 2788, + 3193, + 2944, + 2573, + 3218, + 2852, + 2454, + 2415, + 2336, + 2602, + 3137, + 3250, + 2570, + 3364, + 4348, + 3632, + 2462, + 1638, + 2343, + 3786, + 3648, + 3115, + 1647 + ], + "interval time (ms)": 0.5, + "latency (ms)": 23.54, + "latency (ms) by segments": [ + 23.537 + ], + "latency (us)": 23537.0, + "loaded bytes per frame": 77695040, + "loaded bytes per run": 77695040, + "model json CRC": "d4eae3d3", + "model json file": "/tmp/tmp0plq7oph/main_graph_subgraph_1.hbir", + "model name": "main_graph_subgraph_1", + "model param CRC": "00000000", + "multicore sync time (ms)": 0.0, + "run per second": 42.49, + "runtime version": "3.15.55.0", + "stored bytes per frame": 72129024, + "stored bytes per run": 72129024, + "worst FPS": 42.49 + } +} diff --git a/x5_quantization/checker_output/main_graph_subgraph_2.html b/x5_quantization/checker_output/main_graph_subgraph_2.html new file mode 100644 index 0000000..1df82c7 --- /dev/null +++ b/x5_quantization/checker_output/main_graph_subgraph_2.html @@ -0,0 +1,983 @@ + + +main_graph_subgraph_2 + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/x5_quantization/checker_output/main_graph_subgraph_2.json b/x5_quantization/checker_output/main_graph_subgraph_2.json new file mode 100644 index 0000000..a7ff3f2 --- /dev/null +++ b/x5_quantization/checker_output/main_graph_subgraph_2.json @@ -0,0 +1,191 @@ +{ + "summary": { + "BPU OPs per frame (effective)": 236339200, + "BPU OPs per run (effective)": 236339200, + "BPU PE number": 1, + "BPU core number": 1, + "BPU march": "B25E", + "DDR bytes per frame": 69526848, + "DDR bytes per run": 69526848, + "DDR bytes per second": 6007224548, + "DDR megabytes per frame": 66.306, + "DDR megabytes per run": 66.306, + "DDR megabytes per second": 5728.9, + "FPS": 86.4, + "HBDK version": "3.49.15", + "compiling options": "-f hbir -m /tmp/tmp0plq7oph/main_graph_subgraph_2.hbir -o /tmp/tmp0plq7oph/main_graph_subgraph_2.hbm --march bayes-e --progressbar --input-layout NHWC --output-layout NHWC", + "frame per run": 1, + "frame per second": 86.4, + "input features": [ + [ + "input name", + "input size" + ], + [ + "/model.22/m.0/m.0.1/attn/Transpose_1_output_0_calibrated_quantized", + "1x2x400x400" + ], + [ + "/model.22/m.0/m.0.1/attn/Split_nhwc2nchw_transposed_output2", + "1x2x64x400" + ], + [ + "/model.22/m.0/m.0.1/attn/pe/conv/Conv_nchw2nhwc_transposed_input0", + "1x20x20x128" + ], + [ + "/model.22/m.0/m.0.0/Add_output_0_quantized", + "1x20x20x128" + ], + [ + "/model.22/Split_output_0_quantized", + "1x20x20x128" + ], + [ + "/model.22/Split_output_1_quantized", + "1x20x20x128" + ], + [ + "/model.23/Reshape_output_0_quantized", + "1x1x4x6400" + ], + [ + "/model.23/Reshape_1_output_0_quantized", + "1x1x4x1600" + ], + [ + "/model.23/Reshape_3_output_0_quantized", + "1x1x4x6400" + ], + [ + "/model.23/Reshape_4_output_0_quantized", + "1x1x4x1600" + ] + ], + "interval computing unit utilization": [ + 0.101, + 0.101, + 0.199, + 0.154, + 0.112, + 0.108, + 0.101, + 0.079, + 0.106, + 0.185, + 0.096, + 0.355, + 0.093, + 0.157, + 0.081, + 0.075, + 0.081, + 0.088, + 0.306, + 0.215, + 0.665, + 0.293, + 0.186, + 0.04 + ], + "interval computing units utilization": [ + 0.101, + 0.101, + 0.199, + 0.154, + 0.112, + 0.108, + 0.101, + 0.079, + 0.106, + 0.185, + 0.096, + 0.355, + 0.093, + 0.157, + 0.081, + 0.075, + 0.081, + 0.088, + 0.306, + 0.215, + 0.665, + 0.293, + 0.186, + 0.04 + ], + "interval loading bandwidth (megabytes/s)": [ + 3201, + 2992, + 2422, + 1226, + 830, + 2343, + 3369, + 3361, + 3314, + 4400, + 5767, + 4176, + 2968, + 3307, + 3182, + 3782, + 3875, + 3431, + 2435, + 2139, + 2077, + 1788, + 2890, + 1952 + ], + "interval number": 24, + "interval storing bandwidth (megabytes/s)": [ + 3021, + 3283, + 3521, + 4563, + 5338, + 3978, + 2983, + 3096, + 3125, + 1674, + 351, + 1289, + 2402, + 2529, + 2602, + 2379, + 2306, + 2694, + 2816, + 2836, + 1861, + 1879, + 2413, + 1197 + ], + "interval time (ms)": 0.5, + "latency (ms)": 11.57, + "latency (ms) by segments": [ + 11.479, + 0.0, + 0.095 + ], + "latency (us)": 11573.9, + "loaded bytes per frame": 36598144, + "loaded bytes per run": 36598144, + "model json CRC": "7202325c", + "model json file": "/tmp/tmp0plq7oph/main_graph_subgraph_2.hbir", + "model name": "main_graph_subgraph_2", + "model param CRC": "00000000", + "multicore sync time (ms)": 0.0, + "run per second": 86.4, + "runtime version": "3.15.55.0", + "stored bytes per frame": 32928704, + "stored bytes per run": 32928704, + "worst FPS": 86.4 + } +} diff --git a/x5_quantization/checker_output/main_graph_subgraph_3.html b/x5_quantization/checker_output/main_graph_subgraph_3.html new file mode 100644 index 0000000..4a348cb --- /dev/null +++ b/x5_quantization/checker_output/main_graph_subgraph_3.html @@ -0,0 +1,983 @@ + + +main_graph_subgraph_3 + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/x5_quantization/checker_output/main_graph_subgraph_3.json b/x5_quantization/checker_output/main_graph_subgraph_3.json new file mode 100644 index 0000000..a86592b --- /dev/null +++ b/x5_quantization/checker_output/main_graph_subgraph_3.json @@ -0,0 +1,86 @@ +{ + "summary": { + "BPU PE number": 1, + "BPU core number": 1, + "BPU march": "B25E", + "DDR bytes per frame": 1396800, + "DDR bytes per run": 1396800, + "DDR bytes per second": 5072300619, + "DDR megabytes per frame": 1.332, + "DDR megabytes per run": 1.332, + "DDR megabytes per second": 4837.3, + "FPS": 3631.37, + "HBDK version": "3.49.15", + "compiling options": "-f hbir -m /tmp/tmp0plq7oph/main_graph_subgraph_3.hbir -o /tmp/tmp0plq7oph/main_graph_subgraph_3.hbm --march bayes-e --progressbar --input-layout NHWC --output-layout NHWC", + "frame per run": 1, + "frame per second": 3631.37, + "input features": [ + [ + "input name", + "input size" + ], + [ + "/model.23/Split_output_1_quantized", + "1x1x8400x4" + ], + [ + "/model.23/Expand_output_0_/model.23/GatherElements_cast_input", + "1x1x300x4" + ] + ], + "interval computing unit utilization": [ + 0.403, + 0.101, + 0.194, + 0.187, + 0.317, + 0.11 + ], + "interval computing units utilization": [ + 0.403, + 0.101, + 0.194, + 0.187, + 0.317, + 0.11 + ], + "interval loading bandwidth (megabytes/s)": [ + 1831, + 2380, + 3024, + 2792, + 2317, + 1639 + ], + "interval number": 6, + "interval storing bandwidth (megabytes/s)": [ + 1975, + 2642, + 2857, + 2262, + 2158, + 1603 + ], + "interval time (ms)": 0.05, + "latency (ms)": 0.28, + "latency (ms) by segments": [ + 0.0, + 0.157, + 0.0, + 0.118 + ], + "latency (us)": 275.4, + "loaded bytes per frame": 714368, + "loaded bytes per run": 714368, + "model json CRC": "d2eeed26", + "model json file": "/tmp/tmp0plq7oph/main_graph_subgraph_3.hbir", + "model name": "main_graph_subgraph_3", + "model param CRC": "00000000", + "multicore sync time (ms)": 0.0, + "run per second": 3631.37, + "runtime version": "3.15.55.0", + "stored bytes per frame": 682432, + "stored bytes per run": 682432, + "worst FPS": 3631.37 + } +} diff --git a/x5_quantization/checker_output/main_graph_subgraph_4.html b/x5_quantization/checker_output/main_graph_subgraph_4.html new file mode 100644 index 0000000..7f53f36 --- /dev/null +++ b/x5_quantization/checker_output/main_graph_subgraph_4.html @@ -0,0 +1,983 @@ + + +main_graph_subgraph_4 + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/x5_quantization/checker_output/main_graph_subgraph_4.json b/x5_quantization/checker_output/main_graph_subgraph_4.json new file mode 100644 index 0000000..853fcdb --- /dev/null +++ b/x5_quantization/checker_output/main_graph_subgraph_4.json @@ -0,0 +1,100 @@ +{ + "summary": { + "BPU PE number": 1, + "BPU core number": 1, + "BPU march": "B25E", + "DDR bytes per frame": 120960, + "DDR bytes per run": 120960, + "DDR bytes per second": 3114475513, + "DDR megabytes per frame": 0.115, + "DDR megabytes per run": 0.115, + "DDR megabytes per second": 2970.2, + "FPS": 25747.98, + "HBDK version": "3.49.15", + "compiling options": "-f hbir -m /tmp/tmp0plq7oph/main_graph_subgraph_4.hbir -o /tmp/tmp0plq7oph/main_graph_subgraph_4.hbm --march bayes-e --progressbar --input-layout NHWC --output-layout NHWC", + "frame per run": 1, + "frame per second": 25747.98, + "input features": [ + [ + "input name", + "input size" + ], + [ + "/model.23/Split_output_0_quantized", + "1x1x8400x4" + ], + [ + "/model.23/Expand_1_output_0_/model.23/GatherElements_2_cast_input", + "1x1x300x4" + ], + [ + "/model.23/Unsqueeze_2_output_0_calibrated_Requantize_requantized_output", + "1x1x300x1" + ], + [ + "/model.23/Cast_2_output_0_calibrated_quantized", + "1x1x300x1" + ] + ], + "interval computing unit utilization": [ + 0.103, + 0.072, + 0.154, + 0.262, + 0.074, + 0.09, + 0.088, + 0.38 + ], + "interval computing units utilization": [ + 0.103, + 0.072, + 0.154, + 0.262, + 0.074, + 0.09, + 0.088, + 0.38 + ], + "interval loading bandwidth (megabytes/s)": [ + 1159, + 1988, + 4125, + 3204, + 1013, + 952, + 1382, + 1293 + ], + "interval number": 8, + "interval storing bandwidth (megabytes/s)": [ + 1049, + 1049, + 524, + 463, + 1220, + 1066, + 1366, + 1515 + ], + "interval time (ms)": 0.005, + "latency (ms)": 0.04, + "latency (ms) by segments": [ + 0.0, + 0.039 + ], + "latency (us)": 38.8, + "loaded bytes per frame": 78016, + "loaded bytes per run": 78016, + "model json CRC": "6234711c", + "model json file": "/tmp/tmp0plq7oph/main_graph_subgraph_4.hbir", + "model name": "main_graph_subgraph_4", + "model param CRC": "00000000", + "multicore sync time (ms)": 0.0, + "run per second": 25747.98, + "runtime version": "3.15.55.0", + "stored bytes per frame": 42944, + "stored bytes per run": 42944, + "worst FPS": 25747.98 + } +} diff --git a/x5_quantization/checker_output/optimized_float_model.onnx b/x5_quantization/checker_output/optimized_float_model.onnx new file mode 100644 index 0000000..6b12435 Binary files /dev/null and b/x5_quantization/checker_output/optimized_float_model.onnx differ diff --git a/x5_quantization/checker_output/original_float_model.onnx b/x5_quantization/checker_output/original_float_model.onnx new file mode 100644 index 0000000..96fc030 Binary files /dev/null and b/x5_quantization/checker_output/original_float_model.onnx differ diff --git a/x5_quantization/checker_output/quant_info.json b/x5_quantization/checker_output/quant_info.json new file mode 100644 index 0000000..1adf3d9 --- /dev/null +++ b/x5_quantization/checker_output/quant_info.json @@ -0,0 +1,4235 @@ +{ + "/model.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "images_calibrated" + ], + "outputs": [ + "/model.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.2/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.2/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.2/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.2/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.2/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.2/Split": { + "type": "Split", + "inputs": [ + "/model.2/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.2/Split_output_0", + "/model.2/Split_output_1" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.2/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.2/Split_output_1_calibrated" + ], + "outputs": [ + "/model.2/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.2/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.2/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.2/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.2/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.2/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.2/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.2/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.2/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.2/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.2/m.0/Add": { + "type": "Add", + "inputs": [ + "/model.2/Split_output_1_calibrated", + "/model.2/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.2/m.0/Add_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.2/Concat": { + "type": "Concat", + "inputs": [ + "/model.2/Split_output_0_calibrated", + "/model.2/Split_output_1_calibrated", + "/model.2/m.0/Add_output_0_calibrated" + ], + "outputs": [ + "/model.2/Concat_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.2/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.2/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.2/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.2/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.2/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.2/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.3/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.2/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.3/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.3/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.3/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.3/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.4/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.3/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.4/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.4/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.4/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.4/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.4/Split": { + "type": "Split", + "inputs": [ + "/model.4/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.4/Split_output_0", + "/model.4/Split_output_1" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.4/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.4/Split_output_1_calibrated" + ], + "outputs": [ + "/model.4/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.4/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.4/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.4/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.4/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.4/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.4/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.4/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.4/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.4/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.4/m.0/Add": { + "type": "Add", + "inputs": [ + "/model.4/Split_output_1_calibrated", + "/model.4/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.4/m.0/Add_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.4/Concat": { + "type": "Concat", + "inputs": [ + "/model.4/Split_output_0_calibrated", + "/model.4/Split_output_1_calibrated", + "/model.4/m.0/Add_output_0_calibrated" + ], + "outputs": [ + "/model.4/Concat_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.4/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.4/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.4/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.4/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.4/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.4/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.5/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.4/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.5/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.5/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.5/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.5/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.5/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.6/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.6/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.6/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/Split": { + "type": "Split", + "inputs": [ + "/model.6/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.6/Split_output_0", + "/model.6/Split_output_1" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.6/Split_output_1_calibrated" + ], + "outputs": [ + "/model.6/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.6/Split_output_1_calibrated" + ], + "outputs": [ + "/model.6/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.6/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.6/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/m.0/m/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.6/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/m.0/m/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.6/m.0/m/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/m.0/m/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.6/m.0/m/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/m.0/m/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.6/m.0/m/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/m.0/m/m.0/Add": { + "type": "Add", + "inputs": [ + "/model.6/m.0/cv1/act/Mul_output_0_calibrated", + "/model.6/m.0/m/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.0/Add_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/m.0/m/m.1/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.6/m.0/m/m.0/Add_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.1/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/m.0/m/m.1/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.6/m.0/m/m.1/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.1/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/m.0/m/m.1/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.6/m.0/m/m.1/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.1/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/m.0/m/m.1/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.6/m.0/m/m.1/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.1/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/m.0/m/m.1/Add": { + "type": "Add", + "inputs": [ + "/model.6/m.0/m/m.0/Add_output_0_calibrated", + "/model.6/m.0/m/m.1/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.1/Add_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/m.0/Concat": { + "type": "Concat", + "inputs": [ + "/model.6/m.0/m/m.1/Add_output_0_calibrated", + "/model.6/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/Concat_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/m.0/cv3/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.6/m.0/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/cv3/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/m.0/cv3/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.6/m.0/cv3/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/cv3/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/Concat": { + "type": "Concat", + "inputs": [ + "/model.6/Split_output_0_calibrated", + "/model.6/Split_output_1_calibrated", + "/model.6/m.0/cv3/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.6/Concat_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.6/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.6/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.6/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.6/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.6/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.7/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.6/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.7/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.7/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.7/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.7/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.7/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.8/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.8/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.8/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/Split": { + "type": "Split", + "inputs": [ + "/model.8/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.8/Split_output_0", + "/model.8/Split_output_1" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.8/Split_output_1_calibrated" + ], + "outputs": [ + "/model.8/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.8/Split_output_1_calibrated" + ], + "outputs": [ + "/model.8/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.8/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.8/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/m.0/m/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.8/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/m.0/m/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.8/m.0/m/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/m.0/m/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.8/m.0/m/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/m.0/m/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.8/m.0/m/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/m.0/m/m.0/Add": { + "type": "Add", + "inputs": [ + "/model.8/m.0/cv1/act/Mul_output_0_calibrated", + "/model.8/m.0/m/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.0/Add_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/m.0/m/m.1/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.8/m.0/m/m.0/Add_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.1/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/m.0/m/m.1/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.8/m.0/m/m.1/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.1/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/m.0/m/m.1/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.8/m.0/m/m.1/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.1/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/m.0/m/m.1/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.8/m.0/m/m.1/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.1/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/m.0/m/m.1/Add": { + "type": "Add", + "inputs": [ + "/model.8/m.0/m/m.0/Add_output_0_calibrated", + "/model.8/m.0/m/m.1/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.1/Add_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/m.0/Concat": { + "type": "Concat", + "inputs": [ + "/model.8/m.0/m/m.1/Add_output_0_calibrated", + "/model.8/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/Concat_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/m.0/cv3/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.8/m.0/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/cv3/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/m.0/cv3/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.8/m.0/cv3/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/cv3/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/Concat": { + "type": "Concat", + "inputs": [ + "/model.8/Split_output_0_calibrated", + "/model.8/Split_output_1_calibrated", + "/model.8/m.0/cv3/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.8/Concat_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.8/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.8/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.8/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.8/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.8/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.9/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.8/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.9/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.9/m/MaxPool": { + "type": "MaxPool", + "inputs": [ + "/model.9/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.9/m/MaxPool_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.9/m_1/MaxPool": { + "type": "MaxPool", + "inputs": [ + "/model.9/m/MaxPool_output_0_calibrated" + ], + "outputs": [ + "/model.9/m_1/MaxPool_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.9/m_2/MaxPool": { + "type": "MaxPool", + "inputs": [ + "/model.9/m_1/MaxPool_output_0_calibrated" + ], + "outputs": [ + "/model.9/m_2/MaxPool_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.9/Concat": { + "type": "Concat", + "inputs": [ + "/model.9/cv1/conv/Conv_output_0_calibrated", + "/model.9/m/MaxPool_output_0_calibrated", + "/model.9/m_1/MaxPool_output_0_calibrated", + "/model.9/m_2/MaxPool_output_0_calibrated" + ], + "outputs": [ + "/model.9/Concat_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ], + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.9/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.9/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.9/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.9/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.9/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.9/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.9/Add": { + "type": "Add", + "inputs": [ + "/model.9/cv2/act/Mul_output_0_calibrated", + "/model.8/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.9/Add_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.10/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.9/Add_output_0_calibrated" + ], + "outputs": [ + "/model.10/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.10/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.10/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.10/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.10/Split": { + "type": "Split", + "inputs": [ + "/model.10/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.10/Split_output_0", + "/model.10/Split_output_1" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.10/m/m.0/attn/qkv/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.10/Split_output_1_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/qkv/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.10/m/m.0/attn/Reshape": { + "type": "Reshape", + "inputs": [ + "/model.10/m/m.0/attn/qkv/conv/Conv_output_0_calibrated", + "/model.10/m/m.0/attn/Constant_output_0" + ], + "outputs": [ + "/model.10/m/m.0/attn/Reshape_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [] + ], + "cosine_similarity": "--" + }, + "/model.10/m/m.0/attn/Split": { + "type": "Split", + "inputs": [ + "/model.10/m/m.0/attn/Reshape_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/Split_output_0", + "/model.10/m/m.0/attn/Split_output_1", + "/model.10/m/m.0/attn/Split_output_2" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.10/m/m.0/attn/Mul": { + "type": "Conv", + "inputs": [ + "/model.10/m/m.0/attn/Split_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.10/m/m.0/attn/Reshape_2": { + "type": "Reshape", + "inputs": [ + "/model.10/m/m.0/attn/Split_output_2", + "/model.10/m/m.0/attn/Constant_3_output_0" + ], + "outputs": [ + "/model.10/m/m.0/attn/Reshape_2_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [] + ], + "cosine_similarity": "--" + }, + "/model.10/m/m.0/attn/Transpose": { + "type": "Transpose", + "inputs": [ + "/model.10/m/m.0/attn/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/Transpose_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.10/m/m.0/attn/pe/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.10/m/m.0/attn/Reshape_2_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/pe/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.10/m/m.0/attn/MatMul": { + "type": "MatMul", + "inputs": [ + "/model.10/m/m.0/attn/Transpose_output_0_calibrated", + "/model.10/m/m.0/attn/Split_output_1" + ], + "outputs": [ + "/model.10/m/m.0/attn/MatMul_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.10/m/m.0/attn/Softmax": { + "type": "Softmax", + "inputs": [ + "/model.10/m/m.0/attn/MatMul_output_0" + ], + "outputs": [ + "/model.10/m/m.0/attn/Softmax_output_0" + ], + "thresholds": [ + [] + ], + "cosine_similarity": "--" + }, + "/model.10/m/m.0/attn/Transpose_1": { + "type": "Transpose", + "inputs": [ + "/model.10/m/m.0/attn/Softmax_output_0" + ], + "outputs": [ + "/model.10/m/m.0/attn/Transpose_1_output_0" + ], + "thresholds": [ + [] + ], + "cosine_similarity": "--" + }, + "/model.10/m/m.0/attn/MatMul_1": { + "type": "MatMul", + "inputs": [ + "/model.10/m/m.0/attn/Split_output_2", + "/model.10/m/m.0/attn/Transpose_1_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/MatMul_1_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.10/m/m.0/attn/Reshape_1": { + "type": "Reshape", + "inputs": [ + "/model.10/m/m.0/attn/MatMul_1_output_0_calibrated", + "/model.10/m/m.0/attn/Constant_3_output_0" + ], + "outputs": [ + "/model.10/m/m.0/attn/Reshape_1_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [] + ], + "cosine_similarity": "--" + }, + "/model.10/m/m.0/attn/Add": { + "type": "Add", + "inputs": [ + "/model.10/m/m.0/attn/Reshape_1_output_0_calibrated", + "/model.10/m/m.0/attn/pe/conv/Conv_output_0" + ], + "outputs": [ + "/model.10/m/m.0/attn/Add_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [] + ], + "cosine_similarity": "--" + }, + "/model.10/m/m.0/attn/proj/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.10/m/m.0/attn/Add_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/proj/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.10/m/m.0/Add": { + "type": "Add", + "inputs": [ + "/model.10/Split_output_1_calibrated", + "/model.10/m/m.0/attn/proj/conv/Conv_output_0" + ], + "outputs": [ + "/model.10/m/m.0/Add_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [] + ], + "cosine_similarity": "--" + }, + "/model.10/m/m.0/ffn/ffn.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.10/m/m.0/Add_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/ffn/ffn.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.10/m/m.0/ffn/ffn.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.10/m/m.0/ffn/ffn.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/ffn/ffn.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.10/m/m.0/ffn/ffn.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.10/m/m.0/ffn/ffn.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/ffn/ffn.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.10/m/m.0/Add_1": { + "type": "Add", + "inputs": [ + "/model.10/m/m.0/Add_output_0_calibrated", + "/model.10/m/m.0/ffn/ffn.1/conv/Conv_output_0" + ], + "outputs": [ + "/model.10/m/m.0/Add_1_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [] + ], + "cosine_similarity": "--" + }, + "/model.10/Concat": { + "type": "Concat", + "inputs": [ + "/model.10/Split_output_0_calibrated", + "/model.10/m/m.0/Add_1_output_0_calibrated" + ], + "outputs": [ + "/model.10/Concat_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.10/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.10/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.10/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.10/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.10/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.10/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.11/Resize": { + "type": "Resize", + "inputs": [ + "/model.10/cv2/act/Mul_output_0_calibrated", + "/model.11/Constant_1_output_0", + "/model.11/Constant_output_0" + ], + "outputs": [ + "/model.11/Resize_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [], + [] + ], + "cosine_similarity": "--" + }, + "/model.12/Concat": { + "type": "Concat", + "inputs": [ + "/model.11/Resize_output_0_calibrated", + "/model.6/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.12/Concat_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.12/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.13/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.13/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.13/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/Split": { + "type": "Split", + "inputs": [ + "/model.13/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.13/Split_output_0", + "/model.13/Split_output_1" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.13/Split_output_1_calibrated" + ], + "outputs": [ + "/model.13/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.13/Split_output_1_calibrated" + ], + "outputs": [ + "/model.13/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.13/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.13/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/m.0/m/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.13/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/m.0/m/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.13/m.0/m/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/m.0/m/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.13/m.0/m/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/m.0/m/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.13/m.0/m/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/m.0/m/m.0/Add": { + "type": "Add", + "inputs": [ + "/model.13/m.0/cv1/act/Mul_output_0_calibrated", + "/model.13/m.0/m/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.0/Add_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/m.0/m/m.1/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.13/m.0/m/m.0/Add_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.1/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/m.0/m/m.1/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.13/m.0/m/m.1/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.1/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/m.0/m/m.1/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.13/m.0/m/m.1/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.1/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/m.0/m/m.1/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.13/m.0/m/m.1/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.1/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/m.0/m/m.1/Add": { + "type": "Add", + "inputs": [ + "/model.13/m.0/m/m.0/Add_output_0_calibrated", + "/model.13/m.0/m/m.1/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.1/Add_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/m.0/Concat": { + "type": "Concat", + "inputs": [ + "/model.13/m.0/m/m.1/Add_output_0_calibrated", + "/model.13/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/Concat_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/m.0/cv3/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.13/m.0/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/cv3/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/m.0/cv3/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.13/m.0/cv3/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/cv3/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/Concat": { + "type": "Concat", + "inputs": [ + "/model.13/Split_output_0_calibrated", + "/model.13/Split_output_1_calibrated", + "/model.13/m.0/cv3/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.13/Concat_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.13/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.13/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.13/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.13/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.13/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.14/Resize": { + "type": "Resize", + "inputs": [ + "/model.13/cv2/act/Mul_output_0_calibrated", + "/model.11/Constant_1_output_0", + "/model.11/Constant_output_0" + ], + "outputs": [ + "/model.14/Resize_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [], + [] + ], + "cosine_similarity": "--" + }, + "/model.15/Concat": { + "type": "Concat", + "inputs": [ + "/model.14/Resize_output_0_calibrated", + "/model.4/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.15/Concat_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.15/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.16/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.16/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.16/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/Split": { + "type": "Split", + "inputs": [ + "/model.16/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.16/Split_output_0", + "/model.16/Split_output_1" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/Split_output_1_calibrated" + ], + "outputs": [ + "/model.16/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/Split_output_1_calibrated" + ], + "outputs": [ + "/model.16/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.16/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.16/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/m.0/m/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/m.0/m/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.16/m.0/m/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/m.0/m/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/m.0/m/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/m.0/m/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.16/m.0/m/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/m.0/m/m.0/Add": { + "type": "Add", + "inputs": [ + "/model.16/m.0/cv1/act/Mul_output_0_calibrated", + "/model.16/m.0/m/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.0/Add_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/m.0/m/m.1/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/m.0/m/m.0/Add_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.1/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/m.0/m/m.1/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.16/m.0/m/m.1/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.1/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/m.0/m/m.1/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/m.0/m/m.1/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.1/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/m.0/m/m.1/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.16/m.0/m/m.1/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.1/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/m.0/m/m.1/Add": { + "type": "Add", + "inputs": [ + "/model.16/m.0/m/m.0/Add_output_0_calibrated", + "/model.16/m.0/m/m.1/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.1/Add_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/m.0/Concat": { + "type": "Concat", + "inputs": [ + "/model.16/m.0/m/m.1/Add_output_0_calibrated", + "/model.16/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/Concat_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/m.0/cv3/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/m.0/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/cv3/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/m.0/cv3/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.16/m.0/cv3/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/cv3/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/Concat": { + "type": "Concat", + "inputs": [ + "/model.16/Split_output_0_calibrated", + "/model.16/Split_output_1_calibrated", + "/model.16/m.0/cv3/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.16/Concat_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.16/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.16/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.16/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.16/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.17/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.17/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv2.0/one2one_cv2.0.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.17/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.17/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.17/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv2.0/one2one_cv2.0.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.18/Concat": { + "type": "Concat", + "inputs": [ + "/model.17/act/Mul_output_0_calibrated", + "/model.13/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.18/Concat_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv2.0/one2one_cv2.0.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.18/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.19/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv2.0/one2one_cv2.0.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.19/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.19/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv2.0/one2one_cv2.0.2/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.2/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/Split": { + "type": "Split", + "inputs": [ + "/model.19/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.19/Split_output_0", + "/model.19/Split_output_1" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/Split_output_1_calibrated" + ], + "outputs": [ + "/model.19/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/Split_output_1_calibrated" + ], + "outputs": [ + "/model.19/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.19/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.19/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/m.0/m/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.0/one2one_cv3.0.2/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.2/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/m.0/m/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.19/m.0/m/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/m.0/m/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/m.0/m/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/m.0/m/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.19/m.0/m/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/m.0/m/m.0/Add": { + "type": "Add", + "inputs": [ + "/model.19/m.0/cv1/act/Mul_output_0_calibrated", + "/model.19/m.0/m/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.0/Add_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/m.0/m/m.1/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/m.0/m/m.0/Add_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.1/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/m.0/m/m.1/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.19/m.0/m/m.1/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.1/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/m.0/m/m.1/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/m.0/m/m.1/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.1/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/m.0/m/m.1/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.19/m.0/m/m.1/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.1/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/m.0/m/m.1/Add": { + "type": "Add", + "inputs": [ + "/model.19/m.0/m/m.0/Add_output_0_calibrated", + "/model.19/m.0/m/m.1/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.1/Add_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/m.0/Concat": { + "type": "Concat", + "inputs": [ + "/model.19/m.0/m/m.1/Add_output_0_calibrated", + "/model.19/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/Concat_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/m.0/cv3/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/m.0/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/cv3/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/m.0/cv3/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.19/m.0/cv3/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/cv3/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/Concat": { + "type": "Concat", + "inputs": [ + "/model.19/Split_output_0_calibrated", + "/model.19/Split_output_1_calibrated", + "/model.19/m.0/cv3/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.19/Concat_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.19/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.19/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.19/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.19/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.20/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.20/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv2.1/one2one_cv2.1.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.20/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.20/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.20/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv2.1/one2one_cv2.1.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.21/Concat": { + "type": "Concat", + "inputs": [ + "/model.20/act/Mul_output_0_calibrated", + "/model.10/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.21/Concat_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv2.1/one2one_cv2.1.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.21/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.22/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv2.1/one2one_cv2.1.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.22/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.22/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv2.1/one2one_cv2.1.2/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.2/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/Split": { + "type": "Split", + "inputs": [ + "/model.22/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.22/Split_output_0", + "/model.22/Split_output_1" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/Split_output_1_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.22/m.0/m.0.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/m.0/m.0.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.1/one2one_cv3.1.2/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.2/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.22/m.0/m.0.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.0/Add": { + "type": "Add", + "inputs": [ + "/model.22/Split_output_1_calibrated", + "/model.22/m.0/m.0.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.0/Add_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.1/attn/qkv/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/m.0/m.0.0/Add_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/qkv/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.1/attn/Reshape": { + "type": "Reshape", + "inputs": [ + "/model.22/m.0/m.0.1/attn/qkv/conv/Conv_output_0_calibrated", + "/model.10/m/m.0/attn/Constant_output_0" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Reshape_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.1/attn/Split": { + "type": "Split", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Reshape_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Split_output_0", + "/model.22/m.0/m.0.1/attn/Split_output_1", + "/model.22/m.0/m.0.1/attn/Split_output_2" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.1/attn/Mul": { + "type": "Conv", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Split_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.1/attn/Reshape_2": { + "type": "Reshape", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Split_output_2", + "/model.10/m/m.0/attn/Constant_3_output_0" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Reshape_2_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.1/attn/Transpose": { + "type": "Transpose", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Transpose_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.1/attn/pe/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Reshape_2_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/pe/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.1/attn/MatMul": { + "type": "MatMul", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Transpose_output_0_calibrated", + "/model.22/m.0/m.0.1/attn/Split_output_1" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/MatMul_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.1/attn/Softmax": { + "type": "Softmax", + "inputs": [ + "/model.22/m.0/m.0.1/attn/MatMul_output_0" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Softmax_output_0" + ], + "thresholds": [ + [] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.1/attn/Transpose_1": { + "type": "Transpose", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Softmax_output_0" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Transpose_1_output_0" + ], + "thresholds": [ + [] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.1/attn/MatMul_1": { + "type": "MatMul", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Split_output_2", + "/model.22/m.0/m.0.1/attn/Transpose_1_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/MatMul_1_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.1/attn/Reshape_1": { + "type": "Reshape", + "inputs": [ + "/model.22/m.0/m.0.1/attn/MatMul_1_output_0_calibrated", + "/model.10/m/m.0/attn/Constant_3_output_0" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Reshape_1_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.1/attn/Add": { + "type": "Add", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Reshape_1_output_0_calibrated", + "/model.22/m.0/m.0.1/attn/pe/conv/Conv_output_0" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Add_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.1/attn/proj/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Add_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/proj/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.1/Add": { + "type": "Add", + "inputs": [ + "/model.22/m.0/m.0.0/Add_output_0_calibrated", + "/model.22/m.0/m.0.1/attn/proj/conv/Conv_output_0" + ], + "outputs": [ + "/model.22/m.0/m.0.1/Add_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.1/ffn/ffn.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/m.0/m.0.1/Add_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/ffn/ffn.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.1/ffn/ffn.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.22/m.0/m.0.1/ffn/ffn.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/ffn/ffn.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.1/ffn/ffn.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/m.0/m.0.1/ffn/ffn.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/ffn/ffn.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/m.0/m.0.1/Add_1": { + "type": "Add", + "inputs": [ + "/model.22/m.0/m.0.1/Add_output_0_calibrated", + "/model.22/m.0/m.0.1/ffn/ffn.1/conv/Conv_output_0" + ], + "outputs": [ + "/model.22/m.0/m.0.1/Add_1_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [] + ], + "cosine_similarity": "--" + }, + "/model.22/Concat": { + "type": "Concat", + "inputs": [ + "/model.22/Split_output_0_calibrated", + "/model.22/Split_output_1_calibrated", + "/model.22/m.0/m.0.1/Add_1_output_0_calibrated" + ], + "outputs": [ + "/model.22/Concat_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.22/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.22/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.22/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.22/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv2.2/one2one_cv2.2.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv2.2/one2one_cv2.2.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv2.2/one2one_cv2.2.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv2.2/one2one_cv2.2.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv2.2/one2one_cv2.2.2/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.2/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "/model.23/one2one_cv3.2/one2one_cv3.2.2/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.2/Conv_output_0" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "--" + }, + "bpu_output_cls_s8": { + "type": "Transpose", + "inputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.2/Conv_output_0" + ], + "outputs": [ + "cls_s8" + ], + "thresholds": [ + [] + ], + "cosine_similarity": "--" + }, + "bpu_output_box_s8": { + "type": "Transpose", + "inputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.2/Conv_output_0" + ], + "outputs": [ + "box_s8" + ], + "thresholds": [ + [] + ], + "cosine_similarity": "--" + }, + "bpu_output_cls_s16": { + "type": "Transpose", + "inputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.2/Conv_output_0" + ], + "outputs": [ + "cls_s16" + ], + "thresholds": [ + [] + ], + "cosine_similarity": "--" + }, + "bpu_output_box_s16": { + "type": "Transpose", + "inputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.2/Conv_output_0" + ], + "outputs": [ + "box_s16" + ], + "thresholds": [ + [] + ], + "cosine_similarity": "--" + }, + "bpu_output_cls_s32": { + "type": "Transpose", + "inputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.2/Conv_output_0" + ], + "outputs": [ + "cls_s32" + ], + "thresholds": [ + [] + ], + "cosine_similarity": "--" + }, + "bpu_output_box_s32": { + "type": "Transpose", + "inputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.2/Conv_output_0" + ], + "outputs": [ + "box_s32" + ], + "thresholds": [ + [] + ], + "cosine_similarity": "--" + } +} \ No newline at end of file diff --git a/x5_quantization/checker_output/quantized_model.onnx b/x5_quantization/checker_output/quantized_model.onnx new file mode 100644 index 0000000..1f7b3f1 Binary files /dev/null and b/x5_quantization/checker_output/quantized_model.onnx differ diff --git a/x5_quantization/extract_yolo26_bpu.py b/x5_quantization/extract_yolo26_bpu.py new file mode 100644 index 0000000..24788e8 --- /dev/null +++ b/x5_quantization/extract_yolo26_bpu.py @@ -0,0 +1,83 @@ +#!/usr/bin/env python3 +"""Extract YOLO26 raw detection heads from a standard Ultralytics ONNX export.""" + +from __future__ import annotations + +import argparse +import re +from pathlib import Path + +import onnx +from onnx import TensorProto, helper, shape_inference + + +TERMINAL_HEAD = re.compile( + r"one2one_cv([23])\.(\d+)/one2one_cv\1\.\2\.2/Conv$" +) + + +def main() -> None: + parser = argparse.ArgumentParser() + parser.add_argument("--input", type=Path, required=True) + parser.add_argument("--output", type=Path, required=True) + args = parser.parse_args() + + model = shape_inference.infer_shapes(onnx.load(args.input)) + shapes = { + value.name: [dim.dim_value for dim in value.type.tensor_type.shape.dim] + for value in list(model.graph.value_info) + list(model.graph.output) + } + heads: dict[tuple[int, int], str] = {} + for node in model.graph.node: + match = TERMINAL_HEAD.search(node.name) + if match and node.op_type == "Conv": + branch, scale = int(match.group(1)), int(match.group(2)) + heads[(branch, scale)] = node.output[0] + + expected = {(branch, scale) for branch in (2, 3) for scale in range(3)} + if set(heads) != expected: + missing = sorted(expected - set(heads)) + raise SystemExit(f"could not locate all YOLO26 one-to-one heads; missing {missing}") + + del model.graph.output[:] + output_names = [] + for scale, stride in enumerate((8, 16, 32)): + for branch, kind in ((3, "cls"), (2, "box")): + source = heads[(branch, scale)] + source_shape = shapes[source] + if len(source_shape) != 4: + raise SystemExit(f"unexpected head shape for {source}: {source_shape}") + output_name = f"{kind}_s{stride}" + model.graph.node.append( + helper.make_node( + "Transpose", + [source], + [output_name], + name=f"bpu_output_{kind}_s{stride}", + perm=[0, 2, 3, 1], + ) + ) + model.graph.output.append( + helper.make_tensor_value_info( + output_name, + TensorProto.FLOAT, + [source_shape[0], source_shape[2], source_shape[3], source_shape[1]], + ) + ) + output_names.append(output_name) + + args.output.parent.mkdir(parents=True, exist_ok=True) + temporary = args.output.with_suffix(".unpruned.onnx") + onnx.save(model, temporary) + onnx.utils.extract_model(str(temporary), str(args.output), [model.graph.input[0].name], output_names) + temporary.unlink() + extracted = onnx.load(args.output) + onnx.checker.check_model(extracted) + print(f"wrote {args.output} with outputs:") + for output in extracted.graph.output: + dims = [dim.dim_value for dim in output.type.tensor_type.shape.dim] + print(f" {output.name}: {dims}") + + +if __name__ == "__main__": + main() diff --git a/x5_quantization/mapper.log b/x5_quantization/mapper.log new file mode 100644 index 0000000..e1a4223 --- /dev/null +++ b/x5_quantization/mapper.log @@ -0,0 +1,1631 @@ +2026-08-07 10:39:54,809 file: tool_utils.py func: tool_utils line No: 77 log will be stored in /workspace/smart_car_2026/model/hb_mapper_makertbin.log +2026-08-07 10:39:54,810 file: hb_mapper.py func: hb_mapper line No: 132 Start hb_mapper.... +2026-08-07 10:39:54,810 file: hb_mapper.py func: hb_mapper line No: 133 hbdk version 3.49.15 +2026-08-07 10:39:54,811 file: hb_mapper.py func: hb_mapper line No: 134 horizon_nn version 1.1.0 +2026-08-07 10:39:54,811 file: hb_mapper.py func: hb_mapper line No: 135 hb_mapper version 1.24.3 +2026-08-07 10:39:54,811 file: hb_mapper_makertbin.py func: hb_mapper_makertbin line No: 530 Start Model Convert.... +2026-08-07 10:39:54,816 file: mapper_conf_parser.py func: mapper_conf_parser line No: 105 validating model_parameters... +2026-08-07 10:39:54,816 file: mapper_conf_parser.py func: mapper_conf_parser line No: 1347 Using abs path /workspace/smart_car_2026/model/x5_quantization/best_bpu.onnx +2026-08-07 10:39:54,816 file: mapper_conf_parser.py func: mapper_conf_parser line No: 260 Using onnx model file: /workspace/smart_car_2026/model/x5_quantization/best_bpu.onnx +2026-08-07 10:39:54,830 file: onnx_parser.py func: onnx_parser line No: 39 Model input names: ['images'] +2026-08-07 10:39:54,831 file: mapper_conf_parser.py func: mapper_conf_parser line No: 264 Model has 1 inputs according to model file +2026-08-07 10:39:54,831 file: mapper_conf_parser.py func: mapper_conf_parser line No: 1347 Using abs path /workspace/smart_car_2026/model/x5_quantization/mapper_output_bpu +2026-08-07 10:39:54,831 file: mapper_conf_parser.py func: mapper_conf_parser line No: 287 working_dir does not exist. Creating working_dir: /workspace/smart_car_2026/model/x5_quantization/mapper_output_bpu +2026-08-07 10:39:54,832 file: mapper_conf_parser.py func: mapper_conf_parser line No: 438 node_dict: {self.node_dict} +2026-08-07 10:39:54,832 file: mapper_conf_parser.py func: mapper_conf_parser line No: 119 validating model_parameters finished +2026-08-07 10:39:54,832 file: mapper_conf_parser.py func: mapper_conf_parser line No: 123 validating input_parameters... +2026-08-07 10:39:54,832 file: mapper_conf_parser.py func: mapper_conf_parser line No: 536 Model input shape not given in yaml_file, using shape from model file: [[1, 3, 640, 640]] +2026-08-07 10:39:54,832 file: mapper_conf_parser.py func: mapper_conf_parser line No: 639 nv12 input type rt received. +2026-08-07 10:39:54,833 file: mapper_conf_parser.py func: mapper_conf_parser line No: 135 validating input_parameters finished +2026-08-07 10:39:54,833 file: mapper_conf_parser.py func: mapper_conf_parser line No: 139 validating calibration_parameters... +2026-08-07 10:39:54,833 file: mapper_conf_parser.py func: mapper_conf_parser line No: 1347 Using abs path /workspace/smart_car_2026/model/x5_quantization/calibration_data +2026-08-07 10:39:54,833 file: mapper_conf_parser.py func: mapper_conf_parser line No: 1007 The calibration dir name suffix is not the same as the value float32 of the parameter cal_data_type, the parameter setting will prevail +2026-08-07 10:39:54,833 file: mapper_conf_parser.py func: mapper_conf_parser line No: 155 validating calibration_parameters finished +2026-08-07 10:39:54,833 file: mapper_conf_parser.py func: mapper_conf_parser line No: 159 validating custom_op... +2026-08-07 10:39:54,833 file: mapper_conf_parser.py func: mapper_conf_parser line No: 1076 custom_op does not exist, skipped +2026-08-07 10:39:54,834 file: mapper_conf_parser.py func: mapper_conf_parser line No: 165 validating custom_op finished +2026-08-07 10:39:54,834 file: mapper_conf_parser.py func: mapper_conf_parser line No: 168 validating compiler_parameters... +2026-08-07 10:39:54,834 file: mapper_conf_parser.py func: mapper_conf_parser line No: 1157 Input node images's input_source not set, it will be set to pyramid by default +2026-08-07 10:39:54,834 file: mapper_conf_parser.py func: mapper_conf_parser line No: 183 validating compiler_parameters finished +2026-08-07 10:39:54,834 file: mapper_conf_parser.py func: mapper_conf_parser line No: 187 validating deprecated parameters... +2026-08-07 10:39:54,834 file: mapper_conf_parser.py func: mapper_conf_parser line No: 193 validating deprecated parameters finished +2026-08-07 10:39:54,835 file: hb_mapper_makertbin.py func: hb_mapper_makertbin line No: 54 Dump config: +2026-08-07 10:39:54,835 file: hb_mapper_makertbin.py func: hb_mapper_makertbin line No: 55 calibration_parameters: + cal_data_dir: ./calibration_data + cal_data_type: float32 + calibration_type: default + optimization: set_Softmax_input_int8,set_Softmax_output_int8 +compiler_parameters: + compile_mode: latency + debug: true + jobs: 8 + optimize_level: O3 +input_parameters: + input_layout_train: NCHW + input_name: images + input_type_rt: nv12 + input_type_train: rgb + norm_type: data_scale + scale_value: '0.003921568627451' +model_parameters: + layer_out_dump: false + march: bayes-e + onnx_model: ./best_bpu.onnx + output_model_file_prefix: best_bpu_bayese_640x640_nv12 + working_dir: mapper_output_bpu + +2026-08-07 10:39:54,837 file: hb_mapper_makertbin.py func: hb_mapper_makertbin line No: 60 input 'images' : original model shape: [1, 3, 640, 640] +2026-08-07 10:39:54,838 file: loader.py func: loader line No: 204 ******************************************* +2026-08-07 10:39:54,838 file: loader.py func: loader line No: 205 First calibration picture name: 00000.rgbchw +2026-08-07 10:39:54,839 file: loader.py func: loader line No: 207 First calibration picture md5: +2026-08-07 10:39:54,898 file: loader.py func: loader line No: 211 ******************************************* +2026-08-07 10:39:54,899 file: loader.py func: loader line No: 282 created RawImageDirLoader of shape:[1, 3, 640, 640] +2026-08-07 10:39:54,899 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00000.rgbchw +2026-08-07 10:39:54,970 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00001.rgbchw +2026-08-07 10:39:55,038 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00002.rgbchw +2026-08-07 10:39:55,106 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00003.rgbchw +2026-08-07 10:39:55,173 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00004.rgbchw +2026-08-07 10:39:55,240 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00005.rgbchw +2026-08-07 10:39:55,310 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00006.rgbchw +2026-08-07 10:39:55,378 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00007.rgbchw +2026-08-07 10:39:55,447 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00008.rgbchw +2026-08-07 10:39:55,515 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00009.rgbchw +2026-08-07 10:39:55,584 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00010.rgbchw +2026-08-07 10:39:55,653 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00011.rgbchw +2026-08-07 10:39:55,721 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00012.rgbchw +2026-08-07 10:39:55,789 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00013.rgbchw +2026-08-07 10:39:55,855 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00014.rgbchw +2026-08-07 10:39:55,923 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00015.rgbchw +2026-08-07 10:39:55,991 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00016.rgbchw +2026-08-07 10:39:56,060 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00017.rgbchw +2026-08-07 10:39:56,127 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00018.rgbchw +2026-08-07 10:39:56,194 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00019.rgbchw +2026-08-07 10:39:56,261 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00020.rgbchw +2026-08-07 10:39:56,328 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00021.rgbchw +2026-08-07 10:39:56,395 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00022.rgbchw +2026-08-07 10:39:56,463 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00023.rgbchw +2026-08-07 10:39:56,531 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00024.rgbchw +2026-08-07 10:39:56,600 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00025.rgbchw +2026-08-07 10:39:56,669 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00026.rgbchw +2026-08-07 10:39:56,741 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00027.rgbchw +2026-08-07 10:39:56,811 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00028.rgbchw +2026-08-07 10:39:56,884 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00029.rgbchw +2026-08-07 10:39:56,956 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00030.rgbchw +2026-08-07 10:39:57,027 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00031.rgbchw +2026-08-07 10:39:57,101 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00032.rgbchw +2026-08-07 10:39:57,175 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00033.rgbchw +2026-08-07 10:39:57,244 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00034.rgbchw +2026-08-07 10:39:57,314 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00035.rgbchw +2026-08-07 10:39:57,387 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00036.rgbchw +2026-08-07 10:39:57,474 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00037.rgbchw +2026-08-07 10:39:57,549 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00038.rgbchw +2026-08-07 10:39:57,621 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00039.rgbchw +2026-08-07 10:39:57,700 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00040.rgbchw +2026-08-07 10:39:57,772 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00041.rgbchw +2026-08-07 10:39:57,844 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00042.rgbchw +2026-08-07 10:39:57,917 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00043.rgbchw +2026-08-07 10:39:58,002 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00044.rgbchw +2026-08-07 10:39:58,076 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00045.rgbchw +2026-08-07 10:39:58,150 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00046.rgbchw +2026-08-07 10:39:58,228 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00047.rgbchw +2026-08-07 10:39:58,301 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00048.rgbchw +2026-08-07 10:39:58,372 file: loader.py func: loader line No: 287 Read raw file: /workspace/smart_car_2026/model/x5_quantization/calibration_data/00049.rgbchw +2026-08-07 10:39:58,446 file: tool_utils.py func: tool_utils line No: 368 num of calibration data: 50 +2026-08-07 10:39:58,446 file: tool_utils.py func: tool_utils line No: 369 calibration data shape: (1, 3, 640, 640) +2026-08-07 10:39:58,473 file: hb_mapper_makertbin.py func: hb_mapper_makertbin line No: 519 call build params: + {'march': 'bayes-e', 'save_model': True, 'name_prefix': 'best_bpu_bayese_640x640_nv12', 'input_dict': {'images': {'input_shape': [1, 3, 640, 640], 'expected_input_type': 'YUV444_128', 'original_input_type': 'RGB', 'original_input_layout': 'NCHW', 'scales': array([0.00392157], dtype=float32)}}, 'cali_dict': {'calibration_type': 'default', 'calibration_data': {'images': [array([[[[ -30., -30., -29., ..., -18., -18., -18.], + [ -29., -29., -28., ..., -17., -17., -18.], + [ -28., -28., -27., ..., -17., -17., -18.], + ..., + [ -12., -14., -14., ..., -114., -114., -114.], + [ -14., -15., -14., ..., -114., -114., -114.], + [ -15., -16., -15., ..., -115., -115., -115.]], + + [[ -10., -10., -10., ..., -4., -5., -5.], + [ -10., -10., -10., ..., -4., -5., -5.], + [ -10., -10., -10., ..., -5., -5., -5.], + ..., + [ -20., -20., -20., ..., -3., -3., -3.], + [ -21., -21., -20., ..., -3., -3., -3.], + [ -21., -21., -20., ..., -3., -3., -3.]], + + [[ 2., 2., 2., ..., -3., -4., -4.], + [ 2., 2., 2., ..., -3., -4., -4.], + [ -1., -1., -1., ..., -4., -4., -4.], + ..., + [ 8., 8., 8., ..., -3., -3., -3.], + [ 8., 8., 8., ..., -3., -3., -3.], + [ 8., 8., 8., ..., -3., -3., -3.]]]], dtype=float32), array([[[[ 7., -1., -9., ..., -128., -128., -128.], + [ 6., -1., -8., ..., -128., -128., -128.], + [ 5., 0., -5., ..., -128., -128., -128.], + ..., + [ -24., -23., -22., ..., -61., -62., -63.], + [ -24., -23., -22., ..., -71., -72., -73.], + [ -24., -23., -22., ..., -79., -80., -80.]], + + [[ -14., -14., -14., ..., -1., -1., -1.], + [ -14., -14., -14., ..., -1., -1., -1.], + [ -14., -14., -14., ..., -1., -1., -1.], + ..., + [ -2., -2., -2., ..., 1., 1., 1.], + [ -2., -2., -2., ..., 2., 2., 2.], + [ -2., -2., -2., ..., 2., 2., 2.]], + + [[ 4., 4., 4., ..., 0., 0., 0.], + [ 4., 4., 4., ..., 0., 0., 0.], + [ 4., 4., 4., ..., 0., 0., 0.], + ..., + [ -6., -6., -6., ..., -6., -6., -6.], + [ -6., -6., -6., ..., -6., -6., -6.], + [ -6., -6., -6., ..., -6., -6., -6.]]]], dtype=float32), array([[[[-115., -114., -114., ..., 10., 18., 14.], + [-112., -111., -111., ..., -2., 6., 6.], + [-108., -107., -106., ..., -7., -3., -2.], + ..., + [ -29., -29., -28., ..., -114., -114., -114.], + [ -28., -28., -28., ..., -114., -114., -114.], + [ -27., -28., -27., ..., -114., -114., -114.]], + + [[ -8., -8., -9., ..., -8., -6., -6.], + [ -8., -8., -9., ..., -8., -6., -6.], + [ -10., -10., -11., ..., -8., -7., -7.], + ..., + [ 3., 3., 3., ..., -8., -8., -8.], + [ 3., 3., 3., ..., -6., -6., -6.], + [ 3., 3., 3., ..., -6., -6., -6.]], + + [[ -8., -8., -8., ..., 0., -1., -1.], + [ -8., -8., -8., ..., 0., -1., -1.], + [ -7., -7., -8., ..., 0., -2., -2.], + ..., + [ -11., -11., -12., ..., -6., -6., -6.], + [ -11., -11., -12., ..., -6., -6., -6.], + [ -11., -11., -12., ..., -6., -6., -6.]]]], dtype=float32), array([[[[-113., -114., -114., ..., -29., -30., -31.], + [-113., -113., -114., ..., -29., -30., -31.], + [-113., -113., -114., ..., -29., -29., -30.], + ..., + [ -14., -14., -14., ..., -113., -113., -114.], + [ -13., -13., -14., ..., -114., -114., -115.], + [ -12., -13., -14., ..., -114., -115., -115.]], + + [[ -9., -9., -8., ..., -7., -7., -7.], + [ -9., -9., -8., ..., -7., -7., -7.], + [ -9., -9., -8., ..., -7., -7., -7.], + ..., + [ 1., 1., 2., ..., 5., 5., 5.], + [ 1., 1., 2., ..., 1., 1., 1.], + [ 1., 1., 2., ..., 1., 1., 1.]], + + [[ -6., -6., -6., ..., 0., 0., 0.], + [ -6., -6., -6., ..., 0., 0., 0.], + [ -6., -6., -6., ..., -1., -1., -1.], + ..., + [ -5., -5., -6., ..., -10., -10., -10.], + [ -5., -5., -6., ..., -6., -6., -6.], + [ -5., -5., -6., ..., -6., -6., -6.]]]], dtype=float32), array([[[[ -18., -18., -18., ..., -41., -41., -41.], + [ -18., -18., -18., ..., -40., -40., -40.], + [ -18., -18., -18., ..., -40., -40., -40.], + ..., + [ -42., -41., -39., ..., -120., -121., -121.], + [ -42., -41., -39., ..., -120., -121., -121.], + [ -42., -41., -39., ..., -120., -121., -121.]], + + [[ -14., -14., -14., ..., -20., -20., -20.], + [ -14., -14., -14., ..., -20., -20., -20.], + [ -14., -14., -14., ..., -20., -20., -20.], + ..., + [ -3., -3., -3., ..., -3., -3., -3.], + [ -3., -3., -3., ..., -4., -4., -4.], + [ -3., -3., -3., ..., -4., -4., -4.]], + + [[ 4., 4., 4., ..., 2., 2., 2.], + [ 4., 4., 4., ..., 2., 2., 2.], + [ 4., 4., 4., ..., 3., 3., 3.], + ..., + [ -5., -5., -5., ..., -6., -6., -6.], + [ -5., -5., -5., ..., -6., -6., -6.], + [ -5., -5., -5., ..., -6., -6., -6.]]]], dtype=float32), array([[[[-89., -81., -65., ..., -73., -74., -75.], + [-88., -80., -65., ..., -72., -73., -74.], + [-88., -80., -65., ..., -70., -71., -72.], + ..., + [-26., -23., -24., ..., -19., -19., -18.], + [-25., -24., -25., ..., -19., -19., -18.], + [-26., -26., -28., ..., -20., -20., -18.]], + + [[-15., -15., -15., ..., -14., -14., -14.], + [-15., -15., -15., ..., -14., -14., -14.], + [-15., -15., -15., ..., -14., -14., -14.], + ..., + [ 2., 2., 2., ..., 1., 1., 1.], + [ 2., 2., 2., ..., 1., 1., 1.], + [ 2., 2., 2., ..., 1., 1., 1.]], + + [[ -2., -2., -1., ..., -2., -2., -2.], + [ -2., -2., -1., ..., -2., -2., -2.], + [ -1., -1., -1., ..., -2., -2., -2.], + ..., + [ -9., -9., -10., ..., -8., -8., -8.], + [ -9., -9., -10., ..., -7., -8., -8.], + [ -9., -9., -10., ..., -7., -8., -8.]]]], dtype=float32), array([[[[-127., -127., -128., ..., -121., -124., -126.], + [-127., -127., -128., ..., -121., -124., -126.], + [-127., -127., -128., ..., -121., -124., -126.], + ..., + [-128., -128., -128., ..., -96., -101., -104.], + [-128., -128., -128., ..., -113., -118., -120.], + [-128., -128., -128., ..., -123., -126., -126.]], + + [[ -1., -1., 1., ..., -3., -3., -3.], + [ -1., -1., 1., ..., -3., -3., -3.], + [ -1., -1., -1., ..., -3., -3., -3.], + ..., + [ 0., 0., 0., ..., 2., 2., 2.], + [ 0., 0., 0., ..., 2., 2., 2.], + [ 0., 0., 0., ..., 2., 2., 2.]], + + [[ -1., -1., -1., ..., -3., -3., -3.], + [ -1., -1., -1., ..., -3., -3., -3.], + [ -1., -1., -1., ..., -3., -3., -3.], + ..., + [ 0., 0., 0., ..., -6., -6., -6.], + [ 0., 0., 0., ..., -6., -5., -5.], + [ 0., 0., 0., ..., -6., -5., -5.]]]], dtype=float32), array([[[[ 14., 14., 14., ..., -15., -16., -16.], + [ 15., 15., 15., ..., -15., -15., -15.], + [ 15., 15., 16., ..., -16., -16., -16.], + ..., + [ -29., -29., -29., ..., -114., -114., -114.], + [ -29., -29., -29., ..., -114., -114., -114.], + [ -28., -28., -28., ..., -115., -115., -115.]], + + [[ -11., -11., -11., ..., -7., -7., -7.], + [ -11., -11., -11., ..., -7., -7., -7.], + [ -11., -11., -11., ..., -7., -7., -7.], + ..., + [ -6., -6., -6., ..., -4., -4., -4.], + [ -6., -6., -6., ..., -4., -4., -4.], + [ -6., -6., -6., ..., -4., -4., -4.]], + + [[ 6., 6., 6., ..., 1., 1., 1.], + [ 6., 6., 6., ..., 1., 1., 1.], + [ 5., 5., 5., ..., 0., 0., 0.], + ..., + [ -6., -6., -6., ..., -4., -4., -4.], + [ -6., -6., -6., ..., -4., -4., -4.], + [ -6., -6., -6., ..., -4., -4., -4.]]]], dtype=float32), array([[[[-114., -114., -115., ..., -31., -24., -19.], + [-114., -114., -115., ..., -18., -15., -12.], + [-114., -114., -115., ..., -9., -9., -9.], + ..., + [ -9., -9., -7., ..., -46., -49., -51.], + [ -9., -9., -9., ..., -64., -67., -70.], + [ -9., -10., -10., ..., -77., -81., -84.]], + + [[ -3., -3., -3., ..., -14., -14., -14.], + [ -3., -3., -3., ..., -14., -14., -14.], + [ -3., -3., -3., ..., -15., -15., -15.], + ..., + [ 2., 2., 2., ..., 3., 3., 3.], + [ 2., 2., 2., ..., 6., 6., 6.], + [ 2., 2., 2., ..., 6., 6., 6.]], + + [[ -6., -6., -6., ..., 0., 0., 0.], + [ -6., -6., -6., ..., 0., 0., 0.], + [ -6., -6., -6., ..., 1., 1., 1.], + ..., + [ -6., -6., -6., ..., -8., -8., -8.], + [ -6., -6., -6., ..., -9., -9., -9.], + [ -6., -6., -6., ..., -9., -9., -9.]]]], dtype=float32), array([[[[ -3., -3., -3., ..., -89., -89., -90.], + [ -3., -2., -3., ..., -89., -89., -90.], + [ -3., -3., -3., ..., -89., -89., -90.], + ..., + [ -3., -3., -3., ..., -125., -125., -125.], + [ -3., -3., -3., ..., -126., -126., -126.], + [ -2., -2., -2., ..., -125., -125., -125.]], + + [[ -16., -16., -16., ..., -23., -23., -23.], + [ -16., -16., -16., ..., -23., -23., -23.], + [ -15., -15., -15., ..., -23., -23., -23.], + ..., + [ -3., -3., -3., ..., -1., -1., -1.], + [ -2., -2., -2., ..., -2., -2., -2.], + [ -2., -2., -2., ..., -2., -2., -2.]], + + [[ 4., 4., 4., ..., -5., -5., -5.], + [ 4., 4., 4., ..., -5., -5., -5.], + [ 3., 3., 3., ..., -5., -5., -5.], + ..., + [ -12., -12., -12., ..., -4., -4., -4.], + [ -13., -13., -13., ..., -3., -3., -3.], + [ -13., -13., -13., ..., -3., -3., -3.]]]], dtype=float32), array([[[[ -85., -76., -79., ..., -115., -115., -115.], + [ -82., -75., -79., ..., -115., -115., -115.], + [ -77., -73., -80., ..., -115., -115., -115.], + ..., + [ -25., -23., -22., ..., -115., -115., -115.], + [ -25., -23., -22., ..., -115., -115., -115.], + [ -25., -23., -22., ..., -115., -115., -115.]], + + [[ 5., 5., 5., ..., -3., -3., -3.], + [ 5., 5., 5., ..., -3., -3., -3.], + [ 5., 5., 5., ..., -4., -4., -4.], + ..., + [ 1., 1., 1., ..., -3., -3., -3.], + [ 1., 1., 1., ..., -4., -4., -4.], + [ 1., 1., 1., ..., -4., -4., -4.]], + + [[ -13., -13., -13., ..., -3., -3., -3.], + [ -13., -13., -13., ..., -3., -3., -3.], + [ -13., -13., -12., ..., -4., -4., -4.], + ..., + [ -5., -5., -5., ..., -5., -5., -5.], + [ -5., -5., -5., ..., -5., -5., -5.], + [ -5., -5., -5., ..., -5., -5., -5.]]]], dtype=float32), array([[[[-114., -114., -114., ..., -103., -104., -104.], + [-114., -114., -114., ..., -100., -101., -101.], + [-114., -114., -114., ..., -97., -98., -100.], + ..., + [ -7., -7., -7., ..., -113., -113., -113.], + [ -7., -7., -7., ..., -113., -113., -113.], + [ -8., -8., -8., ..., -113., -113., -113.]], + + [[ -7., -7., -4., ..., -15., -14., -14.], + [ -7., -7., -4., ..., -15., -14., -14.], + [ -7., -7., -4., ..., -14., -16., -16.], + ..., + [ -2., -2., -2., ..., -6., -6., -6.], + [ -2., -2., -2., ..., -6., -6., -6.], + [ -2., -2., -2., ..., -6., -6., -6.]], + + [[ -6., -6., -5., ..., -1., -1., -1.], + [ -6., -6., -5., ..., -1., -1., -1.], + [ -6., -6., -5., ..., -1., -1., -1.], + ..., + [ -8., -8., -8., ..., -5., -5., -5.], + [ -8., -8., -8., ..., -5., -5., -5.], + [ -8., -8., -8., ..., -5., -5., -5.]]]], dtype=float32), array([[[[-114., -114., -114., ..., -81., -88., -88.], + [-114., -114., -114., ..., -84., -90., -87.], + [-114., -114., -114., ..., -87., -92., -85.], + ..., + [ -45., -45., -45., ..., -114., -115., -115.], + [ -45., -45., -44., ..., -114., -115., -115.], + [ -44., -44., -43., ..., -115., -114., -114.]], + + [[ -6., -6., -6., ..., -13., -8., -8.], + [ -6., -6., -6., ..., -13., -8., -8.], + [ -6., -6., -6., ..., -12., -8., -8.], + ..., + [ -4., -4., -4., ..., -2., -2., -2.], + [ -4., -4., -4., ..., -1., 0., 0.], + [ -4., -4., -4., ..., -1., 0., 0.]], + + [[ -8., -8., -8., ..., -6., -6., -6.], + [ -8., -8., -8., ..., -6., -6., -6.], + [ -8., -8., -8., ..., -7., -7., -7.], + ..., + [ -8., -8., -8., ..., -2., -2., -2.], + [ -9., -9., -9., ..., -1., -2., -2.], + [ -9., -9., -9., ..., -1., -2., -2.]]]], dtype=float32), array([[[[-88., -87., -85., ..., -26., -26., -26.], + [-85., -84., -82., ..., -26., -26., -26.], + [-82., -81., -79., ..., -26., -26., -26.], + ..., + [-31., -31., -31., ..., -41., -41., -41.], + [-31., -31., -31., ..., -43., -43., -43.], + [-31., -31., -31., ..., -44., -44., -44.]], + + [[ -6., -6., -6., ..., -10., -10., -10.], + [ -6., -6., -6., ..., -10., -10., -10.], + [ -6., -6., -6., ..., -10., -10., -10.], + ..., + [-11., -11., -11., ..., -12., -12., -12.], + [-11., -11., -11., ..., -12., -12., -12.], + [-11., -11., -11., ..., -12., -12., -12.]], + + [[ -1., -1., -1., ..., 4., 4., 4.], + [ -1., -1., -1., ..., 4., 4., 4.], + [ -1., -1., -1., ..., 4., 4., 4.], + ..., + [ 7., 7., 7., ..., 7., 7., 7.], + [ 7., 7., 7., ..., 7., 7., 7.], + [ 7., 7., 7., ..., 7., 7., 7.]]]], dtype=float32), array([[[[ -56., -59., -64., ..., -125., -123., -120.], + [ -55., -59., -64., ..., -122., -119., -117.], + [ -55., -59., -64., ..., -117., -115., -115.], + ..., + [ -25., -24., -23., ..., -44., -45., -45.], + [ -25., -24., -23., ..., -47., -48., -48.], + [ -25., -24., -23., ..., -49., -50., -50.]], + + [[ 6., 6., 6., ..., -2., -2., -2.], + [ 6., 6., 6., ..., -2., -2., -2.], + [ 6., 6., 6., ..., -2., -2., -2.], + ..., + [ -11., -11., -11., ..., -15., -15., -15.], + [ -11., -11., -11., ..., -16., -16., -16.], + [ -11., -11., -11., ..., -16., -16., -16.]], + + [[ -18., -18., -18., ..., -3., -5., -5.], + [ -18., -18., -18., ..., -3., -5., -5.], + [ -18., -18., -18., ..., -5., -5., -5.], + ..., + [ -3., -3., -3., ..., 0., 0., 0.], + [ -3., -3., -3., ..., -2., -2., -2.], + [ -3., -3., -3., ..., -2., -2., -2.]]]], dtype=float32), array([[[[-10., -10., -10., ..., -49., -49., -49.], + [-10., -10., -10., ..., -49., -49., -49.], + [-10., -10., -10., ..., -49., -49., -49.], + ..., + [ -3., -2., -2., ..., -76., -76., -76.], + [ -3., -2., -2., ..., -76., -76., -76.], + [ -3., -2., -2., ..., -76., -76., -76.]], + + [[ -8., -8., -8., ..., -14., -14., -14.], + [ -8., -8., -8., ..., -14., -14., -14.], + [ -8., -8., -8., ..., -14., -14., -14.], + ..., + [ 1., 1., 1., ..., -2., -2., -2.], + [ 1., 1., 1., ..., -2., -2., -2.], + [ 1., 1., 1., ..., -2., -2., -2.]], + + [[ -3., -3., -3., ..., -4., -4., -4.], + [ -3., -3., -3., ..., -4., -4., -4.], + [ -3., -3., -3., ..., -4., -4., -4.], + ..., + [ -5., -5., -5., ..., -1., -1., -1.], + [ -5., -5., -5., ..., -1., -1., -1.], + [ -5., -5., -5., ..., -1., -1., -1.]]]], dtype=float32), array([[[[-115., -114., -114., ..., -29., -43., -60.], + [-114., -114., -113., ..., -24., -37., -50.], + [-114., -114., -112., ..., -21., -31., -41.], + ..., + [ -17., -16., -16., ..., -114., -114., -114.], + [ -16., -15., -15., ..., -114., -114., -114.], + [ -15., -15., -15., ..., -115., -115., -115.]], + + [[ -3., -3., -1., ..., -20., -20., -20.], + [ -3., -3., -1., ..., -20., -20., -20.], + [ -3., -3., -1., ..., -19., -20., -20.], + ..., + [ 1., 1., 1., ..., -4., -4., -4.], + [ 1., 1., 1., ..., -4., -4., -4.], + [ 1., 1., 1., ..., -4., -4., -4.]], + + [[ -2., -2., -1., ..., 6., 5., 5.], + [ -2., -2., -1., ..., 6., 5., 5.], + [ -2., -2., -1., ..., 5., 4., 4.], + ..., + [ -7., -7., -7., ..., -4., -4., -4.], + [ -8., -8., -8., ..., -4., -4., -4.], + [ -8., -8., -8., ..., -4., -4., -4.]]]], dtype=float32), array([[[[ -59., -59., -59., ..., -111., -113., -126.], + [ -59., -59., -58., ..., -108., -112., -127.], + [ -59., -59., -58., ..., -105., -111., -127.], + ..., + [ -51., -50., -48., ..., -128., -128., -128.], + [ -51., -50., -48., ..., -128., -128., -128.], + [ -52., -51., -49., ..., -128., -128., -128.]], + + [[ -5., -5., -5., ..., -5., -2., -2.], + [ -5., -5., -5., ..., -5., -2., -2.], + [ -5., -5., -5., ..., -5., -2., -2.], + ..., + [ -2., -2., -2., ..., 0., 0., 0.], + [ -2., -2., -2., ..., 0., 0., 0.], + [ -2., -2., -2., ..., 0., 0., 0.]], + + [[ -5., -5., -5., ..., 0., 0., 0.], + [ -5., -5., -5., ..., 0., 0., 0.], + [ -5., -5., -5., ..., 0., 0., 0.], + ..., + [ -8., -8., -8., ..., 0., 0., 0.], + [ -8., -8., -8., ..., 0., 0., 0.], + [ -8., -8., -8., ..., 0., 0., 0.]]]], dtype=float32), array([[[[-45., -45., -45., ..., -52., -52., -53.], + [-45., -45., -45., ..., -52., -52., -52.], + [-45., -45., -45., ..., -51., -51., -51.], + ..., + [ 3., 2., 1., ..., -86., -86., -87.], + [ 4., 3., 2., ..., -86., -86., -86.], + [ 4., 3., 2., ..., -85., -85., -85.]], + + [[-25., -25., -25., ..., -16., -16., -16.], + [-25., -25., -25., ..., -16., -16., -16.], + [-26., -26., -26., ..., -16., -16., -16.], + ..., + [ 3., 3., 3., ..., 3., 3., 3.], + [ 3., 3., 3., ..., 2., 2., 2.], + [ 3., 3., 3., ..., 2., 2., 2.]], + + [[ 5., 5., 5., ..., -3., -3., -3.], + [ 5., 5., 5., ..., -3., -3., -3.], + [ 6., 6., 6., ..., -3., -3., -3.], + ..., + [-15., -15., -15., ..., -8., -8., -8.], + [-13., -13., -13., ..., -6., -6., -6.], + [-13., -13., -13., ..., -6., -6., -6.]]]], dtype=float32), array([[[[ 12., 12., 13., ..., -17., -16., -15.], + [ 12., 12., 12., ..., -16., -16., -15.], + [ 13., 13., 13., ..., -16., -16., -15.], + ..., + [ -16., -13., -13., ..., -115., -115., -115.], + [ -16., -14., -15., ..., -115., -115., -115.], + [ -15., -15., -16., ..., -114., -114., -114.]], + + [[ -12., -12., -13., ..., -6., -6., -6.], + [ -12., -12., -13., ..., -6., -6., -6.], + [ -13., -13., -13., ..., -6., -5., -5.], + ..., + [ 1., 1., 1., ..., -3., -3., -3.], + [ 1., 1., 1., ..., -3., -3., -3.], + [ 1., 1., 1., ..., -3., -3., -3.]], + + [[ 6., 6., 6., ..., -1., -1., -1.], + [ 6., 6., 6., ..., -1., -1., -1.], + [ 4., 4., 4., ..., -1., -1., -1.], + ..., + [ -6., -6., -6., ..., -5., -5., -5.], + [ -5., -5., -5., ..., -5., -5., -5.], + [ -5., -5., -5., ..., -5., -5., -5.]]]], dtype=float32), array([[[[125., 125., 125., ..., -16., -17., -17.], + [124., 125., 126., ..., -15., -16., -16.], + [123., 123., 124., ..., -15., -15., -16.], + ..., + [ -8., -8., -7., ..., -37., -40., -42.], + [ -8., -8., -7., ..., -51., -54., -56.], + [ -9., -8., -8., ..., -63., -66., -69.]], + + [[ -1., -1., 0., ..., -12., -12., -12.], + [ -1., -1., 0., ..., -12., -12., -12.], + [ 2., 2., 1., ..., -12., -12., -12.], + ..., + [ -2., -2., -2., ..., -1., -1., -1.], + [ -2., -2., -2., ..., 1., 1., 1.], + [ -2., -2., -2., ..., 1., 1., 1.]], + + [[ -3., -3., -2., ..., 2., 2., 2.], + [ -3., -3., -2., ..., 2., 2., 2.], + [ 2., 2., 1., ..., 1., 1., 1.], + ..., + [ -6., -6., -6., ..., -7., -6., -6.], + [ -5., -5., -5., ..., -5., -4., -4.], + [ -5., -5., -5., ..., -5., -4., -4.]]]], dtype=float32), array([[[[ -21., -21., -21., ..., -44., -48., -52.], + [ -21., -21., -21., ..., -44., -48., -52.], + [ -21., -21., -21., ..., -44., -48., -52.], + ..., + [ -44., -44., -44., ..., -106., -106., -106.], + [ -44., -44., -44., ..., -105., -106., -106.], + [ -44., -44., -44., ..., -104., -105., -105.]], + + [[ -3., -3., -3., ..., -3., -3., -3.], + [ -3., -3., -3., ..., -3., -3., -3.], + [ -3., -3., -3., ..., -3., -3., -3.], + ..., + [ -3., -3., -3., ..., -3., -3., -3.], + [ -3., -3., -3., ..., -3., -3., -3.], + [ -3., -3., -3., ..., -3., -3., -3.]], + + [[ -1., -1., -1., ..., -5., -5., -5.], + [ -1., -1., -1., ..., -5., -5., -5.], + [ -1., -1., -1., ..., -5., -5., -5.], + ..., + [ -6., -6., -6., ..., -5., -5., -5.], + [ -6., -6., -6., ..., -3., -3., -3.], + [ -6., -6., -6., ..., -3., -3., -3.]]]], dtype=float32), array([[[[-103., -103., -103., ..., 12., 11., 10.], + [-103., -103., -103., ..., 12., 11., 10.], + [-104., -104., -104., ..., 12., 11., 10.], + ..., + [ -1., -1., 0., ..., -103., -103., -103.], + [ -1., -1., -1., ..., -102., -102., -102.], + [ -2., -1., -1., ..., -102., -102., -102.]], + + [[ -2., -2., -2., ..., -11., -11., -11.], + [ -2., -2., -2., ..., -11., -11., -11.], + [ -2., -2., -2., ..., -11., -11., -11.], + ..., + [ -7., -7., -6., ..., -6., -6., -6.], + [ -7., -7., -7., ..., -5., -5., -5.], + [ -7., -7., -7., ..., -5., -5., -5.]], + + [[ -1., -1., -1., ..., -3., -3., -3.], + [ -1., -1., -1., ..., -3., -3., -3.], + [ -2., -2., -2., ..., -3., -3., -3.], + ..., + [ -10., -10., -9., ..., -8., -8., -8.], + [ -11., -11., -10., ..., -6., -6., -6.], + [ -11., -11., -10., ..., -6., -6., -6.]]]], dtype=float32), array([[[[-100., -100., -100., ..., -97., -97., -97.], + [ -99., -99., -99., ..., -97., -97., -97.], + [ -98., -98., -99., ..., -97., -97., -97.], + ..., + [ -38., -38., -38., ..., -59., -61., -61.], + [ -38., -38., -38., ..., -63., -64., -65.], + [ -38., -38., -38., ..., -66., -67., -68.]], + + [[ 1., 1., 1., ..., -4., -7., -7.], + [ 1., 1., 1., ..., -4., -7., -7.], + [ 1., 1., 1., ..., -4., -7., -7.], + ..., + [ 0., 0., 0., ..., -2., -2., -2.], + [ 0., 0., 0., ..., -2., -2., -2.], + [ 0., 0., 0., ..., -2., -2., -2.]], + + [[ -5., -5., -5., ..., 0., 0., 0.], + [ -5., -5., -5., ..., 0., 0., 0.], + [ -5., -5., -5., ..., 0., 0., 0.], + ..., + [ -3., -3., -3., ..., -6., -6., -6.], + [ -3., -3., -3., ..., -6., -6., -6.], + [ -3., -3., -3., ..., -6., -6., -6.]]]], dtype=float32), array([[[[ -6., -22., -29., ..., -114., -114., -114.], + [ -9., -17., -27., ..., -114., -114., -114.], + [ -11., -17., -29., ..., -114., -114., -114.], + ..., + [ -11., -11., -10., ..., -72., -76., -76.], + [ -12., -12., -11., ..., -92., -96., -96.], + [ -13., -13., -12., ..., -108., -112., -112.]], + + [[ -20., -20., -19., ..., 0., 0., 0.], + [ -20., -20., -19., ..., 0., 0., 0.], + [ -20., -20., -20., ..., 0., 0., 0.], + ..., + [ 0., 0., 0., ..., -2., -3., -3.], + [ 0., 0., 0., ..., -1., -1., -1.], + [ 0., 0., 0., ..., -1., -1., -1.]], + + [[ 6., 6., 7., ..., 0., 0., 0.], + [ 6., 6., 7., ..., 0., 0., 0.], + [ 5., 5., 6., ..., 0., 0., 0.], + ..., + [ -9., -9., -9., ..., -7., -8., -8.], + [ -9., -9., -9., ..., -8., -9., -9.], + [ -9., -9., -9., ..., -8., -9., -9.]]]], dtype=float32), array([[[[ -77., -78., -79., ..., -57., -82., -93.], + [ -77., -77., -77., ..., -60., -82., -91.], + [ -77., -77., -76., ..., -71., -88., -94.], + ..., + [ -85., -83., -80., ..., -128., -128., -128.], + [ -86., -83., -80., ..., -128., -128., -128.], + [ -86., -83., -80., ..., -128., -128., -128.]], + + [[ -8., -8., -10., ..., 10., 10., 10.], + [ -8., -8., -10., ..., 10., 10., 10.], + [ -8., -8., -10., ..., 9., 10., 10.], + ..., + [ -24., -24., -25., ..., 0., 0., 0.], + [ -24., -24., -25., ..., 1., 1., 1.], + [ -24., -24., -25., ..., 1., 1., 1.]], + + [[ -16., -16., -16., ..., -25., -25., -25.], + [ -16., -16., -16., ..., -25., -25., -25.], + [ -15., -15., -15., ..., -21., -20., -20.], + ..., + [ 22., 22., 21., ..., 0., 0., 0.], + [ 20., 20., 20., ..., -1., -1., -1.], + [ 20., 20., 20., ..., -1., -1., -1.]]]], dtype=float32), array([[[[-113., -114., -115., ..., -114., -115., -115.], + [-113., -114., -115., ..., -114., -114., -115.], + [-114., -114., -114., ..., -114., -114., -115.], + ..., + [ -29., -29., -29., ..., -114., -114., -114.], + [ -28., -28., -28., ..., -115., -115., -115.], + [ -27., -27., -27., ..., -115., -115., -115.]], + + [[ -5., -5., -5., ..., -9., -8., -8.], + [ -5., -5., -5., ..., -9., -8., -8.], + [ -6., -6., -6., ..., -9., -8., -8.], + ..., + [ -2., -2., -2., ..., -4., -4., -4.], + [ -2., -2., -2., ..., -4., -4., -4.], + [ -2., -2., -2., ..., -4., -4., -4.]], + + [[ -6., -6., -6., ..., -8., -8., -8.], + [ -6., -6., -6., ..., -8., -8., -8.], + [ -8., -8., -9., ..., -8., -8., -8.], + ..., + [ -7., -7., -7., ..., -4., -4., -4.], + [ -6., -6., -6., ..., -3., -3., -3.], + [ -6., -6., -6., ..., -3., -3., -3.]]]], dtype=float32), array([[[[-115., -115., -115., ..., -16., -17., -17.], + [-115., -115., -115., ..., -16., -17., -17.], + [-115., -115., -115., ..., -16., -16., -17.], + ..., + [ -23., -23., -24., ..., -115., -115., -115.], + [ -22., -24., -24., ..., -115., -115., -115.], + [ -21., -23., -23., ..., -114., -114., -114.]], + + [[ -3., -3., -3., ..., -8., -10., -10.], + [ -3., -3., -3., ..., -8., -10., -10.], + [ -3., -3., -3., ..., -7., -9., -9.], + ..., + [ -4., -4., -5., ..., -4., -4., -4.], + [ -9., -9., -7., ..., -4., -4., -4.], + [ -9., -9., -7., ..., -4., -4., -4.]], + + [[ -3., -3., -3., ..., -1., -1., -1.], + [ -3., -3., -3., ..., -1., -1., -1.], + [ -3., -3., -3., ..., -2., -2., -2.], + ..., + [ -6., -6., -5., ..., -6., -6., -6.], + [ -4., -4., -4., ..., -5., -5., -5.], + [ -4., -4., -4., ..., -5., -5., -5.]]]], dtype=float32), array([[[[ 46., 46., 40., ..., -66., -62., -67.], + [ 42., 44., 40., ..., -73., -71., -76.], + [ 37., 42., 41., ..., -81., -82., -87.], + ..., + [ 15., 15., 16., ..., -93., -93., -93.], + [ 14., 15., 16., ..., -93., -93., -93.], + [ 13., 15., 17., ..., -93., -93., -93.]], + + [[-16., -16., -16., ..., -3., -5., -5.], + [-16., -16., -16., ..., -3., -5., -5.], + [-16., -16., -15., ..., -4., -4., -4.], + ..., + [ -3., -3., -3., ..., -6., -6., -6.], + [ -3., -3., -3., ..., -5., -5., -5.], + [ -3., -3., -3., ..., -5., -5., -5.]], + + [[ 4., 4., 4., ..., -6., -6., -6.], + [ 4., 4., 4., ..., -6., -6., -6.], + [ 4., 4., 4., ..., -6., -6., -6.], + ..., + [ -5., -5., -5., ..., -6., -6., -6.], + [ -5., -5., -5., ..., -5., -5., -5.], + [ -5., -5., -5., ..., -5., -5., -5.]]]], dtype=float32), array([[[[ -41., -41., -40., ..., -107., -106., -106.], + [ -41., -41., -39., ..., -107., -106., -106.], + [ -41., -40., -39., ..., -107., -106., -106.], + ..., + [ -13., -13., -13., ..., -107., -107., -107.], + [ -13., -13., -13., ..., -107., -107., -107.], + [ -13., -13., -13., ..., -107., -107., -107.]], + + [[ 0., 0., 1., ..., -7., -8., -8.], + [ 0., 0., 1., ..., -7., -8., -8.], + [ 0., 0., 1., ..., -7., -8., -8.], + ..., + [ -17., -17., -17., ..., -2., -2., -2.], + [ -17., -17., -17., ..., -3., -3., -3.], + [ -17., -17., -17., ..., -3., -3., -3.]], + + [[ -16., -16., -16., ..., -5., -5., -5.], + [ -16., -16., -16., ..., -5., -5., -5.], + [ -16., -16., -16., ..., -5., -5., -5.], + ..., + [ 2., 2., 2., ..., -3., -3., -3.], + [ 2., 2., 2., ..., -3., -3., -3.], + [ 2., 2., 2., ..., -3., -3., -3.]]]], dtype=float32), array([[[[ -25., -23., -24., ..., -69., -70., -70.], + [ -22., -21., -22., ..., -68., -69., -70.], + [ -21., -20., -20., ..., -67., -68., -69.], + ..., + [ -4., -3., -2., ..., -114., -115., -115.], + [ -4., -3., -2., ..., -113., -115., -114.], + [ -4., -3., -2., ..., -114., -115., -115.]], + + [[ -35., -35., -35., ..., -17., -17., -17.], + [ -35., -35., -35., ..., -17., -17., -17.], + [ -35., -35., -36., ..., -18., -18., -18.], + ..., + [ 5., 5., 5., ..., 3., 2., 2.], + [ 5., 5., 5., ..., -2., -2., -2.], + [ 5., 5., 5., ..., -2., -2., -2.]], + + [[ 16., 16., 17., ..., 0., 0., 0.], + [ 16., 16., 17., ..., 0., 0., 0.], + [ 16., 16., 17., ..., 0., 0., 0.], + ..., + [ -8., -8., -8., ..., -10., -8., -8.], + [ -8., -8., -8., ..., -6., -5., -5.], + [ -8., -8., -8., ..., -6., -5., -5.]]]], dtype=float32), array([[[[ -10., -8., -6., ..., -27., -28., -28.], + [ -10., -8., -5., ..., -26., -27., -27.], + [ -10., -8., -5., ..., -26., -26., -26.], + ..., + [ -26., -30., -30., ..., -128., -128., -128.], + [ -24., -29., -29., ..., -128., -128., -128.], + [ -22., -27., -28., ..., -128., -128., -128.]], + + [[ -16., -16., -16., ..., -11., -12., -12.], + [ -16., -16., -16., ..., -11., -12., -12.], + [ -16., -16., -16., ..., -11., -13., -13.], + ..., + [ -2., -2., -2., ..., 0., 0., 0.], + [ 0., 0., 0., ..., 0., 0., 0.], + [ 0., 0., 0., ..., 0., 0., 0.]], + + [[ 2., 2., 2., ..., -1., 0., 0.], + [ 2., 2., 2., ..., -1., 0., 0.], + [ 2., 2., 2., ..., -1., -1., -1.], + ..., + [ -10., -10., -10., ..., 0., 0., 0.], + [ -10., -10., -10., ..., 0., 0., 0.], + [ -10., -10., -10., ..., 0., 0., 0.]]]], dtype=float32), array([[[[-81., -88., -96., ..., -18., -9., -2.], + [-80., -87., -96., ..., -19., -10., -3.], + [-78., -86., -95., ..., -19., -11., -4.], + ..., + [-25., -25., -24., ..., -98., -98., -98.], + [-25., -25., -24., ..., -98., -98., -98.], + [-26., -25., -25., ..., -98., -98., -98.]], + + [[ -8., -8., -8., ..., -5., -4., -4.], + [ -8., -8., -8., ..., -5., -4., -4.], + [ -8., -8., -8., ..., -5., -5., -5.], + ..., + [ -3., -3., -3., ..., -3., -3., -3.], + [ -3., -3., -3., ..., -5., -5., -5.], + [ -3., -3., -3., ..., -5., -5., -5.]], + + [[ -8., -8., -6., ..., -10., -11., -11.], + [ -8., -8., -6., ..., -10., -11., -11.], + [ -8., -8., -6., ..., -10., -11., -11.], + ..., + [ -6., -6., -6., ..., -5., -5., -5.], + [ -6., -6., -6., ..., -4., -4., -4.], + [ -6., -6., -6., ..., -4., -4., -4.]]]], dtype=float32), array([[[[ -15., -15., -15., ..., -106., -97., -95.], + [ -14., -14., -15., ..., -109., -101., -96.], + [ -14., -14., -15., ..., -109., -106., -98.], + ..., + [ -44., -44., -44., ..., -128., -128., -128.], + [ -44., -44., -44., ..., -128., -128., -128.], + [ -44., -44., -44., ..., -128., -128., -128.]], + + [[ -17., -17., -17., ..., -12., -14., -14.], + [ -17., -17., -17., ..., -12., -14., -14.], + [ -17., -17., -17., ..., -11., -13., -13.], + ..., + [ -3., -3., -3., ..., 0., 0., 0.], + [ -3., -3., -3., ..., 1., 1., 1.], + [ -3., -3., -3., ..., 1., 1., 1.]], + + [[ 6., 6., 6., ..., -6., -4., -4.], + [ 6., 6., 6., ..., -6., -4., -4.], + [ 6., 6., 6., ..., -5., -4., -4.], + ..., + [ -6., -6., -6., ..., 0., 0., 0.], + [ -6., -6., -6., ..., -1., -1., -1.], + [ -6., -6., -6., ..., -1., -1., -1.]]]], dtype=float32), array([[[[ -88., -79., -82., ..., -85., -85., -85.], + [ -72., -66., -71., ..., -85., -85., -85.], + [ -54., -54., -60., ..., -85., -85., -85.], + ..., + [ -52., -51., -51., ..., -127., -126., -126.], + [ -52., -51., -51., ..., -128., -127., -127.], + [ -52., -51., -51., ..., -128., -128., -128.]], + + [[ -16., -16., -17., ..., -15., -15., -15.], + [ -16., -16., -17., ..., -15., -15., -15.], + [ -17., -17., -19., ..., -15., -15., -15.], + ..., + [ 6., 6., 6., ..., 3., 3., 3.], + [ 6., 6., 6., ..., 0., 0., 0.], + [ 6., 6., 6., ..., 0., 0., 0.]], + + [[ 9., 9., 10., ..., 1., 1., 1.], + [ 9., 9., 10., ..., 1., 1., 1.], + [ 6., 6., 9., ..., 1., 1., 1.], + ..., + [ -10., -10., -10., ..., -1., -1., -1.], + [ -10., -10., -10., ..., -1., 0., 0.], + [ -10., -10., -10., ..., -1., 0., 0.]]]], dtype=float32), array([[[[-87., -87., -86., ..., 26., 17., -3.], + [-86., -86., -85., ..., 28., 19., 0.], + [-85., -85., -85., ..., 29., 21., 2.], + ..., + [ 29., 29., 29., ..., -87., -87., -87.], + [ 26., 27., 29., ..., -87., -87., -87.], + [ 23., 26., 29., ..., -87., -87., -87.]], + + [[ -7., -7., -7., ..., -11., -11., -11.], + [ -7., -7., -7., ..., -11., -11., -11.], + [ -7., -7., -7., ..., -11., -11., -11.], + ..., + [ -3., -3., -3., ..., -3., -3., -3.], + [ -3., -3., -3., ..., -3., -3., -3.], + [ -3., -3., -3., ..., -3., -3., -3.]], + + [[ -6., -6., -6., ..., -1., -1., -1.], + [ -6., -6., -6., ..., -1., -1., -1.], + [ -6., -6., -7., ..., -1., -1., -1.], + ..., + [ -5., -5., -5., ..., -5., -5., -5.], + [ -5., -5., -5., ..., -3., -3., -3.], + [ -5., -5., -5., ..., -3., -3., -3.]]]], dtype=float32), array([[[[ -39., -39., -40., ..., -75., -75., -75.], + [ -40., -40., -41., ..., -75., -75., -74.], + [ -41., -41., -41., ..., -75., -74., -74.], + ..., + [ -56., -55., -54., ..., -114., -114., -114.], + [ -55., -55., -54., ..., -114., -114., -114.], + [ -54., -54., -54., ..., -114., -114., -114.]], + + [[ -4., -4., -4., ..., -27., -28., -28.], + [ -4., -4., -4., ..., -27., -28., -28.], + [ -4., -4., -4., ..., -25., -27., -27.], + ..., + [ -5., -5., -5., ..., -1., -1., -1.], + [ -6., -6., -6., ..., 0., 0., 0.], + [ -6., -6., -6., ..., 0., 0., 0.]], + + [[ -6., -6., -5., ..., 14., 14., 14.], + [ -6., -6., -5., ..., 14., 14., 14.], + [ -7., -7., -5., ..., 12., 12., 12.], + ..., + [ -8., -8., -8., ..., 0., 0., 0.], + [ -7., -7., -8., ..., 0., 0., 0.], + [ -7., -7., -8., ..., 0., 0., 0.]]]], dtype=float32), array([[[[ -31., -32., -33., ..., -71., -66., -65.], + [ -30., -31., -32., ..., -70., -66., -66.], + [ -30., -30., -31., ..., -70., -65., -66.], + ..., + [ -22., -21., -19., ..., -128., -128., -128.], + [ -23., -22., -20., ..., -128., -128., -128.], + [ -24., -23., -21., ..., -128., -128., -128.]], + + [[ -10., -10., -10., ..., -20., -20., -20.], + [ -10., -10., -10., ..., -20., -20., -20.], + [ -10., -10., -10., ..., -19., -19., -19.], + ..., + [ -4., -4., -4., ..., -1., -1., -1.], + [ -4., -4., -4., ..., 0., 0., 0.], + [ -4., -4., -4., ..., 0., 0., 0.]], + + [[ -3., -3., -3., ..., -5., -5., -5.], + [ -3., -3., -3., ..., -5., -5., -5.], + [ -3., -3., -3., ..., -5., -6., -6.], + ..., + [ -10., -10., -10., ..., 0., 0., 0.], + [ -10., -10., -10., ..., 0., 0., 0.], + [ -10., -10., -10., ..., 0., 0., 0.]]]], dtype=float32), array([[[[ -32., -32., -32., ..., -80., -80., -79.], + [ -31., -31., -31., ..., -80., -79., -79.], + [ -31., -32., -32., ..., -81., -80., -80.], + ..., + [ -1., -1., 1., ..., -128., -128., -128.], + [ -3., -3., -1., ..., -128., -128., -128.], + [ -4., -4., -2., ..., -127., -127., -127.]], + + [[ -55., -55., -55., ..., -25., -25., -25.], + [ -55., -55., -55., ..., -25., -25., -25.], + [ -54., -54., -54., ..., -26., -26., -26.], + ..., + [ 4., 4., 4., ..., 2., 3., 3.], + [ 4., 4., 4., ..., -1., -1., -1.], + [ 4., 4., 4., ..., -1., -1., -1.]], + + [[ 27., 27., 27., ..., 4., 4., 4.], + [ 27., 27., 27., ..., 4., 4., 4.], + [ 25., 25., 25., ..., 3., 3., 3.], + ..., + [ -10., -10., -10., ..., -1., -1., -1.], + [ -10., -10., -10., ..., 0., 0., 0.], + [ -10., -10., -10., ..., 0., 0., 0.]]]], dtype=float32), array([[[[ -60., -52., -41., ..., -52., -50., -48.], + [ -59., -51., -40., ..., -48., -47., -47.], + [ -58., -50., -40., ..., -43., -44., -44.], + ..., + [ -65., -65., -66., ..., -114., -114., -114.], + [ -65., -65., -66., ..., -114., -114., -114.], + [ -65., -65., -65., ..., -114., -114., -114.]], + + [[ -13., -13., -14., ..., -13., -11., -11.], + [ -13., -13., -14., ..., -13., -11., -11.], + [ -14., -14., -14., ..., -13., -11., -11.], + ..., + [ -7., -7., -7., ..., 0., 0., 0.], + [ -7., -7., -7., ..., 0., 0., 0.], + [ -7., -7., -7., ..., 0., 0., 0.]], + + [[ 2., 2., 3., ..., 1., 2., 2.], + [ 2., 2., 3., ..., 1., 2., 2.], + [ 2., 2., 3., ..., -2., -1., -1.], + ..., + [ -8., -8., -8., ..., -1., -1., -1.], + [ -7., -7., -7., ..., 0., 0., 0.], + [ -7., -7., -7., ..., 0., 0., 0.]]]], dtype=float32), array([[[[ -43., -43., -43., ..., -34., -35., -36.], + [ -43., -43., -42., ..., -37., -38., -39.], + [ -43., -42., -42., ..., -39., -41., -43.], + ..., + [ -45., -45., -46., ..., -128., -128., -128.], + [ -47., -47., -48., ..., -128., -128., -128.], + [ -48., -48., -49., ..., -128., -128., -128.]], + + [[ -11., -11., -11., ..., -25., -25., -25.], + [ -11., -11., -11., ..., -25., -25., -25.], + [ -11., -11., -11., ..., -25., -26., -26.], + ..., + [ -5., -5., -5., ..., 1., 1., 1.], + [ -4., -4., -4., ..., 2., 2., 2.], + [ -4., -4., -4., ..., 2., 2., 2.]], + + [[ -5., -5., -5., ..., 0., 2., 2.], + [ -5., -5., -5., ..., 0., 2., 2.], + [ -5., -5., -5., ..., 0., 0., 0.], + ..., + [ -14., -14., -14., ..., -1., -1., -1.], + [ -13., -13., -13., ..., -1., -1., -1.], + [ -13., -13., -13., ..., -1., -1., -1.]]]], dtype=float32), array([[[[-72., -72., -72., ..., 21., 21., 21.], + [-72., -72., -72., ..., 21., 21., 21.], + [-72., -72., -72., ..., 21., 21., 21.], + ..., + [ 8., 8., 8., ..., -13., -14., -15.], + [ 8., 8., 8., ..., -16., -18., -20.], + [ 8., 8., 8., ..., -19., -21., -23.]], + + [[ -3., -3., -3., ..., -11., -11., -11.], + [ -3., -3., -3., ..., -11., -11., -11.], + [ -3., -3., -3., ..., -11., -11., -11.], + ..., + [ 2., 2., 2., ..., 1., 1., 1.], + [ 2., 2., 2., ..., 1., 1., 1.], + [ 2., 2., 2., ..., 1., 1., 1.]], + + [[ -3., -3., -3., ..., 2., 2., 2.], + [ -3., -3., -3., ..., 2., 2., 2.], + [ -3., -3., -3., ..., 2., 2., 2.], + ..., + [ -6., -6., -6., ..., -5., -5., -5.], + [ -6., -6., -6., ..., -5., -5., -5.], + [ -6., -6., -6., ..., -5., -5., -5.]]]], dtype=float32), array([[[[ -14., -14., -14., ..., -18., -18., -18.], + [ -14., -14., -14., ..., -18., -18., -18.], + [ -14., -14., -14., ..., -18., -18., -18.], + ..., + [ -22., -22., -22., ..., -102., -102., -102.], + [ -22., -22., -22., ..., -102., -102., -102.], + [ -22., -22., -22., ..., -102., -102., -102.]], + + [[ -12., -12., -12., ..., -13., -13., -13.], + [ -12., -12., -12., ..., -13., -13., -13.], + [ -12., -12., -12., ..., -13., -13., -13.], + ..., + [ 0., 0., 0., ..., -7., -7., -7.], + [ -1., -1., -1., ..., -7., -7., -7.], + [ -1., -1., -1., ..., -7., -7., -7.]], + + [[ 4., 4., 4., ..., 3., 3., 3.], + [ 4., 4., 4., ..., 3., 3., 3.], + [ 4., 4., 4., ..., 3., 3., 3.], + ..., + [ -5., -5., -5., ..., -6., -6., -6.], + [ -3., -3., -3., ..., -6., -6., -6.], + [ -3., -3., -3., ..., -6., -6., -6.]]]], dtype=float32), array([[[[ 30., 30., 30., ..., 6., 6., 6.], + [ 28., 29., 29., ..., 6., 6., 6.], + [ 26., 27., 27., ..., 6., 6., 6.], + ..., + [ 4., 5., 5., ..., -73., -73., -73.], + [ 4., 5., 5., ..., -73., -73., -73.], + [ 4., 5., 5., ..., -73., -73., -73.]], + + [[-11., -11., -11., ..., -6., -6., -6.], + [-11., -11., -11., ..., -6., -6., -6.], + [-12., -12., -12., ..., -6., -6., -6.], + ..., + [ -3., -3., -3., ..., -4., -4., -4.], + [ -3., -3., -3., ..., -4., -4., -4.], + [ -3., -3., -3., ..., -4., -4., -4.]], + + [[ 5., 5., 5., ..., 0., 0., 0.], + [ 5., 5., 5., ..., 0., 0., 0.], + [ 4., 4., 4., ..., 0., 0., 0.], + ..., + [ -5., -5., -5., ..., -6., -6., -6.], + [ -5., -5., -5., ..., -5., -5., -5.], + [ -5., -5., -5., ..., -5., -5., -5.]]]], dtype=float32), array([[[[ 3., 3., 3., ..., -87., -95., -99.], + [ 3., 3., 3., ..., -88., -94., -97.], + [ 4., 4., 4., ..., -89., -94., -95.], + ..., + [-13., -13., -13., ..., -59., -60., -62.], + [-13., -13., -13., ..., -69., -72., -73.], + [-13., -14., -14., ..., -77., -80., -81.]], + + [[-12., -12., -12., ..., -6., -5., -5.], + [-12., -12., -12., ..., -6., -5., -5.], + [-13., -13., -13., ..., -6., -5., -5.], + ..., + [ 1., 1., 1., ..., 0., 0., 0.], + [ 2., 2., 2., ..., 0., 0., 0.], + [ 2., 2., 2., ..., 0., 0., 0.]], + + [[ 2., 2., 2., ..., -6., -6., -6.], + [ 2., 2., 2., ..., -6., -6., -6.], + [ 3., 3., 3., ..., -6., -6., -6.], + ..., + [ -5., -5., -5., ..., -8., -8., -8.], + [ -5., -5., -5., ..., -8., -8., -8.], + [ -5., -5., -5., ..., -8., -8., -8.]]]], dtype=float32), array([[[[ -12., -18., -17., ..., -23., -23., -24.], + [ -13., -17., -17., ..., -21., -22., -22.], + [ -14., -15., -17., ..., -20., -20., -21.], + ..., + [ -22., -19., -17., ..., -114., -114., -114.], + [ -22., -18., -15., ..., -114., -114., -114.], + [ -22., -17., -14., ..., -115., -115., -115.]], + + [[ -7., -7., -8., ..., -10., -10., -10.], + [ -7., -7., -8., ..., -10., -10., -10.], + [ -7., -7., -8., ..., -10., -10., -10.], + ..., + [ 1., 1., 1., ..., -3., -3., -3.], + [ 1., 1., 1., ..., -3., -3., -3.], + [ 1., 1., 1., ..., -3., -3., -3.]], + + [[ -3., -3., -2., ..., 0., 0., 0.], + [ -3., -3., -2., ..., 0., 0., 0.], + [ -3., -3., -2., ..., -1., -1., -1.], + ..., + [ -10., -10., -10., ..., -4., -4., -4.], + [ -11., -11., -11., ..., -4., -4., -4.], + [ -11., -11., -11., ..., -4., -4., -4.]]]], dtype=float32), array([[[[-100., -99., -97., ..., -44., -45., -46.], + [ -99., -98., -97., ..., -44., -45., -46.], + [ -99., -98., -97., ..., -44., -45., -46.], + ..., + [ 7., 7., 7., ..., -97., -97., -98.], + [ 7., 7., 7., ..., -97., -98., -97.], + [ 7., 7., 7., ..., -96., -96., -96.]], + + [[ -7., -7., -7., ..., 2., 2., 2.], + [ -7., -7., -7., ..., 2., 2., 2.], + [ -7., -7., -7., ..., 3., 3., 3.], + ..., + [ -11., -11., -11., ..., -7., -7., -7.], + [ -11., -11., -11., ..., -6., -6., -6.], + [ -11., -11., -11., ..., -6., -6., -6.]], + + [[ -6., -6., -6., ..., -11., -11., -11.], + [ -6., -6., -6., ..., -11., -11., -11.], + [ -6., -6., -6., ..., -11., -11., -11.], + ..., + [ -3., -3., -3., ..., -4., -4., -4.], + [ -3., -3., -3., ..., -5., -5., -5.], + [ -3., -3., -3., ..., -5., -5., -5.]]]], dtype=float32), array([[[[ -76., -76., -75., ..., -84., -83., -83.], + [ -80., -80., -79., ..., -84., -83., -83.], + [ -85., -85., -85., ..., -84., -83., -83.], + ..., + [ -17., -17., -17., ..., -128., -128., -128.], + [ -17., -17., -17., ..., -128., -128., -128.], + [ -17., -17., -17., ..., -128., -128., -128.]], + + [[ -25., -25., -25., ..., -20., -20., -20.], + [ -25., -25., -25., ..., -20., -20., -20.], + [ -22., -22., -22., ..., -20., -20., -20.], + ..., + [ 1., 1., 1., ..., 2., 2., 2.], + [ 1., 1., 1., ..., 0., 0., 0.], + [ 1., 1., 1., ..., 0., 0., 0.]], + + [[ 4., 4., 4., ..., -3., -4., -4.], + [ 4., 4., 4., ..., -3., -4., -4.], + [ 3., 3., 3., ..., -3., -4., -4.], + ..., + [ -10., -10., -8., ..., -2., -1., -1.], + [ -10., -10., -8., ..., 0., 0., 0.], + [ -10., -10., -8., ..., 0., 0., 0.]]]], dtype=float32), array([[[[ 8., 8., 9., ..., -19., -19., -19.], + [ 9., 9., 9., ..., -18., -18., -18.], + [ 9., 9., 9., ..., -17., -17., -17.], + ..., + [ -29., -26., -24., ..., -115., -115., -115.], + [ -27., -25., -23., ..., -115., -115., -115.], + [ -26., -24., -22., ..., -115., -115., -115.]], + + [[ -12., -12., -14., ..., -8., -7., -7.], + [ -12., -12., -14., ..., -8., -7., -7.], + [ -13., -13., -14., ..., -8., -7., -7.], + ..., + [ -4., -4., -3., ..., -3., -3., -3.], + [ -3., -3., -3., ..., -3., -3., -3.], + [ -3., -3., -3., ..., -3., -3., -3.]], + + [[ 5., 5., 4., ..., 0., 0., 0.], + [ 5., 5., 4., ..., 0., 0., 0.], + [ 4., 4., 4., ..., -1., -1., -1.], + ..., + [ -9., -9., -7., ..., -4., -4., -4.], + [ -9., -9., -7., ..., -3., -3., -3.], + [ -9., -9., -7., ..., -3., -3., -3.]]]], dtype=float32), array([[[[-128., -128., -128., ..., -53., -53., -56.], + [-127., -127., -128., ..., -53., -53., -55.], + [-125., -125., -126., ..., -53., -52., -55.], + ..., + [ -25., -29., -32., ..., -128., -128., -128.], + [ -26., -29., -33., ..., -128., -128., -128.], + [ -25., -29., -33., ..., -128., -128., -128.]], + + [[ 2., 2., 2., ..., -7., -10., -10.], + [ 2., 2., 2., ..., -7., -10., -10.], + [ 2., 2., 2., ..., -7., -8., -8.], + ..., + [ -22., -22., -22., ..., 1., 1., 1.], + [ -23., -23., -23., ..., 0., 0., 0.], + [ -23., -23., -23., ..., 0., 0., 0.]], + + [[ -1., -1., -1., ..., -8., -8., -8.], + [ -1., -1., -1., ..., -8., -8., -8.], + [ -1., -1., -1., ..., -8., -8., -8.], + ..., + [ 4., 4., 4., ..., -1., -1., -1.], + [ 4., 4., 4., ..., 0., 0., 0.], + [ 4., 4., 4., ..., 0., 0., 0.]]]], dtype=float32)]}}, 'hbdk_dict': {'hbdk_pass_through_params': '--O3 --debug --core-num 1 --fast --jobs 8 ', 'input-source': {'images': 'pyramid', '_default_value': 'ddr'}}, 'node_dict': {}, 'check_mode': False, 'optimization': ['set_Softmax_input_int8,set_Softmax_output_int8']} +2026-08-07 10:39:58,490 file: model_builder.py func: model_builder line No: 35 Start to Horizon NN Model Convert. +2026-08-07 10:39:58,520 file: model_debugger.py func: model_debugger line No: 67 Loading horizon_nn debug methods:set() +2026-08-07 10:39:58,522 file: quantization_config.py func: quantization_config line No: 305 The activation calibration parameters: + calibration_type: ['max', 'kl'] + max_percentile: [0.99995, 1.0] + per_channel: [True, False] + asymmetric: [True, False] +The modelwise search parameters: + similarity: 0.995 + metric: cosine-similarity +The input of all Softmax nodes are set to : int8 +2026-08-07 10:39:58,523 file: input_dict_parser.py func: input_dict_parser line No: 240 input images is from pyramid. Its layout is set to NHWC +2026-08-07 10:39:58,524 file: model_builder.py func: model_builder line No: 197 The specified model compilation architecture: bayes-e. +2026-08-07 10:39:58,524 file: model_builder.py func: model_builder line No: 207 The specified model compilation optimization parameters: []. +2026-08-07 10:39:58,525 file: model_builder.py func: model_builder line No: 35 Start to prepare the onnx model. +2026-08-07 10:39:58,609 file: prepare.py func: prepare line No: 106 Input ONNX Model Information: +ONNX IR version: 6 +Opset version: ['ai.onnx v11', 'horizon v1'] +Producer: onnx.utils.extract_model +Domain: None +Version: None +Graph input: + images: shape=[1, 3, 640, 640], dtype=FLOAT32 +Graph output: + cls_s8: shape=[1, 80, 80, 4], dtype=FLOAT32 + box_s8: shape=[1, 80, 80, 4], dtype=FLOAT32 + cls_s16: shape=[1, 40, 40, 4], dtype=FLOAT32 + box_s16: shape=[1, 40, 40, 4], dtype=FLOAT32 + cls_s32: shape=[1, 20, 20, 4], dtype=FLOAT32 + box_s32: shape=[1, 20, 20, 4], dtype=FLOAT32 +2026-08-07 10:39:58,982 file: model_builder.py func: model_builder line No: 38 End to prepare the onnx model. +2026-08-07 10:39:59,024 file: model_builder.py func: model_builder line No: 265 Saving model to: best_bpu_bayese_640x640_nv12_original_float_model.onnx. +2026-08-07 10:39:59,025 file: model_builder.py func: model_builder line No: 35 Start to optimize the onnx model. +2026-08-07 10:39:59,210 file: constant_folding.py func: constant_folding line No: 66 Summary info for constant_folding: +2026-08-07 10:39:59,210 file: constant_folding.py func: constant_folding line No: 67 After constant_folding, the number of nodes has changed from 356 to 356. +2026-08-07 10:39:59,210 file: constant_folding.py func: constant_folding line No: 71 After constant_folding, the number of parameters has changed from 2375641 to 2375641. +2026-08-07 10:39:59,210 file: constant_folding.py func: constant_folding line No: 76 Detailed info for constant_folding: +2026-08-07 10:39:59,211 file: constant_folding.py func: constant_folding line No: 88 +2026-08-07 10:39:59,714 file: model_builder.py func: model_builder line No: 38 End to optimize the onnx model. +2026-08-07 10:39:59,751 file: model_builder.py func: model_builder line No: 265 Saving model to: best_bpu_bayese_640x640_nv12_optimized_float_model.onnx. +2026-08-07 10:39:59,752 file: model_builder.py func: model_builder line No: 35 Start to calibrate the model. +2026-08-07 10:40:00,033 file: calibration_data_set.py func: calibration_data_set line No: 111 input name: images, number_of_samples: 50 +2026-08-07 10:40:00,033 file: calibration_data_set.py func: calibration_data_set line No: 123 There are 50 samples in the data set. +2026-08-07 10:40:00,034 file: infer_thresholds.py func: infer_thresholds line No: 84 Run calibration model with modelwise search method. +2026-08-07 10:40:00,536 file: base.py func: base line No: 138 Calibration using batch 8 +2026-08-07 10:40:05,981 file: ort.py func: ort line No: 207 Reset batch_size=1 and execute forward again... +2026-08-07 10:46:16,933 file: base.py func: base line No: 138 Calibration using batch 8 +2026-08-07 10:46:18,673 file: ort.py func: ort line No: 207 Reset batch_size=1 and execute forward again... +2026-08-07 10:46:36,389 file: base.py func: base line No: 138 Calibration using batch 8 +2026-08-07 10:46:41,254 file: ort.py func: ort line No: 207 Reset batch_size=1 and execute forward again... +2026-08-07 10:53:54,824 file: modelwise_search.py func: modelwise_search line No: 75 Select max-percentile:percentile=0.99995 method. +2026-08-07 10:53:55,891 file: model_builder.py func: model_builder line No: 38 End to calibrate the model. +2026-08-07 10:53:56,028 file: model_builder.py func: model_builder line No: 265 Saving model to: best_bpu_bayese_640x640_nv12_calibrated_model.onnx. +2026-08-07 10:53:56,028 file: model_builder.py func: model_builder line No: 35 Start to quantize the model. +2026-08-07 10:53:58,869 file: constant_folding.py func: constant_folding line No: 66 Summary info for constant_folding: +2026-08-07 10:53:58,869 file: constant_folding.py func: constant_folding line No: 67 After constant_folding, the number of nodes has changed from 309 to 309. +2026-08-07 10:53:58,869 file: constant_folding.py func: constant_folding line No: 71 After constant_folding, the number of parameters has changed from 2407371 to 2407371. +2026-08-07 10:53:58,870 file: constant_folding.py func: constant_folding line No: 76 Detailed info for constant_folding: +2026-08-07 10:53:58,870 file: constant_folding.py func: constant_folding line No: 88 +2026-08-07 10:53:59,227 file: model_builder.py func: model_builder line No: 38 End to quantize the model. +2026-08-07 10:53:59,354 file: model_builder.py func: model_builder line No: 265 Saving model to: best_bpu_bayese_640x640_nv12_quantized_model.onnx. +2026-08-07 10:53:59,355 file: model_builder.py func: model_builder line No: 35 Start to compile the model with march bayes-e. +2026-08-07 10:54:00,099 file: hybrid_build.py func: hybrid_build line No: 111 Compile submodel: Extracted from {main_graph}_subgraph_0 +2026-08-07 10:54:00,148 file: hbdk_cc.py func: hbdk_cc line No: 126 hbdk-cc parameters:['--O3', '--debug', '--core-num', '1', '--fast', '--jobs', '8', '--input-layout', 'NHWC', '--output-layout', 'NHWC', '--input-source', 'pyramid'] +2026-08-07 10:54:00,149 file: hbdk_cc.py func: hbdk_cc line No: 127 hbdk-cc command used:hbdk-cc -f hbir -m /tmp/tmpn1xm3lyk/Extracted from {main_graph}_subgraph_0.hbir -o /tmp/tmpn1xm3lyk/Extracted from {main_graph}_subgraph_0.hbm --march bayes-e --progressbar --O3 --debug --core-num 1 --fast --jobs 8 --input-layout NHWC --output-layout NHWC --input-source pyramid +2026-08-07 10:59:35,665 file: tool_utils.py func: tool_utils line No: 326 consumed time 335.296 +2026-08-07 10:59:35,998 file: tool_utils.py func: tool_utils line No: 326 FPS=112.19, latency = 8913.1 us, DDR = 20676096 bytes (see Extracted from {main_graph}_subgraph_0.html) +2026-08-07 10:59:36,279 file: model_builder.py func: model_builder line No: 38 End to compile the model with march bayes-e. +2026-08-07 10:59:40,750 file: print_info_dict.py func: print_info_dict line No: 72 The main quantized node information: +====================================================================================================================================== +Node ON Subgraph Type Cosine Similarity Threshold DataType +-------------------------------------------------------------------------------------------------------------------------------------- +HZ_PREPROCESS_FOR_images BPU id(0) HzSQuantizedPreprocess 1.000036 127.0 int8 +/model.0/conv/Conv BPU id(0) HzSQuantizedConv 0.999420 1.01336 int8 +/model.0/act/Mul BPU id(0) HzLut 0.999356 41.2085 int8 +/model.1/conv/Conv BPU id(0) HzSQuantizedConv 0.994858 34.6575 int8 +/model.1/act/Mul BPU id(0) HzLut 0.994586 77.3055 int8 +/model.2/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.988316 61.1196 int8 +/model.2/cv1/act/Mul BPU id(0) HzLut 0.988277 58.76 int8 +/model.2/Split BPU id(0) Split 0.987462 41.5502 int8 +/model.2/m.0/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.997807 41.5502 int8 +/model.2/m.0/cv1/act/Mul BPU id(0) HzLut 0.997295 6.48102 int8 +/model.2/m.0/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.979294 4.49225 int8 +/model.2/m.0/cv2/act/Mul BPU id(0) HzLut 0.984540 38.6259 int8 +/model.2/m.0/Add BPU id(0) HzSElementwiseAdd 0.989001 41.5502 int8 +/model.2/Split_output_0_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +/model.2/Split_output_1_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +/model.2/Concat BPU id(0) Concat 0.988635 41.5502 int8 +/model.2/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.984512 42.3831 int8 +/model.2/cv2/act/Mul BPU id(0) HzLut 0.983102 46.6969 int8 +/model.3/conv/Conv BPU id(0) HzSQuantizedConv 0.990522 13.5453 int8 +/model.3/act/Mul BPU id(0) HzLut 0.994629 8.41636 int8 +/model.4/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.993375 7.23656 int8 +/model.4/cv1/act/Mul BPU id(0) HzLut 0.993696 6.07195 int8 +/model.4/Split BPU id(0) Split 0.992764 4.76361 int8 +/model.4/m.0/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.993655 4.76361 int8 +/model.4/m.0/cv1/act/Mul BPU id(0) HzLut 0.994053 4.97631 int8 +/model.4/m.0/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.994427 4.93203 int8 +/model.4/m.0/cv2/act/Mul BPU id(0) HzLut 0.994242 5.89425 int8 +/model.4/m.0/Add BPU id(0) HzSElementwiseAdd 0.996519 4.76361 int8 +/model.4/Split_output_0_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +/model.4/Split_output_1_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +/model.4/Concat BPU id(0) Concat 0.995726 4.76361 int8 +/model.4/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.986882 6.03048 int8 +/model.4/cv2/act/Mul BPU id(0) HzLut 0.984009 5.65269 int8 +/model.5/conv/Conv BPU id(0) HzSQuantizedConv 0.993324 3.11747 int8 +/model.5/act/Mul BPU id(0) HzLut 0.995369 5.72607 int8 +/model.6/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.989999 5.04224 int8 +/model.6/cv1/act/Mul BPU id(0) HzLut 0.991192 7.17241 int8 +/model.6/Split BPU id(0) Split 0.991260 4.80649 int8 +/model.6/m.0/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.993373 4.80649 int8 +/model.6/m.0/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.986195 4.80649 int8 +/model.6/m.0/cv1/act/Mul BPU id(0) HzLut 0.994111 3.73626 int8 +/model.6/m.0/cv2/act/Mul BPU id(0) HzLut 0.985150 9.58291 int8 +/model.6/m.0/m/m.0/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.991013 3.62476 int8 +/model.6/m.0/m/m.0/cv1/act/Mul BPU id(0) HzLut 0.986674 6.74554 int8 +/model.6/m.0/m/m.0/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.992821 5.26864 int8 +/model.6/m.0/m/m.0/cv2/act/Mul BPU id(0) HzLut 0.993137 5.39304 int8 +/model.6/m.0/m/m.0/Add BPU id(0) HzSElementwiseAdd 0.994573 3.62476 int8 +/model.6/m.0/m/m.1/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.993472 4.86168 int8 +/model.6/m.0/m/m.1/cv1/act/Mul BPU id(0) HzLut 0.992689 6.3859 int8 +/model.6/m.0/m/m.1/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.998122 5.83982 int8 +/model.6/m.0/m/m.1/cv2/act/Mul BPU id(0) HzLut 0.998130 9.77582 int8 +/model.6/m.0/m/m.1/Add BPU id(0) HzSElementwiseAdd 0.998146 4.86168 int8 +/model.6/m.0/Concat BPU id(0) Concat 0.997356 10.3462 int8 +/model.6/m.0/cv3/conv/Conv BPU id(0) HzSQuantizedConv 0.993489 10.3462 int8 +/model.6/m.0/cv3/act/Mul BPU id(0) HzLut 0.993455 7.45905 int8 +/model.6/Split_output_0_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +/model.6/Split_output_1_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +/model.6/Concat BPU id(0) Concat 0.991860 4.80649 int8 +/model.6/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.993102 5.02755 int8 +/model.6/cv2/act/Mul BPU id(0) HzLut 0.990361 5.64807 int8 +/model.7/conv/Conv BPU id(0) HzSQuantizedConv 0.995391 4.31525 int8 +/model.7/act/Mul BPU id(0) HzLut 0.994359 7.36703 int8 +/model.8/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.994277 4.54333 int8 +/model.8/cv1/act/Mul BPU id(0) HzLut 0.992696 7.17016 int8 +/model.8/Split BPU id(0) Split 0.992823 5.70526 int8 +/model.8/m.0/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.996304 5.70526 int8 +/model.8/m.0/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.990640 5.70526 int8 +/model.8/m.0/cv1/act/Mul BPU id(0) HzLut 0.995520 4.21313 int8 +/model.8/m.0/cv2/act/Mul BPU id(0) HzLut 0.988557 7.71699 int8 +/model.8/m.0/m/m.0/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.997284 3.9048 int8 +/model.8/m.0/m/m.0/cv1/act/Mul BPU id(0) HzLut 0.995017 7.82275 int8 +/model.8/m.0/m/m.0/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.997509 7.27338 int8 +/model.8/m.0/m/m.0/cv2/act/Mul BPU id(0) HzLut 0.997249 7.33082 int8 +/model.8/m.0/m/m.0/Add BPU id(0) HzSElementwiseAdd 0.996879 3.9048 int8 +/model.8/m.0/m/m.1/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.997167 7.49653 int8 +/model.8/m.0/m/m.1/cv1/act/Mul BPU id(0) HzLut 0.996851 8.25873 int8 +/model.8/m.0/m/m.1/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.998135 6.03099 int8 +/model.8/m.0/m/m.1/cv2/act/Mul BPU id(0) HzLut 0.998254 10.5517 int8 +/model.8/m.0/m/m.1/Add BPU id(0) HzSElementwiseAdd 0.998381 7.49653 int8 +/model.8/m.0/Concat BPU id(0) Concat 0.997609 11.6159 int8 +/model.8/m.0/cv3/conv/Conv BPU id(0) HzSQuantizedConv 0.996679 11.6159 int8 +/model.8/m.0/cv3/act/Mul BPU id(0) HzLut 0.996159 6.92246 int8 +/model.8/Split_output_0_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +/model.8/Split_output_1_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +/model.8/Concat BPU id(0) Concat 0.994004 5.70526 int8 +/model.8/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.997247 5.78612 int8 +/model.8/cv2/act/Mul BPU id(0) HzLut 0.996791 6.22125 int8 +/model.9/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.993064 4.67106 int8 +/model.9/m/MaxPool BPU id(0) HzQuantizedMaxPool 0.997418 9.42579 int8 +/model.9/m_1/MaxPool BPU id(0) HzQuantizedMaxPool 0.998335 9.42579 int8 +/model.9/m_2/MaxPool BPU id(0) HzQuantizedMaxPool 0.998701 9.42579 int8 +/model.9/Concat BPU id(0) Concat 0.997993 9.42579 int8 +/model.9/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.997652 9.42579 int8 +/model.9/cv2/act/Mul BPU id(0) HzLut 0.994045 8.49893 int8 +/model.9/Add BPU id(0) HzSElementwiseAdd 0.996028 5.19398 int8 +/model.10/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.994108 5.83835 int8 +/model.10/cv1/act/Mul BPU id(0) HzLut 0.994353 8.82042 int8 +/model.10/Split BPU id(0) Split 0.991083 7.54646 int8 +/model.10/m/m.0/attn/qkv/conv/Conv BPU id(0) HzSQuantizedConv 0.992373 7.54646 int8 +/model.10/m/m.0/attn/Reshape BPU id(0) Reshape 0.992373 8.119 int8 +/model.10/m/m.0/attn/Split BPU id(0) Split 0.995160 8.119 int8 +/model.10/m/m.0/attn/Mul BPU id(0) HzSQuantizedConv 0.995104 8.119 int8 +/model.10/m/m.0/attn/Reshape_2 BPU id(0) Reshape 0.991116 8.119 int8 +/model.10/m/m.0/attn/Transpose BPU id(0) Transpose 0.995105 0.911441 int8 +/model.10/m/m.0/attn/MatMul BPU id(0) HzSQuantizedMatmul 0.995910 0.911441 int8 +...0/attn/Softmax_reducemax_FROM_QUANTIZED_SOFTMAX BPU id(0) HzQuantizedReduceMax 0.999018 12.2527 int8 +...0/m/m.0/attn/Softmax_sub_FROM_QUANTIZED_SOFTMAX BPU id(0) HzSElementwiseSub 0.944868 12.2527 int8 +...0/m/m.0/attn/Softmax_exp_FROM_QUANTIZED_SOFTMAX BPU id(0) HzLut 0.984749 5.64418 int8 +...0/attn/Softmax_reducesum_FROM_QUANTIZED_SOFTMAX BPU id(0) HzSQuantizedReduceSum 0.993399 1.0 int8 +.../attn/Softmax_reciprocal_FROM_QUANTIZED_SOFTMAX BPU id(0) HzLut 0.983322 207.972 int8 +...0/m/m.0/attn/Softmax_mul_FROM_QUANTIZED_SOFTMAX BPU id(0) HzSElementwiseMul 0.979322 1.0 int8 +/model.10/m/m.0/attn/Transpose_1 BPU id(0) Transpose 0.979315 0.208394 int8 +/model.10/m/m.0/attn/MatMul_1 BPU id(0) HzSQuantizedMatmul 0.986326 8.119 int8 +/model.10/m/m.0/attn/Reshape_1 BPU id(0) Reshape 0.986326 6.74763 int8 +/model.10/m/m.0/attn/pe/conv/Conv BPU id(0) HzSQuantizedConv 0.987866 8.119 int8 +/model.10/m/m.0/attn/proj/conv/Conv BPU id(0) HzSQuantizedConv 0.972852 5.45386 int8 +/model.10/m/m.0/ffn/ffn.0/conv/Conv BPU id(0) HzSQuantizedConv 0.997112 7.28631 int8 +/model.10/m/m.0/ffn/ffn.0/act/Mul BPU id(0) HzLut 0.995281 6.09157 int8 +/model.10/m/m.0/ffn/ffn.1/conv/Conv BPU id(0) HzSQuantizedConv 0.962171 2.35477 int8 +/model.10/Split_output_0_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +/model.10/Concat BPU id(0) Concat 0.987183 7.54646 int8 +/model.10/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.994216 7.80393 int8 +/model.10/cv2/act/Mul BPU id(0) HzLut 0.985009 9.20764 int8 +/model.11/Resize BPU id(0) HzQuantizedResizeUpsample 0.985121 6.38025 int8 +/model.11/Resize_output_0_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +...el.6/cv2/act/Mul_output_0_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +/model.12/Concat BPU id(0) Concat 0.985989 6.38025 int8 +/model.13/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.989979 5.98782 int8 +/model.13/cv1/act/Mul BPU id(0) HzLut 0.990556 6.54691 int8 +/model.13/Split BPU id(0) Split 0.991098 4.74548 int8 +/model.13/m.0/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.983283 4.74548 int8 +/model.13/m.0/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.982005 4.74548 int8 +/model.13/m.0/cv1/act/Mul BPU id(0) HzLut 0.982556 3.17934 int8 +/model.13/m.0/cv2/act/Mul BPU id(0) HzLut 0.976270 7.26857 int8 +/model.13/m.0/m/m.0/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.975905 2.79956 int8 +/model.13/m.0/m/m.0/cv1/act/Mul BPU id(0) HzLut 0.963430 6.14238 int8 +/model.13/m.0/m/m.0/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.975685 4.78456 int8 +/model.13/m.0/m/m.0/cv2/act/Mul BPU id(0) HzLut 0.978614 6.78521 int8 +/model.13/m.0/m/m.0/Add BPU id(0) HzSElementwiseAdd 0.980074 2.79956 int8 +/model.13/m.0/m/m.1/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.973039 7.64293 int8 +/model.13/m.0/m/m.1/cv1/act/Mul BPU id(0) HzLut 0.964364 5.96029 int8 +/model.13/m.0/m/m.1/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.990541 4.29817 int8 +/model.13/m.0/m/m.1/cv2/act/Mul BPU id(0) HzLut 0.990215 8.55439 int8 +/model.13/m.0/m/m.1/Add BPU id(0) HzSElementwiseAdd 0.991257 7.64293 int8 +/model.13/m.0/Concat BPU id(0) Concat 0.990729 11.0968 int8 +/model.13/m.0/cv3/conv/Conv BPU id(0) HzSQuantizedConv 0.968278 11.0968 int8 +/model.13/m.0/cv3/act/Mul BPU id(0) HzLut 0.954794 7.18235 int8 +/model.13/Split_output_0_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +/model.13/Split_output_1_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +/model.13/Concat BPU id(0) Concat 0.982025 4.74548 int8 +/model.13/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.980723 5.11903 int8 +/model.13/cv2/act/Mul BPU id(0) HzLut 0.974762 7.49102 int8 +/model.14/Resize BPU id(0) HzQuantizedResizeUpsample 0.974785 5.99656 int8 +/model.14/Resize_output_0_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +...el.4/cv2/act/Mul_output_0_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +/model.15/Concat BPU id(0) Concat 0.977316 5.99656 int8 +/model.16/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.990095 5.73912 int8 +/model.16/cv1/act/Mul BPU id(0) HzLut 0.992167 4.04101 int8 +/model.16/Split BPU id(0) Split 0.993017 3.8716 int8 +/model.16/m.0/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.985172 3.8716 int8 +/model.16/m.0/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.985501 3.8716 int8 +/model.16/m.0/cv1/act/Mul BPU id(0) HzLut 0.989360 1.83598 int8 +/model.16/m.0/cv2/act/Mul BPU id(0) HzLut 0.987262 5.85223 int8 +/model.16/m.0/m/m.0/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.958495 1.56502 int8 +/model.16/m.0/m/m.0/cv1/act/Mul BPU id(0) HzLut 0.962332 5.35932 int8 +/model.16/m.0/m/m.0/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.950040 5.29731 int8 +/model.16/m.0/m/m.0/cv2/act/Mul BPU id(0) HzLut 0.953116 6.3569 int8 +/model.16/m.0/m/m.0/Add BPU id(0) HzSElementwiseAdd 0.963347 1.56502 int8 +/model.16/m.0/m/m.1/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.964610 6.36076 int8 +/model.16/m.0/m/m.1/cv1/act/Mul BPU id(0) HzLut 0.977967 6.51813 int8 +/model.16/m.0/m/m.1/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.982150 4.79099 int8 +/model.16/m.0/m/m.1/cv2/act/Mul BPU id(0) HzLut 0.984414 14.0709 int8 +/model.16/m.0/m/m.1/Add BPU id(0) HzSElementwiseAdd 0.983990 6.36076 int8 +/model.16/m.0/Concat BPU id(0) Concat 0.984136 14.4058 int8 +/model.16/m.0/cv3/conv/Conv BPU id(0) HzSQuantizedConv 0.957334 14.4058 int8 +/model.16/m.0/cv3/act/Mul BPU id(0) HzLut 0.965743 8.3484 int8 +/model.16/Split_output_0_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +/model.16/Split_output_1_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +/model.16/Concat BPU id(0) Concat 0.977148 3.8716 int8 +/model.16/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.964487 7.16826 int8 +/model.16/cv2/act/Mul BPU id(0) HzLut 0.978834 11.6113 int8 +/model.17/conv/Conv BPU id(0) HzSQuantizedConv 0.950695 5.13052 int8 +/model.23/one2one_cv2.0/one2one_cv2.0.0/conv/Conv BPU id(0) HzSQuantizedConv 0.984795 5.13052 int8 +...3.0/one2one_cv3.0.0/one2one_cv3.0.0.0/conv/Conv BPU id(0) HzSQuantizedConv 0.987580 5.13052 int8 +/model.17/act/Mul BPU id(0) HzLut 0.930396 6.96564 int8 +/model.23/one2one_cv2.0/one2one_cv2.0.0/act/Mul BPU id(0) HzLut 0.985999 13.2136 int8 +...cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.0/act/Mul BPU id(0) HzLut 0.987856 20.7502 int8 +/model.18/Concat BPU id(0) Concat 0.951447 5.99656 int8 +/model.23/one2one_cv2.0/one2one_cv2.0.1/conv/Conv BPU id(0) HzSQuantizedConv 0.967557 13.1305 int8 +...3.0/one2one_cv3.0.0/one2one_cv3.0.0.1/conv/Conv BPU id(0) HzSQuantizedConv 0.970183 20.7502 int8 +/model.19/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.958548 5.99656 int8 +/model.23/one2one_cv2.0/one2one_cv2.0.1/act/Mul BPU id(0) HzLut 0.963802 8.27278 int8 +...cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.1/act/Mul BPU id(0) HzLut 0.923001 13.7487 int8 +/model.19/cv1/act/Mul BPU id(0) HzLut 0.949418 7.41047 int8 +/model.23/one2one_cv2.0/one2one_cv2.0.2/Conv BPU id(0) HzSQuantizedConv 0.989597 3.2914 int8 +...3.0/one2one_cv3.0.1/one2one_cv3.0.1.0/conv/Conv BPU id(0) HzSQuantizedConv 0.899571 5.69178 int8 +/model.19/Split BPU id(0) Split 0.948781 7.20437 int8 +/model.19/m.0/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.970307 7.20437 int8 +/model.19/m.0/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.937324 7.20437 int8 +...cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.0/act/Mul BPU id(0) HzLut 0.920887 22.5675 int8 +...3.0/one2one_cv3.0.1/one2one_cv3.0.1.1/conv/Conv BPU id(0) HzSQuantizedConv 0.846682 19.8505 int8 +/model.19/m.0/cv1/act/Mul BPU id(0) HzLut 0.970815 3.30193 int8 +/model.19/m.0/cv2/act/Mul BPU id(0) HzLut 0.932735 8.42875 int8 +/model.19/m.0/m/m.0/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.944274 2.30525 int8 +...cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.1/act/Mul BPU id(0) HzLut 0.889765 45.4591 int8 +/model.23/one2one_cv3.0/one2one_cv3.0.2/Conv BPU id(0) HzSQuantizedConv 0.985422 25.4721 int8 +/model.19/m.0/m/m.0/cv1/act/Mul BPU id(0) HzLut 0.927633 6.60601 int8 +/model.19/m.0/m/m.0/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.960524 4.80511 int8 +/model.19/m.0/m/m.0/cv2/act/Mul BPU id(0) HzLut 0.966209 5.54187 int8 +/model.19/m.0/m/m.0/Add BPU id(0) HzSElementwiseAdd 0.971696 2.30525 int8 +/model.19/m.0/m/m.1/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.955401 4.53885 int8 +/model.19/m.0/m/m.1/cv1/act/Mul BPU id(0) HzLut 0.947777 6.86006 int8 +/model.19/m.0/m/m.1/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.970424 5.40825 int8 +/model.19/m.0/m/m.1/cv2/act/Mul BPU id(0) HzLut 0.974251 17.3934 int8 +/model.19/m.0/m/m.1/Add BPU id(0) HzSElementwiseAdd 0.976167 4.53885 int8 +/model.19/m.0/Concat BPU id(0) Concat 0.973390 17.7831 int8 +/model.19/m.0/cv3/conv/Conv BPU id(0) HzSQuantizedConv 0.953354 17.7831 int8 +/model.19/m.0/cv3/act/Mul BPU id(0) HzLut 0.957748 23.7055 int8 +/model.19/Split_output_0_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +/model.19/Split_output_1_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +/model.19/Concat BPU id(0) Concat 0.955178 7.20437 int8 +/model.19/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.962929 8.93029 int8 +/model.19/cv2/act/Mul BPU id(0) HzLut 0.963644 20.8501 int8 +/model.20/conv/Conv BPU id(0) HzSQuantizedConv 0.955497 5.21277 int8 +/model.23/one2one_cv2.1/one2one_cv2.1.0/conv/Conv BPU id(0) HzSQuantizedConv 0.980611 5.21277 int8 +...3.1/one2one_cv3.1.0/one2one_cv3.1.0.0/conv/Conv BPU id(0) HzSQuantizedConv 0.985661 5.21277 int8 +/model.20/act/Mul BPU id(0) HzLut 0.944386 8.21266 int8 +/model.23/one2one_cv2.1/one2one_cv2.1.0/act/Mul BPU id(0) HzLut 0.983325 10.9868 int8 +...cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.0/act/Mul BPU id(0) HzLut 0.985446 14.8115 int8 +/model.21/Concat BPU id(0) Concat 0.966577 6.38025 int8 +/model.23/one2one_cv2.1/one2one_cv2.1.1/conv/Conv BPU id(0) HzSQuantizedConv 0.969078 10.9866 int8 +...3.1/one2one_cv3.1.0/one2one_cv3.1.0.1/conv/Conv BPU id(0) HzSQuantizedConv 0.955590 14.8019 int8 +/model.22/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.977936 6.38025 int8 +/model.23/one2one_cv2.1/one2one_cv2.1.1/act/Mul BPU id(0) HzLut 0.971563 8.51278 int8 +...cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.1/act/Mul BPU id(0) HzLut 0.915471 9.17167 int8 +/model.22/cv1/act/Mul BPU id(0) HzLut 0.969077 8.71571 int8 +/model.23/one2one_cv2.1/one2one_cv2.1.2/Conv BPU id(0) HzSQuantizedConv 0.993338 3.25176 int8 +...3.1/one2one_cv3.1.1/one2one_cv3.1.1.0/conv/Conv BPU id(0) HzSQuantizedConv 0.926187 6.95271 int8 +/model.22/Split BPU id(0) Split 0.965075 8.30991 int8 +/model.22/m.0/m.0.0/cv1/conv/Conv BPU id(0) HzSQuantizedConv 0.985673 8.30991 int8 +...cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.0/act/Mul BPU id(0) HzLut 0.938265 25.5892 int8 +...3.1/one2one_cv3.1.1/one2one_cv3.1.1.1/conv/Conv BPU id(0) HzSQuantizedConv 0.903565 18.7127 int8 +/model.22/m.0/m.0.0/cv1/act/Mul BPU id(0) HzLut 0.988338 7.48295 int8 +/model.22/m.0/m.0.0/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.990393 6.61468 int8 +...cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.1/act/Mul BPU id(0) HzLut 0.907712 45.6837 int8 +/model.23/one2one_cv3.1/one2one_cv3.1.2/Conv BPU id(0) HzSQuantizedConv 0.989395 42.1331 int8 +/model.22/m.0/m.0.0/cv2/act/Mul BPU id(0) HzLut 0.991100 9.21495 int8 +/model.22/m.0/m.0.0/Add BPU id(0) HzSElementwiseAdd 0.990157 8.30991 int8 +/model.22/m.0/m.0.1/attn/qkv/conv/Conv BPU id(0) HzSQuantizedConv 0.987827 8.53935 int8 +/model.22/m.0/m.0.1/attn/Reshape BPU id(0) Reshape 0.987827 8.32244 int8 +/model.22/m.0/m.0.1/attn/Split BPU id(0) Split 0.989705 8.32244 int8 +/model.22/m.0/m.0.1/attn/Mul BPU id(0) HzSQuantizedConv 0.989628 8.32244 int8 +/model.22/m.0/m.0.1/attn/Reshape_2 BPU id(0) Reshape 0.986348 8.32244 int8 +/model.22/m.0/m.0.1/attn/Transpose BPU id(0) Transpose 0.989628 1.12781 int8 +/model.22/m.0/m.0.1/attn/MatMul BPU id(0) HzSQuantizedMatmul 0.982834 1.12781 int8 +...1/attn/Softmax_reducemax_FROM_QUANTIZED_SOFTMAX BPU id(0) HzQuantizedReduceMax 0.998106 24.718 int8 +...0/m.0.1/attn/Softmax_sub_FROM_QUANTIZED_SOFTMAX BPU id(0) HzSElementwiseSub 0.944814 24.718 int8 +...0/m.0.1/attn/Softmax_exp_FROM_QUANTIZED_SOFTMAX BPU id(0) HzLut 0.932880 5.64418 int8 +...1/attn/Softmax_reducesum_FROM_QUANTIZED_SOFTMAX BPU id(0) HzSQuantizedReduceSum 0.963200 1.0 int8 +.../attn/Softmax_reciprocal_FROM_QUANTIZED_SOFTMAX BPU id(0) HzLut 0.976782 138.664 int8 +...0/m.0.1/attn/Softmax_mul_FROM_QUANTIZED_SOFTMAX BPU id(0) HzSElementwiseMul 0.973404 1.0 int8 +/model.22/m.0/m.0.1/attn/Transpose_1 BPU id(0) Transpose 0.973389 0.703209 int8 +/model.22/m.0/m.0.1/attn/MatMul_1 BPU id(0) HzSQuantizedMatmul 0.981709 8.32244 int8 +/model.22/m.0/m.0.1/attn/Reshape_1 BPU id(0) Reshape 0.981709 7.78857 int8 +/model.22/m.0/m.0.1/attn/pe/conv/Conv BPU id(0) HzSQuantizedConv 0.981477 8.32244 int8 +/model.22/m.0/m.0.1/attn/proj/conv/Conv BPU id(0) HzSQuantizedConv 0.981540 7.95935 int8 +/model.22/m.0/m.0.1/ffn/ffn.0/conv/Conv BPU id(0) HzSQuantizedConv 0.990591 9.51949 int8 +/model.22/m.0/m.0.1/ffn/ffn.0/act/Mul BPU id(0) HzLut 0.979219 14.447 int8 +/model.22/m.0/m.0.1/ffn/ffn.1/conv/Conv BPU id(0) HzSQuantizedConv 0.980551 7.85633 int8 +/model.22/Split_output_0_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +/model.22/Split_output_1_calibrated_Requantize BPU id(0) HzRequantize -- -- int8 +/model.22/Concat BPU id(0) Concat 0.981000 8.30991 int8 +/model.22/cv2/conv/Conv BPU id(0) HzSQuantizedConv 0.990501 9.72894 int8 +/model.22/cv2/act/Mul BPU id(0) HzLut 0.990327 15.4476 int8 +/model.23/one2one_cv2.2/one2one_cv2.2.0/conv/Conv BPU id(0) HzSQuantizedConv 0.997510 11.1421 int8 +...3.2/one2one_cv3.2.0/one2one_cv3.2.0.0/conv/Conv BPU id(0) HzSQuantizedConv 0.987130 11.1421 int8 +/model.23/one2one_cv2.2/one2one_cv2.2.0/act/Mul BPU id(0) HzLut 0.998104 7.45722 int8 +...cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.0/act/Mul BPU id(0) HzLut 0.986272 13.8882 int8 +/model.23/one2one_cv2.2/one2one_cv2.2.1/conv/Conv BPU id(0) HzSQuantizedConv 0.994880 7.45292 int8 +...3.2/one2one_cv3.2.0/one2one_cv3.2.0.1/conv/Conv BPU id(0) HzSQuantizedConv 0.985228 12.588 int8 +/model.23/one2one_cv2.2/one2one_cv2.2.1/act/Mul BPU id(0) HzLut 0.994962 7.15209 int8 +...cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.1/act/Mul BPU id(0) HzLut 0.980727 9.08317 int8 +/model.23/one2one_cv2.2/one2one_cv2.2.2/Conv BPU id(0) HzSQuantizedConv 0.999024 7.06212 int8 +...3.2/one2one_cv3.2.1/one2one_cv3.2.1.0/conv/Conv BPU id(0) HzSQuantizedConv 0.980994 7.83007 int8 +...cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.0/act/Mul BPU id(0) HzLut 0.981529 23.5955 int8 +...3.2/one2one_cv3.2.1/one2one_cv3.2.1.1/conv/Conv BPU id(0) HzSQuantizedConv 0.979626 20.3248 int8 +...cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.1/act/Mul BPU id(0) HzLut 0.978119 35.9431 int8 +/model.23/one2one_cv3.2/one2one_cv3.2.2/Conv BPU id(0) HzSQuantizedConv 0.998478 21.8894 int8 +2026-08-07 10:59:40,751 file: print_info_dict.py func: print_info_dict line No: 72 The quantized model output: +============================================================================= +Output Cosine Similarity L1 Distance L2 Distance Chebyshev Distance +----------------------------------------------------------------------------- +cls_s8 0.985422 2.081548 0.024582 73.135422 +box_s8 0.989597 0.201690 0.002376 4.414954 +cls_s16 0.989395 1.614797 0.035827 35.102242 +box_s16 0.993338 0.194142 0.004491 3.120226 +cls_s32 0.998478 0.769498 0.025959 5.004253 +box_s32 0.999024 0.123850 0.004851 0.863881 +2026-08-07 10:59:40,763 file: model_builder.py func: model_builder line No: 38 End to Horizon NN Model Convert. +2026-08-07 10:59:40,780 file: hb_mapper_makertbin.py func: hb_mapper_makertbin line No: 601 start convert to *.bin file.... +2026-08-07 10:59:41,033 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4326 ONNX model output num : 6 +2026-08-07 10:59:41,037 file: layout_util.py func: layout_util line No: 15 set_featuremap_layout start +2026-08-07 10:59:41,038 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4060 model_deps_info: {'hb_mapper_version': '1.24.3', 'hbdk_version': '3.49.15', 'hbdk_runtime_version': ' 3.15.55.0', 'horizon_nn_version': '1.1.0', 'onnx_model': '/workspace/smart_car_2026/model/x5_quantization/best_bpu.onnx', 'march': 'bayes-e', 'layer_out_dump': False, 'log_level': 'DEBUG', 'working_dir': '/workspace/smart_car_2026/model/x5_quantization/mapper_output_bpu', 'model_prefix': 'best_bpu_bayese_640x640_nv12', 'input_names': ['images'], 'input_type_rt': ['nv12'], 'input_space_and_range': ['regular'], 'input_type_train': ['rgb'], 'input_layout_rt': [''], 'input_layout_train': ['NCHW'], 'norm_type': ['data_scale'], 'scale_value': ['0.003921568627451,'], 'mean_value': [''], 'input_shape': ['1x3x640x640'], 'input_batch': [], 'cal_dir': ['/workspace/smart_car_2026/model/x5_quantization/calibration_data'], 'cal_data_type': ['float32'], 'preprocess_on': False, 'calibration_type': 'default', 'per_channel': 'False', 'optimization': ['set_Softmax_input_int8,set_Softmax_output_int8'], 'hbdk_params': {'hbdk_pass_through_params': '--O3 --debug --core-num 1 --fast --jobs 8 ', 'input-source': {'images': 'pyramid', '_default_value': 'ddr'}}, 'debug': True, 'compile_mode': 'latency'} +2026-08-07 10:59:41,040 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4183 ############# model deps info ############# +2026-08-07 10:59:41,041 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4184 hb_mapper version : 1.24.3 +2026-08-07 10:59:41,041 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4187 hbdk version : 3.49.15 +2026-08-07 10:59:41,042 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4189 hbdk runtime version: 3.15.55.0 +2026-08-07 10:59:41,042 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4192 horizon_nn version : 1.1.0 +2026-08-07 10:59:41,043 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4196 ############# model_parameters info ############# +2026-08-07 10:59:41,044 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4202 onnx_model : /workspace/smart_car_2026/model/x5_quantization/best_bpu.onnx +2026-08-07 10:59:41,044 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4203 BPU march : bayes-e +2026-08-07 10:59:41,044 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4204 layer_out_dump : False +2026-08-07 10:59:41,045 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4205 log_level : DEBUG +2026-08-07 10:59:41,045 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4206 working dir : /workspace/smart_car_2026/model/x5_quantization/mapper_output_bpu +2026-08-07 10:59:41,045 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4207 output_model_file_prefix: best_bpu_bayese_640x640_nv12 +2026-08-07 10:59:41,046 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4228 ############# input_parameters info ############# +2026-08-07 10:59:41,046 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4246 ------------------------------------------ +2026-08-07 10:59:41,046 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4248 ---------input info : images --------- +2026-08-07 10:59:41,047 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4249 input_name : images +2026-08-07 10:59:41,047 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4250 input_type_rt : nv12 +2026-08-07 10:59:41,047 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4252 input_space&range : regular +2026-08-07 10:59:41,048 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4254 input_layout_rt : None +2026-08-07 10:59:41,048 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4255 input_type_train : rgb +2026-08-07 10:59:41,048 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4256 input_layout_train : NCHW +2026-08-07 10:59:41,049 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4257 norm_type : data_scale +2026-08-07 10:59:41,049 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4258 input_shape : 1x3x640x640 +2026-08-07 10:59:41,049 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4266 scale_value : 0.003921568627451, +2026-08-07 10:59:41,050 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4268 cal_data_dir : /workspace/smart_car_2026/model/x5_quantization/calibration_data +2026-08-07 10:59:41,050 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4270 cal_data_type : float32 +2026-08-07 10:59:41,050 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4271 ---------input info : images end ------- +2026-08-07 10:59:41,051 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4272 ------------------------------------------ +2026-08-07 10:59:41,051 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4274 ############# calibration_parameters info ############# +2026-08-07 10:59:41,051 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4275 preprocess_on : False +2026-08-07 10:59:41,051 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4276 calibration_type: : default +2026-08-07 10:59:41,052 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4278 optimization : set_Softmax_input_int8,set_Softmax_output_int8; +2026-08-07 10:59:41,052 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4284 per_channel : False +2026-08-07 10:59:41,052 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4303 ############# compiler_parameters info ############# +2026-08-07 10:59:41,053 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4305 debug : True +2026-08-07 10:59:41,053 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4307 compile_mode : latency +2026-08-07 10:59:41,053 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4310 hbdk_pass_through_params: --O3 --debug --core-num 1 --fast --jobs 8 +2026-08-07 10:59:41,054 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4310 input-source : {'images': 'pyramid', '_default_value': 'ddr'} +2026-08-07 10:59:41,062 file: hb_mapper_makertbin.py func: hb_mapper_makertbin line No: 783 Convert to runtime bin file successfully! +2026-08-07 10:59:41,063 file: hb_mapper_makertbin.py func: hb_mapper_makertbin line No: 784 End Model Convert diff --git a/x5_quantization/mapper_output_bpu/Extracted from {main_graph}_subgraph_0.html b/x5_quantization/mapper_output_bpu/Extracted from {main_graph}_subgraph_0.html new file mode 100644 index 0000000..08613f3 --- /dev/null +++ b/x5_quantization/mapper_output_bpu/Extracted from {main_graph}_subgraph_0.html @@ -0,0 +1,983 @@ + + +Extracted from {main_graph}_subgraph_0 + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/x5_quantization/mapper_output_bpu/Extracted from {main_graph}_subgraph_0.json b/x5_quantization/mapper_output_bpu/Extracted from {main_graph}_subgraph_0.json new file mode 100644 index 0000000..23c7bdb --- /dev/null +++ b/x5_quantization/mapper_output_bpu/Extracted from {main_graph}_subgraph_0.json @@ -0,0 +1,2984 @@ +{ + "summary": { + "BPU OPs per frame (effective)": 5320499200, + "BPU OPs per run (effective)": 5320499200, + "BPU PE number": 1, + "BPU core number": 1, + "BPU march": "B25E", + "DDR bytes per frame": 20676096, + "DDR bytes per run": 20676096, + "DDR bytes per second": 2319742922, + "DDR megabytes per frame": 19.718, + "DDR megabytes per run": 19.718, + "DDR megabytes per second": 2212.3, + "FPS": 112.19, + "HBDK version": "3.49.15", + "compiling options": "-f hbir -m /tmp/tmpn1xm3lyk/Extracted from {main_graph}_subgraph_0.hbir -o /tmp/tmpn1xm3lyk/Extracted from {main_graph}_subgraph_0.hbm --march bayes-e --progressbar --O3 --debug --core-num 1 --fast --jobs 8 --input-layout NHWC --output-layout NHWC --input-source pyramid", + "frame per run": 1, + "frame per second": 112.19, + "input features": [ + [ + "input name", + "input size" + ], + [ + "images", + "1x640x640x3" + ] + ], + "interval computing unit utilization": [ + 0.88, + 0.759, + 0.961, + 0.96, + 0.983, + 0.963, + 0.984, + 0.98, + 0.986, + 0.989, + 0.848, + 0.679, + 0.814, + 0.922, + 0.919, + 0.921, + 0.936, + 0.704, + 0.988, + 0.989, + 0.989, + 0.989, + 0.848, + 0.891, + 0.808, + 0.964, + 0.913, + 0.87, + 0.953, + 0.954, + 0.987, + 0.808, + 0.656, + 0.735, + 0.874, + 0.876, + 0.877, + 0.89, + 0.785, + 0.827, + 0.99, + 0.989, + 0.989, + 0.914, + 0.483 + ], + "interval computing units utilization": [ + 0.88, + 0.759, + 0.961, + 0.96, + 0.983, + 0.963, + 0.984, + 0.98, + 0.986, + 0.989, + 0.848, + 0.679, + 0.814, + 0.922, + 0.919, + 0.921, + 0.936, + 0.704, + 0.988, + 0.989, + 0.989, + 0.989, + 0.848, + 0.891, + 0.808, + 0.964, + 0.913, + 0.87, + 0.953, + 0.954, + 0.987, + 0.808, + 0.656, + 0.735, + 0.874, + 0.876, + 0.877, + 0.89, + 0.785, + 0.827, + 0.99, + 0.989, + 0.989, + 0.914, + 0.483 + ], + "interval loading bandwidth (megabytes/s)": [ + 3217, + 2607, + 1877, + 1030, + 553, + 1727, + 2476, + 1151, + 0, + 0, + 32, + 34, + 655, + 1442, + 1581, + 1585, + 1661, + 3629, + 2795, + 33, + 0, + 0, + 1730, + 2726, + 2503, + 1649, + 279, + 917, + 1215, + 436, + 0, + 7, + 7, + 650, + 1368, + 1437, + 1442, + 1331, + 3316, + 4345, + 1635, + 0, + 0, + 1150, + 1844 + ], + "interval number": 45, + "interval storing bandwidth (megabytes/s)": [ + 3320, + 1953, + 292, + 0, + 1494, + 2294, + 946, + 292, + 146, + 0, + 772, + 2593, + 2815, + 1663, + 1340, + 1342, + 1174, + 503, + 24, + 244, + 441, + 463, + 315, + 73, + 0, + 0, + 244, + 488, + 805, + 717, + 156, + 781, + 3177, + 3618, + 1888, + 1334, + 1360, + 1333, + 1344, + 976, + 273, + 0, + 0, + 0, + 30 + ], + "interval time (ms)": 0.2, + "latency (ms)": 8.91, + "latency (ms) by segments": [ + 8.913 + ], + "latency (us)": 8913.1, + "layer details": [ + [ + "layer", + "ops", + "original output shape", + "aligned output shape", + "computing cost (no DDR)", + "load/store cost", + "active period of time" + ], + [ + "HZ_PREPROCESS_FOR_images", + "7,372,800", + "[1,640,640,3]", + "[1,640,640,8]", + "47 us (0.5% of model)", + "104 us (1.1% of model)", + "0 ~ 205 us (205)" + ], + [ + "/model.0/conv/Conv", + "88,473,600", + "[1,320,320,16]", + "[1,320,320,16]", + "49 us (0.5% of model)", + "1 us (0% of model)", + "6 ~ 207 us (201)" + ], + [ + "/model.0/act/Mul", + "0", + "[1,320,320,16]", + "[1,320,320,16]", + "80 us (0.9% of model)", + "4 us (0% of model)", + "8 ~ 215 us (207)" + ], + [ + "/model.1/conv/Conv", + "235,929,600", + "[1,160,160,32]", + "[1,160,160,32]", + "73 us (0.8% of model)", + "121 us (1.3% of model)", + "17 ~ 229 us (212)" + ], + [ + "/model.1/act/Mul", + "0", + "[1,160,160,32]", + "[1,160,160,32]", + "28 us (0.3% of model)", + "123 us (1.3% of model)", + "25 ~ 635 us (610)" + ], + [ + "/model.2/cv1/conv/Conv", + "52,428,800", + "[1,160,160,32]", + "[1,160,160,32]", + "15 us (0.1% of model)", + "1 us (0% of model)", + "205 ~ 649 us (444)" + ], + [ + "/model.2/cv1/act/Mul", + "0", + "[1,160,160,32]", + "[1,160,160,32]", + "28 us (0.3% of model)", + "4 us (0% of model)", + "206 ~ 651 us (445)" + ], + [ + "/model.2/Split", + "0", + "[1,160,160,16]", + "[1,160,160,16]", + "24 us (0.2% of model)", + "0", + "263 ~ 671 us (408)" + ], + [ + "/model.2/m.0/cv1/conv/Conv", + "58,982,400", + "[1,160,160,8]", + "[1,160,160,8]", + "24 us (0.2% of model)", + "1 us (0% of model)", + "37 ~ 676 us (639)" + ], + [ + "/model.2/m.0/cv1/act/Mul", + "0", + "[1,160,160,8]", + "[1,160,160,8]", + "8 us (0% of model)", + "4 us (0% of model)", + "45 ~ 691 us (646)" + ], + [ + "/model.2/m.0/cv2/conv/Conv", + "58,982,400", + "[1,160,160,16]", + "[1,160,160,16]", + "17 us (0.1% of model)", + "1 us (0% of model)", + "60 ~ 699 us (639)" + ], + [ + "/model.2/m.0/cv2/act/Mul", + "0", + "[1,160,160,16]", + "[1,160,160,16]", + "15 us (0.1% of model)", + "4 us (0% of model)", + "70 ~ 700 us (630)" + ], + [ + "/model.2/m.0/Add", + "0", + "[1,160,160,16]", + "[1,160,160,16]", + "30 us (0.3% of model)", + "2 us (0% of model)", + "82 ~ 702 us (620)" + ], + [ + "/model.2/Split_output_0_calibrated_Requantize", + "0", + "[1,160,160,16]", + "[1,160,160,16]", + "15 us (0.1% of model)", + "1 us (0% of model)", + "69 ~ 678 us (609)" + ], + [ + "/model.2/Split_output_1_calibrated_Requantize", + "0", + "[1,160,160,16]", + "[1,160,160,16]", + "15 us (0.1% of model)", + "1 us (0% of model)", + "90 ~ 677 us (587)" + ], + [ + "/model.2/Concat", + "0", + "[1,160,160,48]", + "[1,160,160,48]", + "43 us (0.4% of model)", + "0", + "282 ~ 705 us (423)" + ], + [ + "/model.2/cv2/conv/Conv", + "157,286,400", + "[1,160,160,64]", + "[1,160,160,64]", + "41 us (0.4% of model)", + "2 us (0% of model)", + "101 ~ 708 us (607)" + ], + [ + "/model.2/cv2/act/Mul", + "0", + "[1,160,160,64]", + "[1,160,160,64]", + "80 us (0.9% of model)", + "4 us (0% of model)", + "102 ~ 712 us (610)" + ], + [ + "/model.3/conv/Conv", + "471,859,200", + "[1,80,80,64]", + "[1,80,80,64]", + "142 us (1.5% of model)", + "6 us (0% of model)", + "19 ~ 726 us (707)" + ], + [ + "/model.3/act/Mul", + "0", + "[1,80,80,64]", + "[1,80,80,64]", + "15 us (0.1% of model)", + "4 us (0% of model)", + "114 ~ 728 us (614)" + ], + [ + "/model.4/cv1/conv/Conv", + "52,428,800", + "[1,80,80,64]", + "[1,80,80,64]", + "13 us (0.1% of model)", + "2 us (0% of model)", + "637 ~ 748 us (111)" + ], + [ + "/model.4/cv1/act/Mul", + "0", + "[1,80,80,64]", + "[1,80,80,64]", + "13 us (0.1% of model)", + "1 us (0% of model)", + "20 ~ 754 us (734)" + ], + [ + "/model.4/Split", + "0", + "[1,80,80,32]", + "[1,80,80,32]", + "7 us (0% of model)", + "0", + "741 ~ 758 us (17)" + ], + [ + "/model.4/m.0/cv1/conv/Conv", + "58,982,400", + "[1,80,80,16]", + "[1,80,80,16]", + "15 us (0.1% of model)", + "2 us (0% of model)", + "236 ~ 771 us (535)" + ], + [ + "/model.4/m.0/cv1/act/Mul", + "0", + "[1,80,80,16]", + "[1,80,80,16]", + "3 us (0% of model)", + "1 us (0% of model)", + "237 ~ 774 us (537)" + ], + [ + "/model.4/m.0/cv2/conv/Conv", + "58,982,400", + "[1,80,80,32]", + "[1,80,80,32]", + "15 us (0.1% of model)", + "2 us (0% of model)", + "27 ~ 796 us (769)" + ], + [ + "/model.4/m.0/cv2/act/Mul", + "0", + "[1,80,80,32]", + "[1,80,80,32]", + "7 us (0% of model)", + "2 us (0% of model)", + "735 ~ 797 us (62)" + ], + [ + "/model.4/m.0/Add", + "0", + "[1,80,80,32]", + "[1,80,80,32]", + "14 us (0.1% of model)", + "2 us (0% of model)", + "749 ~ 800 us (51)" + ], + [ + "/model.4/Split_output_0_calibrated_Requantize", + "0", + "[1,80,80,32]", + "[1,80,80,32]", + "7 us (0% of model)", + "1 us (0% of model)", + "796 ~ 807 us (11)" + ], + [ + "/model.4/Split_output_1_calibrated_Requantize", + "0", + "[1,80,80,32]", + "[1,80,80,32]", + "7 us (0% of model)", + "1 us (0% of model)", + "657 ~ 813 us (156)" + ], + [ + "/model.4/Concat", + "0", + "[1,80,80,96]", + "[1,80,80,96]", + "19 us (0.2% of model)", + "0", + "813 ~ 833 us (20)" + ], + [ + "/model.4/cv2/conv/Conv", + "157,286,400", + "[1,80,80,128]", + "[1,80,80,128]", + "40 us (0.4% of model)", + "3 us (0% of model)", + "657 ~ 1014 us (357)" + ], + [ + "/model.4/cv2/act/Mul", + "0", + "[1,80,80,128]", + "[1,80,80,128]", + "42 us (0.4% of model)", + "116 us (1.2% of model)", + "834 ~ 1045 us (211)" + ], + [ + "/model.5/conv/Conv", + "471,859,200", + "[1,40,40,128]", + "[1,40,40,128]", + "141 us (1.5% of model)", + "21 us (0.2% of model)", + "813 ~ 1051 us (238)" + ], + [ + "/model.5/act/Mul", + "0", + "[1,40,40,128]", + "[1,40,40,128]", + "7 us (0% of model)", + "1 us (0% of model)", + "843 ~ 1058 us (215)" + ], + [ + "/model.6/cv1/conv/Conv", + "52,428,800", + "[1,40,40,128]", + "[1,40,40,128]", + "13 us (0.1% of model)", + "3 us (0% of model)", + "886 ~ 1071 us (185)" + ], + [ + "/model.6/cv1/act/Mul", + "0", + "[1,40,40,128]", + "[1,40,40,128]", + "7 us (0% of model)", + "1 us (0% of model)", + "895 ~ 1078 us (183)" + ], + [ + "/model.6/Split", + "0", + "[1,40,40,64]", + "[1,40,40,64]", + "3 us (0% of model)", + "0", + "1078 ~ 1081 us (3)" + ], + [ + "/model.6/m.0/cv1/conv/Conv", + "6,553,600", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "1 us (0% of model)", + "1015 ~ 1081 us (66)" + ], + [ + "/model.6/m.0/cv2/conv/Conv", + "6,553,600", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "1 us (0% of model)", + "1020 ~ 1083 us (63)" + ], + [ + "/model.6/m.0/cv1/act/Mul", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "1 us (0% of model)", + "1053 ~ 1083 us (30)" + ], + [ + "/model.6/m.0/cv2/act/Mul", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "1 us (0% of model)", + "1059 ~ 1085 us (26)" + ], + [ + "/model.6/m.0/m/m.0/cv1/conv/Conv", + "29,491,200", + "[1,40,40,32]", + "[1,40,40,32]", + "7 us (0% of model)", + "2 us (0% of model)", + "1051 ~ 1091 us (40)" + ], + [ + "/model.6/m.0/m/m.0/cv1/act/Mul", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "1 us (0% of model)", + "1080 ~ 1093 us (13)" + ], + [ + "/model.6/m.0/m/m.0/cv2/conv/Conv", + "29,491,200", + "[1,40,40,32]", + "[1,40,40,32]", + "7 us (0% of model)", + "2 us (0% of model)", + "1059 ~ 1101 us (42)" + ], + [ + "/model.6/m.0/m/m.0/cv2/act/Mul", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "1 us (0% of model)", + "1080 ~ 1103 us (23)" + ], + [ + "/model.6/m.0/m/m.0/Add", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "3 us (0% of model)", + "2 us (0% of model)", + "728 ~ 1106 us (378)" + ], + [ + "/model.6/m.0/m/m.1/cv1/conv/Conv", + "29,491,200", + "[1,40,40,32]", + "[1,40,40,32]", + "7 us (0% of model)", + "2 us (0% of model)", + "1060 ~ 1114 us (54)" + ], + [ + "/model.6/m.0/m/m.1/cv1/act/Mul", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "1 us (0% of model)", + "1092 ~ 1115 us (23)" + ], + [ + "/model.6/m.0/m/m.1/cv2/conv/Conv", + "29,491,200", + "[1,40,40,32]", + "[1,40,40,32]", + "7 us (0% of model)", + "2 us (0% of model)", + "1060 ~ 1123 us (63)" + ], + [ + "/model.6/m.0/m/m.1/cv2/act/Mul", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "1 us (0% of model)", + "1092 ~ 1125 us (33)" + ], + [ + "/model.6/m.0/m/m.1/Add", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "3 us (0% of model)", + "2 us (0% of model)", + "1085 ~ 1128 us (43)" + ], + [ + "/model.6/m.0/Concat", + "0", + "[1,40,40,64]", + "[1,40,40,64]", + "3 us (0% of model)", + "0", + "1085 ~ 1130 us (45)" + ], + [ + "/model.6/m.0/cv3/conv/Conv", + "13,107,200", + "[1,40,40,64]", + "[1,40,40,64]", + "3 us (0% of model)", + "2 us (0% of model)", + "1061 ~ 1133 us (72)" + ], + [ + "/model.6/m.0/cv3/act/Mul", + "0", + "[1,40,40,64]", + "[1,40,40,64]", + "3 us (0% of model)", + "1 us (0% of model)", + "1096 ~ 1137 us (41)" + ], + [ + "/model.6/Split_output_0_calibrated_Requantize", + "0", + "[1,40,40,64]", + "[1,40,40,64]", + "6 us (0% of model)", + "1 us (0% of model)", + "1062 ~ 1181 us (119)" + ], + [ + "/model.6/Split_output_1_calibrated_Requantize", + "0", + "[1,40,40,64]", + "[1,40,40,64]", + "6 us (0% of model)", + "1 us (0% of model)", + "1062 ~ 1181 us (119)" + ], + [ + "/model.6/Concat", + "0", + "[1,40,40,192]", + "[1,40,40,192]", + "14 us (0.1% of model)", + "0", + "1116 ~ 1182 us (66)" + ], + [ + "/model.6/cv2/conv/Conv", + "78,643,200", + "[1,40,40,128]", + "[1,40,40,128]", + "20 us (0.2% of model)", + "4 us (0% of model)", + "1086 ~ 1215 us (129)" + ], + [ + "/model.6/cv2/act/Mul", + "0", + "[1,40,40,128]", + "[1,40,40,128]", + "12 us (0.1% of model)", + "33 us (0.3% of model)", + "1063 ~ 1253 us (190)" + ], + [ + "/model.7/conv/Conv", + "235,929,600", + "[1,20,20,256]", + "[1,20,24,256]", + "85 us (0.9% of model)", + "41 us (0.4% of model)", + "1067 ~ 1270 us (203)" + ], + [ + "/model.7/act/Mul", + "0", + "[1,20,20,256]", + "[1,20,24,256]", + "4 us (0% of model)", + "1 us (0% of model)", + "1182 ~ 1274 us (92)" + ], + [ + "/model.8/cv1/conv/Conv", + "52,428,800", + "[1,20,20,256]", + "[1,20,24,256]", + "16 us (0.1% of model)", + "10 us (0.1% of model)", + "1170 ~ 1290 us (120)" + ], + [ + "/model.8/cv1/act/Mul", + "0", + "[1,20,20,256]", + "[1,20,24,256]", + "4 us (0% of model)", + "1 us (0% of model)", + "1183 ~ 1294 us (111)" + ], + [ + "/model.8/Split", + "0", + "[1,20,20,128]", + "[1,20,24,128]", + "2 us (0% of model)", + "0", + "1294 ~ 1296 us (2)" + ], + [ + "/model.8/m.0/cv1/conv/Conv", + "6,553,600", + "[1,20,20,64]", + "[1,20,24,64]", + "2 us (0% of model)", + "2 us (0% of model)", + "1189 ~ 1297 us (108)" + ], + [ + "/model.8/m.0/cv2/conv/Conv", + "6,553,600", + "[1,20,20,64]", + "[1,20,24,64]", + "2 us (0% of model)", + "2 us (0% of model)", + "1101 ~ 1300 us (199)" + ], + [ + "/model.8/m.0/cv1/act/Mul", + "0", + "[1,20,20,64]", + "[1,20,24,64]", + "1 us (0% of model)", + "1 us (0% of model)", + "1099 ~ 1299 us (200)" + ], + [ + "/model.8/m.0/cv2/act/Mul", + "0", + "[1,20,20,64]", + "[1,20,24,64]", + "1 us (0% of model)", + "1 us (0% of model)", + "1072 ~ 1323 us (251)" + ], + [ + "/model.8/m.0/m/m.0/cv1/conv/Conv", + "29,491,200", + "[1,20,20,64]", + "[1,20,24,64]", + "9 us (0% of model)", + "5 us (0% of model)", + "1184 ~ 1308 us (124)" + ], + [ + "/model.8/m.0/m/m.0/cv1/act/Mul", + "0", + "[1,20,20,64]", + "[1,20,24,64]", + "1 us (0% of model)", + "1 us (0% of model)", + "1197 ~ 1310 us (113)" + ], + [ + "/model.8/m.0/m/m.0/cv2/conv/Conv", + "29,491,200", + "[1,20,20,64]", + "[1,20,24,64]", + "9 us (0% of model)", + "6 us (0% of model)", + "1192 ~ 1318 us (126)" + ], + [ + "/model.8/m.0/m/m.0/cv2/act/Mul", + "0", + "[1,20,20,64]", + "[1,20,24,64]", + "1 us (0% of model)", + "1 us (0% of model)", + "1054 ~ 1320 us (266)" + ], + [ + "/model.8/m.0/m/m.0/Add", + "0", + "[1,20,20,64]", + "[1,20,24,64]", + "2 us (0% of model)", + "2 us (0% of model)", + "1055 ~ 1322 us (267)" + ], + [ + "/model.8/m.0/m/m.1/cv1/conv/Conv", + "29,491,200", + "[1,20,20,64]", + "[1,20,24,64]", + "9 us (0% of model)", + "6 us (0% of model)", + "1199 ~ 1336 us (137)" + ], + [ + "/model.8/m.0/m/m.1/cv1/act/Mul", + "0", + "[1,20,20,64]", + "[1,20,24,64]", + "1 us (0% of model)", + "1 us (0% of model)", + "1069 ~ 1337 us (268)" + ], + [ + "/model.8/m.0/m/m.1/cv2/conv/Conv", + "29,491,200", + "[1,20,20,64]", + "[1,20,24,64]", + "9 us (0% of model)", + "6 us (0% of model)", + "1217 ~ 1346 us (129)" + ], + [ + "/model.8/m.0/m/m.1/cv2/act/Mul", + "0", + "[1,20,20,64]", + "[1,20,24,64]", + "1 us (0% of model)", + "1 us (0% of model)", + "1070 ~ 1348 us (278)" + ], + [ + "/model.8/m.0/m/m.1/Add", + "0", + "[1,20,20,64]", + "[1,20,24,64]", + "2 us (0% of model)", + "2 us (0% of model)", + "1070 ~ 1350 us (280)" + ], + [ + "/model.8/m.0/Concat", + "0", + "[1,20,20,128]", + "[1,20,24,128]", + "2 us (0% of model)", + "0", + "1323 ~ 1351 us (28)" + ], + [ + "/model.8/m.0/cv3/conv/Conv", + "13,107,200", + "[1,20,20,128]", + "[1,20,24,128]", + "4 us (0% of model)", + "3 us (0% of model)", + "1224 ~ 1355 us (131)" + ], + [ + "/model.8/m.0/cv3/act/Mul", + "0", + "[1,20,20,128]", + "[1,20,24,128]", + "2 us (0% of model)", + "1 us (0% of model)", + "1288 ~ 1357 us (69)" + ], + [ + "/model.8/Split_output_0_calibrated_Requantize", + "0", + "[1,20,20,128]", + "[1,20,24,128]", + "2 us (0% of model)", + "2 us (0% of model)", + "1284 ~ 1352 us (68)" + ], + [ + "/model.8/Split_output_1_calibrated_Requantize", + "0", + "[1,20,20,128]", + "[1,20,24,128]", + "2 us (0% of model)", + "2 us (0% of model)", + "1285 ~ 1325 us (40)" + ], + [ + "/model.8/Concat", + "0", + "[1,20,20,384]", + "[1,20,24,384]", + "6 us (0% of model)", + "0", + "1325 ~ 1361 us (36)" + ], + [ + "/model.8/cv2/conv/Conv", + "78,643,200", + "[1,20,20,256]", + "[1,20,24,256]", + "23 us (0.2% of model)", + "14 us (0.1% of model)", + "1228 ~ 1385 us (157)" + ], + [ + "/model.8/cv2/act/Mul", + "0", + "[1,20,20,256]", + "[1,20,24,256]", + "4 us (0% of model)", + "1 us (0% of model)", + "1290 ~ 1389 us (99)" + ], + [ + "/model.9/cv1/conv/Conv", + "26,214,400", + "[1,20,20,128]", + "[1,20,24,128]", + "8 us (0% of model)", + "6 us (0% of model)", + "1252 ~ 1397 us (145)" + ], + [ + "/model.9/m/MaxPool", + "0", + "[1,20,20,128]", + "[1,20,24,128]", + "12 us (0.1% of model)", + "0", + "1397 ~ 1410 us (13)" + ], + [ + "/model.9/m_1/MaxPool", + "0", + "[1,20,20,128]", + "[1,20,24,128]", + "12 us (0.1% of model)", + "0", + "1410 ~ 1424 us (14)" + ], + [ + "/model.9/m_2/MaxPool", + "0", + "[1,20,20,128]", + "[1,20,24,128]", + "12 us (0.1% of model)", + "0", + "1420 ~ 1449 us (29)" + ], + [ + "/model.9/Concat", + "0", + "[1,20,20,512]", + "[1,20,24,512]", + "9 us (0% of model)", + "0", + "1401 ~ 1465 us (64)" + ], + [ + "/model.9/cv2/conv/Conv", + "104,857,600", + "[1,20,20,256]", + "[1,20,24,256]", + "31 us (0.3% of model)", + "19 us (0.2% of model)", + "1291 ~ 1478 us (187)" + ], + [ + "/model.9/cv2/act/Mul", + "0", + "[1,20,20,256]", + "[1,20,24,256]", + "4 us (0% of model)", + "2 us (0% of model)", + "1348 ~ 1485 us (137)" + ], + [ + "/model.9/Add", + "0", + "[1,20,20,256]", + "[1,20,24,256]", + "9 us (0% of model)", + "3 us (0% of model)", + "1338 ~ 1489 us (151)" + ], + [ + "/model.10/cv1/conv/Conv", + "52,428,800", + "[1,20,20,256]", + "[1,20,24,256]", + "16 us (0.1% of model)", + "10 us (0.1% of model)", + "1072 ~ 1493 us (421)" + ], + [ + "/model.10/cv1/act/Mul", + "0", + "[1,20,20,256]", + "[1,20,24,256]", + "4 us (0% of model)", + "2 us (0% of model)", + "1362 ~ 1494 us (132)" + ], + [ + "/model.10/Split", + "0", + "[1,20,20,128]", + "[1,20,24,128]", + "2 us (0% of model)", + "9 us (0% of model)", + "1494 ~ 1511 us (17)" + ], + [ + "/model.10/m/m.0/attn/qkv/conv/Conv", + "26,214,400", + "[1,20,20,256]", + "[1,20,24,256]", + "23 us (0.2% of model)", + "6 us (0% of model)", + "1316 ~ 1518 us (202)" + ], + [ + "/model.10/m/m.0/attn/qkv/conv/Conv_NHWC2NCHW_LayoutConvert_Output0", + "0", + "[1,256,20,20]", + "[1,256,20,128]", + "21 us (0.2% of model)", + "0", + "1518 ~ 1539 us (21)" + ], + [ + "/model.10/m/m.0/attn/Reshape", + "0", + "[1,2,128,400]", + "[1,2,128,512]", + "64 us (0.7% of model)", + "0", + "1539 ~ 1603 us (64)" + ], + [ + "/model.10/m/m.0/attn/Split_NCHW2NHWC_LayoutConvert_Input0", + "0", + "[1,128,400,2]", + "[1,128,512,2]", + "26 us (0.2% of model)", + "0", + "1603 ~ 1629 us (26)" + ], + [ + "/model.10/m/m.0/attn/Split", + "0", + "[1,32,400,2]", + "[1,32,400,8]", + "23 us (0.2% of model)", + "0", + "1629 ~ 2017 us (388)" + ], + [ + "/model.10/m/m.0/attn/Split_NHWC2NCHW_LayoutConvert_Output2", + "0", + "[1,2,64,400]", + "[1,2,64,512]", + "2 us (0% of model)", + "0", + "1644 ~ 1646 us (2)" + ], + [ + "/model.10/m/m.0/attn/Split_NHWC2NCHW_LayoutConvert_Output1", + "0", + "[1,2,32,400]", + "[1,2,32,512]", + "1 us (0% of model)", + "0", + "2019 ~ 2020 us (1)" + ], + [ + "/model.10/m/m.0/attn/Mul", + "51,200", + "[1,32,400,2]", + "[1,32,400,16]", + "8 us (0% of model)", + "1 us (0% of model)", + "1644 ~ 1668 us (24)" + ], + [ + "/model.10/m/m.0/attn/Reshape_2", + "0", + "[1,128,20,20]", + "[1,128,20,128]", + "365 us (4.0% of model)", + "0", + "1646 ~ 2041 us (395)" + ], + [ + "/model.10/m/m.0/attn/Transpose", + "0", + "[1,2,400,32]", + "[1,2,512,32]", + "7 us (0% of model)", + "0", + "2026 ~ 2034 us (8)" + ], + [ + "/model.10/m/m.0/attn/MatMul", + "20,480,000", + "[2,1,400,400]", + "[2,2,400,400]", + "71 us (0.8% of model)", + "4 us (0% of model)", + "2041 ~ 2117 us (76)" + ], + [ + "/model.10/m/m.0/attn/Softmax_reducemax_FROM_QUANTIZED_SOFTMAX_NCHW2NHWC_LayoutConvert_Input0", + "0", + "[1,400,400,2]", + "[1,400,512,2]", + "103 us (1.1% of model)", + "0", + "2113 ~ 2422 us (309)" + ], + [ + "channel_max./model.10/m/m.0/attn/Softmax_reducemax_FROM_QUANTIZED_SOFTMAX", + "0", + "[1,400,2,1]", + "[1,400,128,1]", + "45 us (0.5% of model)", + "0", + "2116 ~ 2407 us (291)" + ], + [ + "post_trans_/model.10/m/m.0/attn/Softmax_reducemax_FROM_QUANTIZED_SOFTMAX", + "0", + "[1,400,1,2]", + "[1,400,1,128]", + "22 us (0.2% of model)", + "0", + "2125 ~ 2424 us (299)" + ], + [ + "/model.10/m/m.0/attn/Softmax_sub_FROM_QUANTIZED_SOFTMAX", + "0", + "[1,400,400,2]", + "[1,400,400,8]", + "103 us (1.1% of model)", + "673 us (7.5% of model)", + "2111 ~ 3349 us (1238)" + ], + [ + "/model.10/m/m.0/attn/Softmax_exp_FROM_QUANTIZED_SOFTMAX", + "0", + "[1,400,400,2]", + "[1,400,400,8]", + "143 us (1.6% of model)", + "403 us (4.5% of model)", + "2440 ~ 3351 us (911)" + ], + [ + "/model.10/m/m.0/attn/Softmax_reducesum_FROM_QUANTIZED_SOFTMAX", + "0", + "[1,400,2,1]", + "[1,400,2,1]", + "936 us (10.5% of model)", + "1 us (0% of model)", + "2442 ~ 3395 us (953)" + ], + [ + "/model.10/m/m.0/attn/Softmax_reciprocal_FROM_QUANTIZED_SOFTMAX", + "0", + "[1,400,1,2]", + "[1,400,8,8]", + "1 us (0% of model)", + "1 us (0% of model)", + "2644 ~ 3396 us (752)" + ], + [ + "/model.10/m/m.0/attn/Softmax_mul_FROM_QUANTIZED_SOFTMAX", + "0", + "[1,400,400,2]", + "[1,400,400,8]", + "152 us (1.7% of model)", + "178 us (1.9% of model)", + "2649 ~ 3607 us (958)" + ], + [ + "/model.10/m/m.0/attn/Transpose_1", + "0", + "[1,2,400,400]", + "[1,2,512,400]", + "28 us (0.3% of model)", + "0", + "3607 ~ 3636 us (29)" + ], + [ + "/model.10/m/m.0/attn/MatMul_1", + "40,960,000", + "[2,1,64,400]", + "[2,2,64,400]", + "122 us (1.3% of model)", + "1 us (0% of model)", + "3636 ~ 3752 us (116)" + ], + [ + "/model.10/m/m.0/attn/Reshape_1", + "0", + "[1,128,20,20]", + "[1,128,20,128]", + "709 us (7.9% of model)", + "108 us (1.2% of model)", + "3752 ~ 4525 us (773)" + ], + [ + "/model.10/m/m.0/attn/pe/conv/Conv_NCHW2NHWC_LayoutConvert_Input0", + "0", + "[1,20,20,128]", + "[1,20,128,128]", + "20 us (0.2% of model)", + "0", + "4445 ~ 4478 us (33)" + ], + [ + "/model.10/m/m.0/attn/pe/conv/Conv_NCHW2NHWC_LayoutConvert_Input4", + "0", + "[1,20,20,128]", + "[1,20,128,128]", + "19 us (0.2% of model)", + "0", + "4461 ~ 4534 us (73)" + ], + [ + "/model.10/m/m.0/attn/pe/conv/Conv", + "921,600", + "[1,20,20,128]", + "[1,20,24,128]", + "2 us (0% of model)", + "2 us (0% of model)", + "4494 ~ 4536 us (42)" + ], + [ + "/model.10/m/m.0/attn/proj/conv/Conv", + "13,107,200", + "[1,20,20,128]", + "[1,20,24,128]", + "4 us (0% of model)", + "12 us (0.1% of model)", + "4479 ~ 4546 us (67)" + ], + [ + "/model.10/m/m.0/ffn/ffn.0/conv/Conv", + "26,214,400", + "[1,20,20,256]", + "[1,20,24,256]", + "8 us (0% of model)", + "6 us (0% of model)", + "4501 ~ 4555 us (54)" + ], + [ + "/model.10/m/m.0/ffn/ffn.0/act/Mul", + "0", + "[1,20,20,256]", + "[1,20,24,256]", + "4 us (0% of model)", + "1 us (0% of model)", + "4442 ~ 4559 us (117)" + ], + [ + "/model.10/m/m.0/ffn/ffn.1/conv/Conv", + "26,214,400", + "[1,20,20,128]", + "[1,20,24,128]", + "8 us (0% of model)", + "6 us (0% of model)", + "4542 ~ 4567 us (25)" + ], + [ + "/model.10/Split_output_0_calibrated_Requantize", + "0", + "[1,20,20,128]", + "[1,20,24,128]", + "2 us (0% of model)", + "2 us (0% of model)", + "3718 ~ 4538 us (820)" + ], + [ + "/model.10/Concat", + "0", + "[1,20,20,256]", + "[1,20,24,256]", + "4 us (0% of model)", + "0", + "4538 ~ 4569 us (31)" + ], + [ + "/model.10/cv2/conv/Conv", + "52,428,800", + "[1,20,20,256]", + "[1,20,24,256]", + "16 us (0.1% of model)", + "10 us (0.1% of model)", + "4523 ~ 4585 us (62)" + ], + [ + "/model.10/cv2/act/Mul", + "0", + "[1,20,20,256]", + "[1,20,24,256]", + "6 us (0% of model)", + "1 us (0% of model)", + "3723 ~ 4631 us (908)" + ], + [ + "/model.11/Resize", + "0", + "[1,40,40,256]", + "[1,40,40,256]", + "31 us (0.3% of model)", + "0", + "4590 ~ 4644 us (54)" + ], + [ + "/model.11/Resize_output_0_calibrated_Requantize", + "0", + "[1,40,40,256]", + "[1,40,40,256]", + "14 us (0.1% of model)", + "3 us (0% of model)", + "4549 ~ 4651 us (102)" + ], + [ + "/model.6/cv2/act/Mul_output_0_calibrated_Requantize", + "0", + "[1,40,40,128]", + "[1,40,40,128]", + "8 us (0% of model)", + "34 us (0.3% of model)", + "4446 ~ 4652 us (206)" + ], + [ + "/model.12/Concat", + "0", + "[1,40,40,384]", + "[1,40,40,384]", + "21 us (0.2% of model)", + "0", + "4585 ~ 4653 us (68)" + ], + [ + "/model.13/cv1/conv/Conv", + "157,286,400", + "[1,40,40,128]", + "[1,40,40,128]", + "39 us (0.4% of model)", + "8 us (0% of model)", + "4466 ~ 4661 us (195)" + ], + [ + "/model.13/cv1/act/Mul", + "0", + "[1,40,40,128]", + "[1,40,40,128]", + "7 us (0% of model)", + "1 us (0% of model)", + "4428 ~ 4668 us (240)" + ], + [ + "/model.13/Split", + "0", + "[1,40,40,64]", + "[1,40,40,64]", + "3 us (0% of model)", + "0", + "4668 ~ 4671 us (3)" + ], + [ + "/model.13/m.0/cv1/conv/Conv", + "6,553,600", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "1 us (0% of model)", + "4647 ~ 4673 us (26)" + ], + [ + "/model.13/m.0/cv2/conv/Conv", + "6,553,600", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "1 us (0% of model)", + "4655 ~ 4675 us (20)" + ], + [ + "/model.13/m.0/cv1/act/Mul", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "1 us (0% of model)", + "4654 ~ 4675 us (21)" + ], + [ + "/model.13/m.0/cv2/act/Mul", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "1 us (0% of model)", + "4671 ~ 4677 us (6)" + ], + [ + "/model.13/m.0/m/m.0/cv1/conv/Conv", + "29,491,200", + "[1,40,40,32]", + "[1,40,40,32]", + "7 us (0% of model)", + "2 us (0% of model)", + "4652 ~ 4683 us (31)" + ], + [ + "/model.13/m.0/m/m.0/cv1/act/Mul", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "1 us (0% of model)", + "4661 ~ 4685 us (24)" + ], + [ + "/model.13/m.0/m/m.0/cv2/conv/Conv", + "29,491,200", + "[1,40,40,32]", + "[1,40,40,32]", + "7 us (0% of model)", + "2 us (0% of model)", + "4656 ~ 4692 us (36)" + ], + [ + "/model.13/m.0/m/m.0/cv2/act/Mul", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "1 us (0% of model)", + "4668 ~ 4694 us (26)" + ], + [ + "/model.13/m.0/m/m.0/Add", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "3 us (0% of model)", + "2 us (0% of model)", + "4429 ~ 4700 us (271)" + ], + [ + "/model.13/m.0/m/m.1/cv1/conv/Conv", + "29,491,200", + "[1,40,40,32]", + "[1,40,40,32]", + "7 us (0% of model)", + "2 us (0% of model)", + "4669 ~ 4707 us (38)" + ], + [ + "/model.13/m.0/m/m.1/cv1/act/Mul", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "1 us (0% of model)", + "4430 ~ 4709 us (279)" + ], + [ + "/model.13/m.0/m/m.1/cv2/conv/Conv", + "29,491,200", + "[1,40,40,32]", + "[1,40,40,32]", + "7 us (0% of model)", + "2 us (0% of model)", + "4571 ~ 4716 us (145)" + ], + [ + "/model.13/m.0/m/m.1/cv2/act/Mul", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "1 us (0% of model)", + "4573 ~ 4718 us (145)" + ], + [ + "/model.13/m.0/m/m.1/Add", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "3 us (0% of model)", + "2 us (0% of model)", + "4567 ~ 4722 us (155)" + ], + [ + "/model.13/m.0/Concat", + "0", + "[1,40,40,64]", + "[1,40,40,64]", + "3 us (0% of model)", + "0", + "4683 ~ 4724 us (41)" + ], + [ + "/model.13/m.0/cv3/conv/Conv", + "13,107,200", + "[1,40,40,64]", + "[1,40,40,64]", + "3 us (0% of model)", + "2 us (0% of model)", + "4575 ~ 4727 us (152)" + ], + [ + "/model.13/m.0/cv3/act/Mul", + "0", + "[1,40,40,64]", + "[1,40,40,64]", + "3 us (0% of model)", + "1 us (0% of model)", + "4685 ~ 4730 us (45)" + ], + [ + "/model.13/Split_output_0_calibrated_Requantize", + "0", + "[1,40,40,64]", + "[1,40,40,64]", + "3 us (0% of model)", + "1 us (0% of model)", + "4578 ~ 4692 us (114)" + ], + [ + "/model.13/Split_output_1_calibrated_Requantize", + "0", + "[1,40,40,64]", + "[1,40,40,64]", + "3 us (0% of model)", + "1 us (0% of model)", + "4576 ~ 4689 us (113)" + ], + [ + "/model.13/Concat", + "0", + "[1,40,40,192]", + "[1,40,40,192]", + "10 us (0.1% of model)", + "0", + "4727 ~ 4737 us (10)" + ], + [ + "/model.13/cv2/conv/Conv", + "78,643,200", + "[1,40,40,128]", + "[1,40,40,128]", + "19 us (0.2% of model)", + "4 us (0% of model)", + "4683 ~ 4757 us (74)" + ], + [ + "/model.13/cv2/act/Mul", + "0", + "[1,40,40,128]", + "[1,40,40,128]", + "8 us (0% of model)", + "1 us (0% of model)", + "4696 ~ 4765 us (69)" + ], + [ + "/model.14/Resize", + "0", + "[1,80,80,128]", + "[1,80,80,128]", + "60 us (0.6% of model)", + "0", + "4765 ~ 4972 us (207)" + ], + [ + "/model.14/Resize_output_0_calibrated_Requantize", + "0", + "[1,80,80,128]", + "[1,80,80,128]", + "27 us (0.3% of model)", + "2 us (0% of model)", + "4697 ~ 4973 us (276)" + ], + [ + "/model.4/cv2/act/Mul_output_0_calibrated_Requantize", + "0", + "[1,80,80,128]", + "[1,80,80,128]", + "27 us (0.3% of model)", + "118 us (1.3% of model)", + "3721 ~ 4970 us (1249)" + ], + [ + "/model.15/Concat", + "0", + "[1,80,80,256]", + "[1,80,80,256]", + "53 us (0.5% of model)", + "0", + "4774 ~ 4975 us (201)" + ], + [ + "/model.16/cv1/conv/Conv", + "209,715,200", + "[1,80,80,64]", + "[1,80,80,64]", + "53 us (0.5% of model)", + "3 us (0% of model)", + "4707 ~ 4981 us (274)" + ], + [ + "/model.16/cv1/act/Mul", + "0", + "[1,80,80,64]", + "[1,80,80,64]", + "14 us (0.1% of model)", + "4 us (0% of model)", + "4560 ~ 4982 us (422)" + ], + [ + "/model.16/Split", + "0", + "[1,80,80,32]", + "[1,80,80,32]", + "7 us (0% of model)", + "0", + "4982 ~ 4993 us (11)" + ], + [ + "/model.16/m.0/cv1/conv/Conv", + "6,553,600", + "[1,80,80,16]", + "[1,80,80,32]", + "3 us (0% of model)", + "1 us (0% of model)", + "4970 ~ 4989 us (19)" + ], + [ + "/model.16/m.0/cv2/conv/Conv", + "6,553,600", + "[1,80,80,16]", + "[1,80,80,32]", + "4 us (0% of model)", + "1 us (0% of model)", + "4985 ~ 5053 us (68)" + ], + [ + "/model.16/m.0/cv1/act/Mul", + "0", + "[1,80,80,16]", + "[1,80,80,16]", + "4 us (0% of model)", + "2 us (0% of model)", + "4981 ~ 5010 us (29)" + ], + [ + "/model.16/m.0/cv2/act/Mul", + "0", + "[1,80,80,16]", + "[1,80,80,16]", + "4 us (0% of model)", + "2 us (0% of model)", + "4993 ~ 5055 us (62)" + ], + [ + "/model.16/m.0/m/m.0/cv1/conv/Conv", + "29,491,200", + "[1,80,80,16]", + "[1,80,80,16]", + "8 us (0% of model)", + "1 us (0% of model)", + "4708 ~ 5019 us (311)" + ], + [ + "/model.16/m.0/m/m.0/cv1/act/Mul", + "0", + "[1,80,80,16]", + "[1,80,80,16]", + "4 us (0% of model)", + "2 us (0% of model)", + "4709 ~ 5023 us (314)" + ], + [ + "/model.16/m.0/m/m.0/cv2/conv/Conv", + "29,491,200", + "[1,80,80,16]", + "[1,80,80,16]", + "8 us (0% of model)", + "1 us (0% of model)", + "4712 ~ 5036 us (324)" + ], + [ + "/model.16/m.0/m/m.0/cv2/act/Mul", + "0", + "[1,80,80,16]", + "[1,80,80,16]", + "4 us (0% of model)", + "2 us (0% of model)", + "4973 ~ 5038 us (65)" + ], + [ + "/model.16/m.0/m/m.0/Add", + "0", + "[1,80,80,16]", + "[1,80,80,16]", + "7 us (0% of model)", + "2 us (0% of model)", + "4977 ~ 5041 us (64)" + ], + [ + "/model.16/m.0/m/m.1/cv1/conv/Conv", + "29,491,200", + "[1,80,80,16]", + "[1,80,80,16]", + "8 us (0% of model)", + "1 us (0% of model)", + "4978 ~ 5047 us (69)" + ], + [ + "/model.16/m.0/m/m.1/cv1/act/Mul", + "0", + "[1,80,80,16]", + "[1,80,80,16]", + "4 us (0% of model)", + "2 us (0% of model)", + "4971 ~ 5049 us (78)" + ], + [ + "/model.16/m.0/m/m.1/cv2/conv/Conv", + "29,491,200", + "[1,80,80,16]", + "[1,80,80,16]", + "8 us (0% of model)", + "1 us (0% of model)", + "3722 ~ 5055 us (1333)" + ], + [ + "/model.16/m.0/m/m.1/cv2/act/Mul", + "0", + "[1,80,80,16]", + "[1,80,80,16]", + "4 us (0% of model)", + "2 us (0% of model)", + "3719 ~ 5057 us (1338)" + ], + [ + "/model.16/m.0/m/m.1/Add", + "0", + "[1,80,80,16]", + "[1,80,80,16]", + "7 us (0% of model)", + "2 us (0% of model)", + "3720 ~ 5059 us (1339)" + ], + [ + "/model.16/m.0/Concat", + "0", + "[1,80,80,32]", + "[1,80,80,32]", + "7 us (0% of model)", + "0", + "5059 ~ 5065 us (6)" + ], + [ + "/model.16/m.0/cv3/conv/Conv", + "13,107,200", + "[1,80,80,32]", + "[1,80,80,32]", + "3 us (0% of model)", + "1 us (0% of model)", + "4992 ~ 5069 us (77)" + ], + [ + "/model.16/m.0/cv3/act/Mul", + "0", + "[1,80,80,32]", + "[1,80,80,32]", + "7 us (0% of model)", + "1 us (0% of model)", + "5043 ~ 5079 us (36)" + ], + [ + "/model.16/Split_output_0_calibrated_Requantize", + "0", + "[1,80,80,32]", + "[1,80,80,32]", + "7 us (0% of model)", + "1 us (0% of model)", + "5041 ~ 5072 us (31)" + ], + [ + "/model.16/Split_output_1_calibrated_Requantize", + "0", + "[1,80,80,32]", + "[1,80,80,32]", + "7 us (0% of model)", + "1 us (0% of model)", + "5072 ~ 5125 us (53)" + ], + [ + "/model.16/Concat", + "0", + "[1,80,80,96]", + "[1,80,80,96]", + "20 us (0.2% of model)", + "0", + "5072 ~ 5131 us (59)" + ], + [ + "/model.16/cv2/conv/Conv", + "78,643,200", + "[1,80,80,64]", + "[1,80,80,64]", + "20 us (0.2% of model)", + "2 us (0% of model)", + "5047 ~ 5135 us (88)" + ], + [ + "/model.16/cv2/act/Mul", + "0", + "[1,80,80,64]", + "[1,80,80,64]", + "20 us (0.2% of model)", + "2 us (0% of model)", + "5075 ~ 5144 us (69)" + ], + [ + "/model.17/conv/Conv", + "117,964,800", + "[1,40,40,64]", + "[1,40,40,64]", + "35 us (0.3% of model)", + "5 us (0% of model)", + "5080 ~ 5179 us (99)" + ], + [ + "/model.23/one2one_cv2.0/one2one_cv2.0.0/conv/Conv", + "117,964,800", + "[1,80,80,16]", + "[1,80,80,16]", + "29 us (0.3% of model)", + "2 us (0% of model)", + "5079 ~ 5208 us (129)" + ], + [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.0/conv/Conv", + "7,372,800", + "[1,80,80,64]", + "[1,80,80,64]", + "9 us (0% of model)", + "1 us (0% of model)", + "5208 ~ 5218 us (10)" + ], + [ + "/model.17/act/Mul", + "0", + "[1,40,40,64]", + "[1,40,40,64]", + "3 us (0% of model)", + "1 us (0% of model)", + "5125 ~ 5183 us (58)" + ], + [ + "/model.23/one2one_cv2.0/one2one_cv2.0.0/act/Mul", + "0", + "[1,80,80,16]", + "[1,80,80,16]", + "3 us (0% of model)", + "1 us (0% of model)", + "4759 ~ 5212 us (453)" + ], + [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.0/act/Mul", + "0", + "[1,80,80,64]", + "[1,80,80,64]", + "13 us (0.1% of model)", + "1 us (0% of model)", + "3033 ~ 5231 us (2198)" + ], + [ + "/model.18/Concat", + "0", + "[1,40,40,192]", + "[1,40,40,192]", + "10 us (0.1% of model)", + "0", + "5231 ~ 5241 us (10)" + ], + [ + "/model.23/one2one_cv2.0/one2one_cv2.0.1/conv/Conv", + "29,491,200", + "[1,80,80,16]", + "[1,80,80,16]", + "7 us (0% of model)", + "1 us (0% of model)", + "5232 ~ 5246 us (14)" + ], + [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.1/conv/Conv", + "52,428,800", + "[1,80,80,64]", + "[1,80,80,64]", + "13 us (0.1% of model)", + "2 us (0% of model)", + "5129 ~ 5259 us (130)" + ], + [ + "/model.19/cv1/conv/Conv", + "78,643,200", + "[1,40,40,128]", + "[1,40,40,128]", + "19 us (0.2% of model)", + "4 us (0% of model)", + "5212 ~ 5281 us (69)" + ], + [ + "/model.23/one2one_cv2.0/one2one_cv2.0.1/act/Mul", + "0", + "[1,80,80,16]", + "[1,80,80,16]", + "3 us (0% of model)", + "1 us (0% of model)", + "5259 ~ 5263 us (4)" + ], + [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.1/act/Mul", + "0", + "[1,80,80,64]", + "[1,80,80,64]", + "17 us (0.1% of model)", + "4 us (0% of model)", + "5263 ~ 5376 us (113)" + ], + [ + "/model.19/cv1/act/Mul", + "0", + "[1,40,40,128]", + "[1,40,40,128]", + "7 us (0% of model)", + "4 us (0% of model)", + "5083 ~ 5372 us (289)" + ], + [ + "/model.23/one2one_cv2.0/one2one_cv2.0.2/Conv", + "819,200", + "[1,80,80,4]", + "[1,80,80,16]", + "48 us (0.5% of model)", + "20 us (0.2% of model)", + "5082 ~ 5369 us (287)" + ], + [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.0/conv/Conv", + "7,372,800", + "[1,80,80,64]", + "[1,80,80,64]", + "10 us (0.1% of model)", + "1 us (0% of model)", + "5261 ~ 5377 us (116)" + ], + [ + "/model.19/Split", + "0", + "[1,40,40,64]", + "[1,40,40,64]", + "3 us (0% of model)", + "0", + "5372 ~ 5377 us (5)" + ], + [ + "/model.19/m.0/cv1/conv/Conv", + "6,553,600", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "1 us (0% of model)", + "5271 ~ 5386 us (115)" + ], + [ + "/model.19/m.0/cv2/conv/Conv", + "6,553,600", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "1 us (0% of model)", + "5272 ~ 5392 us (120)" + ], + [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.0/act/Mul", + "0", + "[1,80,80,64]", + "[1,80,80,64]", + "13 us (0.1% of model)", + "2 us (0% of model)", + "5376 ~ 5404 us (28)" + ], + [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.1/conv/Conv", + "52,428,800", + "[1,80,80,64]", + "[1,80,80,64]", + "13 us (0.1% of model)", + "2 us (0% of model)", + "5372 ~ 5415 us (43)" + ], + [ + "/model.19/m.0/cv1/act/Mul", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "2 us (0% of model)", + "5382 ~ 5390 us (8)" + ], + [ + "/model.19/m.0/cv2/act/Mul", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "1 us (0% of model)", + "5404 ~ 5407 us (3)" + ], + [ + "/model.19/m.0/m/m.0/cv1/conv/Conv", + "29,491,200", + "[1,40,40,32]", + "[1,40,40,32]", + "7 us (0% of model)", + "2 us (0% of model)", + "5393 ~ 5411 us (18)" + ], + [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.1/act/Mul", + "0", + "[1,80,80,64]", + "[1,80,80,64]", + "13 us (0.1% of model)", + "1 us (0% of model)", + "5384 ~ 5430 us (46)" + ], + [ + "/model.23/one2one_cv3.0/one2one_cv3.0.2/Conv", + "3,276,800", + "[1,80,80,4]", + "[1,80,80,16]", + "53 us (0.5% of model)", + "6 us (0% of model)", + "5407 ~ 5506 us (99)" + ], + [ + "/model.19/m.0/m/m.0/cv1/act/Mul", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "2 us (0% of model)", + "5410 ~ 5455 us (45)" + ], + [ + "/model.19/m.0/m/m.0/cv2/conv/Conv", + "29,491,200", + "[1,40,40,32]", + "[1,40,40,32]", + "8 us (0% of model)", + "2 us (0% of model)", + "5408 ~ 5479 us (71)" + ], + [ + "/model.19/m.0/m/m.0/cv2/act/Mul", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "2 us (0% of model)", + "5413 ~ 5481 us (68)" + ], + [ + "/model.19/m.0/m/m.0/Add", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "4 us (0% of model)", + "2 us (0% of model)", + "5417 ~ 5482 us (65)" + ], + [ + "/model.19/m.0/m/m.1/cv1/conv/Conv", + "29,491,200", + "[1,40,40,32]", + "[1,40,40,32]", + "8 us (0% of model)", + "2 us (0% of model)", + "5413 ~ 5495 us (82)" + ], + [ + "/model.19/m.0/m/m.1/cv1/act/Mul", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "2 us (0% of model)", + "5420 ~ 5495 us (75)" + ], + [ + "/model.19/m.0/m/m.1/cv2/conv/Conv", + "29,491,200", + "[1,40,40,32]", + "[1,40,40,32]", + "8 us (0% of model)", + "2 us (0% of model)", + "5423 ~ 5500 us (77)" + ], + [ + "/model.19/m.0/m/m.1/cv2/act/Mul", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "2 us (0% of model)", + "2 us (0% of model)", + "5430 ~ 5508 us (78)" + ], + [ + "/model.19/m.0/m/m.1/Add", + "0", + "[1,40,40,32]", + "[1,40,40,32]", + "4 us (0% of model)", + "2 us (0% of model)", + "5385 ~ 5511 us (126)" + ], + [ + "/model.19/m.0/Concat", + "0", + "[1,40,40,64]", + "[1,40,40,64]", + "4 us (0% of model)", + "0", + "5407 ~ 5513 us (106)" + ], + [ + "/model.19/m.0/cv3/conv/Conv", + "13,107,200", + "[1,40,40,64]", + "[1,40,40,64]", + "4 us (0% of model)", + "2 us (0% of model)", + "5374 ~ 5513 us (139)" + ], + [ + "/model.19/m.0/cv3/act/Mul", + "0", + "[1,40,40,64]", + "[1,40,40,64]", + "3 us (0% of model)", + "1 us (0% of model)", + "5434 ~ 5517 us (83)" + ], + [ + "/model.19/Split_output_0_calibrated_Requantize", + "0", + "[1,40,40,64]", + "[1,40,40,64]", + "4 us (0% of model)", + "1 us (0% of model)", + "5455 ~ 5541 us (86)" + ], + [ + "/model.19/Split_output_1_calibrated_Requantize", + "0", + "[1,40,40,64]", + "[1,40,40,64]", + "4 us (0% of model)", + "1 us (0% of model)", + "5498 ~ 5539 us (41)" + ], + [ + "/model.19/Concat", + "0", + "[1,40,40,192]", + "[1,40,40,192]", + "11 us (0.1% of model)", + "0", + "5517 ~ 5546 us (29)" + ], + [ + "/model.19/cv2/conv/Conv", + "78,643,200", + "[1,40,40,128]", + "[1,40,40,128]", + "20 us (0.2% of model)", + "4 us (0% of model)", + "5493 ~ 5550 us (57)" + ], + [ + "/model.19/cv2/act/Mul", + "0", + "[1,40,40,128]", + "[1,40,40,128]", + "10 us (0.1% of model)", + "1 us (0% of model)", + "5517 ~ 5561 us (44)" + ], + [ + "/model.20/conv/Conv", + "117,964,800", + "[1,20,20,128]", + "[1,20,24,128]", + "42 us (0.4% of model)", + "18 us (0.2% of model)", + "5539 ~ 5604 us (65)" + ], + [ + "/model.23/one2one_cv2.1/one2one_cv2.1.0/conv/Conv", + "58,982,400", + "[1,40,40,16]", + "[1,40,40,16]", + "14 us (0.1% of model)", + "3 us (0% of model)", + "5575 ~ 5618 us (43)" + ], + [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.0/conv/Conv", + "3,686,400", + "[1,40,40,128]", + "[1,40,40,128]", + "5 us (0% of model)", + "1 us (0% of model)", + "5579 ~ 5623 us (44)" + ], + [ + "/model.20/act/Mul", + "0", + "[1,20,20,128]", + "[1,20,24,128]", + "2 us (0% of model)", + "1 us (0% of model)", + "5434 ~ 5625 us (191)" + ], + [ + "/model.23/one2one_cv2.1/one2one_cv2.1.0/act/Mul", + "0", + "[1,40,40,16]", + "[1,40,40,16]", + "1 us (0% of model)", + "1 us (0% of model)", + "5440 ~ 5620 us (180)" + ], + [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.0/act/Mul", + "0", + "[1,40,40,128]", + "[1,40,40,128]", + "7 us (0% of model)", + "1 us (0% of model)", + "5435 ~ 5659 us (224)" + ], + [ + "/model.21/Concat", + "0", + "[1,20,20,384]", + "[1,20,24,384]", + "6 us (0% of model)", + "0", + "5623 ~ 5629 us (6)" + ], + [ + "/model.23/one2one_cv2.1/one2one_cv2.1.1/conv/Conv", + "7,372,800", + "[1,40,40,16]", + "[1,40,40,16]", + "2 us (0% of model)", + "1 us (0% of model)", + "5445 ~ 5668 us (223)" + ], + [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.1/conv/Conv", + "26,214,400", + "[1,40,40,64]", + "[1,40,40,64]", + "7 us (0% of model)", + "2 us (0% of model)", + "5436 ~ 5666 us (230)" + ], + [ + "/model.22/cv1/conv/Conv", + "78,643,200", + "[1,20,20,256]", + "[1,20,24,256]", + "23 us (0.2% of model)", + "14 us (0.1% of model)", + "5562 ~ 5652 us (90)" + ], + [ + "/model.23/one2one_cv2.1/one2one_cv2.1.1/act/Mul", + "0", + "[1,40,40,16]", + "[1,40,40,16]", + "1 us (0% of model)", + "1 us (0% of model)", + "5445 ~ 5669 us (224)" + ], + [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.1/act/Mul", + "0", + "[1,40,40,64]", + "[1,40,40,64]", + "3 us (0% of model)", + "1 us (0% of model)", + "5660 ~ 5683 us (23)" + ], + [ + "/model.22/cv1/act/Mul", + "0", + "[1,20,20,256]", + "[1,20,24,256]", + "4 us (0% of model)", + "1 us (0% of model)", + "5661 ~ 5688 us (27)" + ], + [ + "/model.23/one2one_cv2.1/one2one_cv2.1.2/Conv", + "204,800", + "[1,40,40,4]", + "[1,40,40,16]", + "11 us (0.1% of model)", + "2 us (0% of model)", + "5581 ~ 5691 us (110)" + ], + [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.0/conv/Conv", + "1,843,200", + "[1,40,40,64]", + "[1,40,40,64]", + "2 us (0% of model)", + "1 us (0% of model)", + "5520 ~ 5694 us (174)" + ], + [ + "/model.22/Split", + "0", + "[1,20,20,128]", + "[1,20,24,128]", + "2 us (0% of model)", + "0", + "5690 ~ 5692 us (2)" + ], + [ + "/model.22/m.0/m.0.0/cv1/conv/Conv", + "58,982,400", + "[1,20,20,64]", + "[1,20,24,64]", + "17 us (0.1% of model)", + "10 us (0.1% of model)", + "5684 ~ 5712 us (28)" + ], + [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.0/act/Mul", + "0", + "[1,40,40,64]", + "[1,40,40,64]", + "3 us (0% of model)", + "1 us (0% of model)", + "5705 ~ 5724 us (19)" + ], + [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.1/conv/Conv", + "13,107,200", + "[1,40,40,64]", + "[1,40,40,64]", + "3 us (0% of model)", + "2 us (0% of model)", + "5706 ~ 5734 us (28)" + ], + [ + "/model.22/m.0/m.0.0/cv1/act/Mul", + "0", + "[1,20,20,64]", + "[1,20,24,64]", + "1 us (0% of model)", + "1 us (0% of model)", + "5704 ~ 5713 us (9)" + ], + [ + "/model.22/m.0/m.0.0/cv2/conv/Conv", + "58,982,400", + "[1,20,20,128]", + "[1,20,24,128]", + "17 us (0.1% of model)", + "10 us (0.1% of model)", + "5694 ~ 5730 us (36)" + ], + [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.1/act/Mul", + "0", + "[1,40,40,64]", + "[1,40,40,64]", + "3 us (0% of model)", + "1 us (0% of model)", + "5707 ~ 5740 us (33)" + ], + [ + "/model.23/one2one_cv3.1/one2one_cv3.1.2/Conv", + "819,200", + "[1,40,40,4]", + "[1,40,40,16]", + "13 us (0.1% of model)", + "3 us (0% of model)", + "5708 ~ 5759 us (51)" + ], + [ + "/model.22/m.0/m.0.0/cv2/act/Mul", + "0", + "[1,20,20,128]", + "[1,20,24,128]", + "2 us (0% of model)", + "1 us (0% of model)", + "5709 ~ 5733 us (24)" + ], + [ + "/model.22/m.0/m.0.0/Add", + "0", + "[1,20,20,128]", + "[1,20,24,128]", + "4 us (0% of model)", + "2 us (0% of model)", + "5710 ~ 5737 us (27)" + ], + [ + "/model.22/m.0/m.0.1/attn/qkv/conv/Conv", + "26,214,400", + "[1,20,20,256]", + "[1,20,24,256]", + "23 us (0.2% of model)", + "6 us (0% of model)", + "5712 ~ 5774 us (62)" + ], + [ + "/model.22/m.0/m.0.1/attn/qkv/conv/Conv_NHWC2NCHW_LayoutConvert_Output0", + "0", + "[1,256,20,20]", + "[1,256,20,128]", + "21 us (0.2% of model)", + "0", + "5774 ~ 5829 us (55)" + ], + [ + "/model.22/m.0/m.0.1/attn/Reshape", + "0", + "[1,2,128,400]", + "[1,2,128,512]", + "65 us (0.7% of model)", + "0", + "5783 ~ 5861 us (78)" + ], + [ + "/model.22/m.0/m.0.1/attn/Split_NCHW2NHWC_LayoutConvert_Input0", + "0", + "[1,128,400,2]", + "[1,128,512,2]", + "26 us (0.2% of model)", + "0", + "5861 ~ 5887 us (26)" + ], + [ + "/model.22/m.0/m.0.1/attn/Split", + "0", + "[1,32,400,2]", + "[1,32,400,8]", + "23 us (0.2% of model)", + "0", + "5887 ~ 5912 us (25)" + ], + [ + "/model.22/m.0/m.0.1/attn/Split_NHWC2NCHW_LayoutConvert_Output2", + "0", + "[1,2,64,400]", + "[1,2,64,512]", + "2 us (0% of model)", + "0", + "5908 ~ 5910 us (2)" + ], + [ + "/model.22/m.0/m.0.1/attn/Split_NHWC2NCHW_LayoutConvert_Output1", + "0", + "[1,2,32,400]", + "[1,2,32,512]", + "1 us (0% of model)", + "0", + "5912 ~ 6273 us (361)" + ], + [ + "/model.22/m.0/m.0.1/attn/Mul", + "51,200", + "[1,32,400,2]", + "[1,32,400,16]", + "8 us (0% of model)", + "1 us (0% of model)", + "5845 ~ 5935 us (90)" + ], + [ + "/model.22/m.0/m.0.1/attn/Reshape_2", + "0", + "[1,128,20,20]", + "[1,128,20,128]", + "365 us (4.0% of model)", + "45 us (0.5% of model)", + "5920 ~ 6335 us (415)" + ], + [ + "/model.22/m.0/m.0.1/attn/Transpose", + "0", + "[1,2,400,32]", + "[1,2,512,32]", + "7 us (0% of model)", + "0", + "6293 ~ 6340 us (47)" + ], + [ + "/model.22/m.0/m.0.1/attn/MatMul", + "20,480,000", + "[2,1,400,400]", + "[2,2,400,400]", + "55 us (0.6% of model)", + "1 us (0% of model)", + "6296 ~ 6399 us (103)" + ], + [ + "/model.22/m.0/m.0.1/attn/Softmax_reducemax_FROM_QUANTIZED_SOFTMAX_NCHW2NHWC_LayoutConvert_Input0", + "0", + "[1,400,400,2]", + "[1,400,512,2]", + "103 us (1.1% of model)", + "178 us (2.0% of model)", + "6394 ~ 6652 us (258)" + ], + [ + "channel_max./model.22/m.0/m.0.1/attn/Softmax_reducemax_FROM_QUANTIZED_SOFTMAX", + "0", + "[1,400,2,1]", + "[1,400,128,1]", + "46 us (0.5% of model)", + "0", + "6409 ~ 6637 us (228)" + ], + [ + "post_trans_/model.22/m.0/m.0.1/attn/Softmax_reducemax_FROM_QUANTIZED_SOFTMAX", + "0", + "[1,400,1,2]", + "[1,400,1,128]", + "22 us (0.2% of model)", + "11 us (0.1% of model)", + "6430 ~ 6654 us (224)" + ], + [ + "/model.22/m.0/m.0.1/attn/Softmax_sub_FROM_QUANTIZED_SOFTMAX", + "0", + "[1,400,400,2]", + "[1,400,400,8]", + "109 us (1.2% of model)", + "440 us (4.9% of model)", + "5725 ~ 7576 us (1851)" + ], + [ + "/model.22/m.0/m.0.1/attn/Softmax_exp_FROM_QUANTIZED_SOFTMAX", + "0", + "[1,400,400,2]", + "[1,400,400,8]", + "125 us (1.4% of model)", + "287 us (3.2% of model)", + "5717 ~ 7588 us (1871)" + ], + [ + "/model.22/m.0/m.0.1/attn/Softmax_reducesum_FROM_QUANTIZED_SOFTMAX", + "0", + "[1,400,2,1]", + "[1,400,2,1]", + "905 us (10.1% of model)", + "67 us (0.7% of model)", + "6659 ~ 7799 us (1140)" + ], + [ + "/model.22/m.0/m.0.1/attn/Softmax_reciprocal_FROM_QUANTIZED_SOFTMAX", + "0", + "[1,400,1,2]", + "[1,400,8,8]", + "2 us (0% of model)", + "7 us (0% of model)", + "7583 ~ 7833 us (250)" + ], + [ + "/model.22/m.0/m.0.1/attn/Softmax_mul_FROM_QUANTIZED_SOFTMAX", + "0", + "[1,400,400,2]", + "[1,400,400,8]", + "152 us (1.7% of model)", + "255 us (2.8% of model)", + "7576 ~ 7852 us (276)" + ], + [ + "/model.22/m.0/m.0.1/attn/Transpose_1", + "0", + "[1,2,400,400]", + "[1,2,512,400]", + "43 us (0.4% of model)", + "57 us (0.6% of model)", + "7855 ~ 7947 us (92)" + ], + [ + "/model.22/m.0/m.0.1/attn/MatMul_1", + "40,960,000", + "[2,1,64,400]", + "[2,2,64,400]", + "118 us (1.3% of model)", + "21 us (0.2% of model)", + "5910 ~ 8033 us (2123)" + ], + [ + "/model.22/m.0/m.0.1/attn/Reshape_1", + "0", + "[1,128,20,20]", + "[1,128,20,128]", + "714 us (8.0% of model)", + "0", + "8033 ~ 8776 us (743)" + ], + [ + "/model.22/m.0/m.0.1/attn/pe/conv/Conv_NCHW2NHWC_LayoutConvert_Input0", + "0", + "[1,20,20,128]", + "[1,20,128,128]", + "19 us (0.2% of model)", + "47 us (0.5% of model)", + "8722 ~ 8814 us (92)" + ], + [ + "/model.22/m.0/m.0.1/attn/pe/conv/Conv_NCHW2NHWC_LayoutConvert_Input4", + "0", + "[1,20,20,128]", + "[1,20,128,128]", + "19 us (0.2% of model)", + "0", + "8741 ~ 8813 us (72)" + ], + [ + "/model.22/m.0/m.0.1/attn/pe/conv/Conv", + "921,600", + "[1,20,20,128]", + "[1,20,24,128]", + "2 us (0% of model)", + "2 us (0% of model)", + "8767 ~ 8816 us (49)" + ], + [ + "/model.22/m.0/m.0.1/attn/proj/conv/Conv", + "13,107,200", + "[1,20,20,128]", + "[1,20,24,128]", + "4 us (0% of model)", + "21 us (0.2% of model)", + "5738 ~ 8826 us (3088)" + ], + [ + "/model.22/m.0/m.0.1/ffn/ffn.0/conv/Conv", + "26,214,400", + "[1,20,20,256]", + "[1,20,24,256]", + "8 us (0% of model)", + "6 us (0% of model)", + "8768 ~ 8834 us (66)" + ], + [ + "/model.22/m.0/m.0.1/ffn/ffn.0/act/Mul", + "0", + "[1,20,20,256]", + "[1,20,24,256]", + "4 us (0% of model)", + "1 us (0% of model)", + "8822 ~ 8838 us (16)" + ], + [ + "/model.22/m.0/m.0.1/ffn/ffn.1/conv/Conv", + "26,214,400", + "[1,20,20,128]", + "[1,20,24,128]", + "8 us (0% of model)", + "6 us (0% of model)", + "8805 ~ 8846 us (41)" + ], + [ + "/model.22/Split_output_0_calibrated_Requantize", + "0", + "[1,20,20,128]", + "[1,20,24,128]", + "2 us (0% of model)", + "19 us (0.2% of model)", + "5692 ~ 8843 us (3151)" + ], + [ + "/model.22/Split_output_1_calibrated_Requantize", + "0", + "[1,20,20,128]", + "[1,20,24,128]", + "2 us (0% of model)", + "19 us (0.2% of model)", + "5712 ~ 8841 us (3129)" + ], + [ + "/model.22/Concat", + "0", + "[1,20,20,384]", + "[1,20,24,384]", + "6 us (0% of model)", + "0", + "8849 ~ 8855 us (6)" + ], + [ + "/model.22/cv2/conv/Conv", + "78,643,200", + "[1,20,20,256]", + "[1,20,24,256]", + "23 us (0.2% of model)", + "13 us (0.1% of model)", + "8742 ~ 8878 us (136)" + ], + [ + "/model.22/cv2/act/Mul", + "0", + "[1,20,20,256]", + "[1,20,24,256]", + "4 us (0% of model)", + "1 us (0% of model)", + "8839 ~ 8882 us (43)" + ], + [ + "/model.23/one2one_cv2.2/one2one_cv2.2.0/conv/Conv", + "29,491,200", + "[1,20,20,16]", + "[1,20,24,16]", + "9 us (0% of model)", + "5 us (0% of model)", + "8844 ~ 8895 us (51)" + ], + [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.0/conv/Conv", + "1,843,200", + "[1,20,20,256]", + "[1,20,24,256]", + "3 us (0% of model)", + "2 us (0% of model)", + "8841 ~ 8886 us (45)" + ], + [ + "/model.23/one2one_cv2.2/one2one_cv2.2.0/act/Mul", + "0", + "[1,20,20,16]", + "[1,20,24,16]", + "<1 us", + "1 us (0% of model)", + "8857 ~ 8900 us (43)" + ], + [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.0/act/Mul", + "0", + "[1,20,20,256]", + "[1,20,24,256]", + "4 us (0% of model)", + "1 us (0% of model)", + "8851 ~ 8890 us (39)" + ], + [ + "/model.23/one2one_cv2.2/one2one_cv2.2.1/conv/Conv", + "1,843,200", + "[1,20,20,16]", + "[1,20,24,16]", + "1 us (0% of model)", + "1 us (0% of model)", + "8856 ~ 8904 us (48)" + ], + [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.1/conv/Conv", + "13,107,200", + "[1,20,20,64]", + "[1,20,24,64]", + "4 us (0% of model)", + "3 us (0% of model)", + "8849 ~ 8899 us (50)" + ], + [ + "/model.23/one2one_cv2.2/one2one_cv2.2.1/act/Mul", + "0", + "[1,20,20,16]", + "[1,20,24,16]", + "<1 us", + "1 us (0% of model)", + "8858 ~ 8905 us (47)" + ], + [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.1/act/Mul", + "0", + "[1,20,20,64]", + "[1,20,24,64]", + "1 us (0% of model)", + "1 us (0% of model)", + "8855 ~ 8900 us (45)" + ], + [ + "/model.23/one2one_cv2.2/one2one_cv2.2.2/Conv", + "51,200", + "[1,20,20,4]", + "[1,20,24,16]", + "4 us (0% of model)", + "2 us (0% of model)", + "8859 ~ 8913 us (54)" + ], + [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.0/conv/Conv", + "460,800", + "[1,20,20,64]", + "[1,20,24,64]", + "1 us (0% of model)", + "1 us (0% of model)", + "8853 ~ 8901 us (48)" + ], + [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.0/act/Mul", + "0", + "[1,20,20,64]", + "[1,20,24,64]", + "1 us (0% of model)", + "1 us (0% of model)", + "8854 ~ 8902 us (48)" + ], + [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.1/conv/Conv", + "3,276,800", + "[1,20,20,64]", + "[1,20,24,64]", + "1 us (0% of model)", + "2 us (0% of model)", + "8856 ~ 8903 us (47)" + ], + [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.1/act/Mul", + "0", + "[1,20,20,64]", + "[1,20,24,64]", + "1 us (0% of model)", + "1 us (0% of model)", + "8879 ~ 8904 us (25)" + ], + [ + "/model.23/one2one_cv3.2/one2one_cv3.2.2/Conv", + "204,800", + "[1,20,20,4]", + "[1,20,24,32]", + "4 us (0% of model)", + "3 us (0% of model)", + "8882 ~ 8910 us (28)" + ] + ], + "loaded bytes per frame": 11991040, + "loaded bytes per run": 11991040, + "model json CRC": "ffa42289", + "model json file": "/tmp/tmpn1xm3lyk/Extracted from {main_graph}_subgraph_0.hbir", + "model name": "Extracted from {main_graph}_subgraph_0", + "model param CRC": "00000000", + "multicore sync time (ms)": 0.0, + "run per second": 112.19, + "runtime version": "3.15.55.0", + "stored bytes per frame": 8685056, + "stored bytes per run": 8685056, + "worst FPS": 112.19 + } +} diff --git a/x5_quantization/mapper_output_bpu/best_bpu_bayese_640x640_nv12.bin b/x5_quantization/mapper_output_bpu/best_bpu_bayese_640x640_nv12.bin new file mode 100644 index 0000000..c2f62ed Binary files /dev/null and b/x5_quantization/mapper_output_bpu/best_bpu_bayese_640x640_nv12.bin differ diff --git a/x5_quantization/mapper_output_bpu/best_bpu_bayese_640x640_nv12_calibrated_model.onnx b/x5_quantization/mapper_output_bpu/best_bpu_bayese_640x640_nv12_calibrated_model.onnx new file mode 100644 index 0000000..94d90f7 Binary files /dev/null and b/x5_quantization/mapper_output_bpu/best_bpu_bayese_640x640_nv12_calibrated_model.onnx differ diff --git a/x5_quantization/mapper_output_bpu/best_bpu_bayese_640x640_nv12_optimized_float_model.onnx b/x5_quantization/mapper_output_bpu/best_bpu_bayese_640x640_nv12_optimized_float_model.onnx new file mode 100644 index 0000000..0e66d65 Binary files /dev/null and b/x5_quantization/mapper_output_bpu/best_bpu_bayese_640x640_nv12_optimized_float_model.onnx differ diff --git a/x5_quantization/mapper_output_bpu/best_bpu_bayese_640x640_nv12_original_float_model.onnx b/x5_quantization/mapper_output_bpu/best_bpu_bayese_640x640_nv12_original_float_model.onnx new file mode 100644 index 0000000..6a0100a Binary files /dev/null and b/x5_quantization/mapper_output_bpu/best_bpu_bayese_640x640_nv12_original_float_model.onnx differ diff --git a/x5_quantization/mapper_output_bpu/best_bpu_bayese_640x640_nv12_quant_info.json b/x5_quantization/mapper_output_bpu/best_bpu_bayese_640x640_nv12_quant_info.json new file mode 100644 index 0000000..517a4e6 --- /dev/null +++ b/x5_quantization/mapper_output_bpu/best_bpu_bayese_640x640_nv12_quant_info.json @@ -0,0 +1,4432 @@ +{ + "HZ_PREPROCESS_FOR_images": { + "type": "HzPreprocess", + "inputs": [ + "images_calibrated", + "HZ_PREPROCESS_FOR_images_weight_calibrated", + "HZ_PREPROCESS_FOR_images_bias" + ], + "outputs": [ + "HZ_PREPROCESS_FOR_images" + ], + "thresholds": [ + [ + 127.0 + ], + [ + 0.005497, + 0.003922, + 0.00695 + ], + [] + ], + "cosine_similarity": "1.000036" + }, + "/model.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "HZ_PREPROCESS_FOR_images_calibrated" + ], + "outputs": [ + "/model.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.013355 + ] + ], + "cosine_similarity": "0.999420" + }, + "/model.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 41.208466 + ] + ], + "cosine_similarity": "0.999356" + }, + "/model.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 34.657494 + ] + ], + "cosine_similarity": "0.994858" + }, + "/model.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 77.305527 + ] + ], + "cosine_similarity": "0.994586" + }, + "/model.2/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.2/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 61.11961 + ] + ], + "cosine_similarity": "0.988316" + }, + "/model.2/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.2/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.2/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 58.76001 + ] + ], + "cosine_similarity": "0.988277" + }, + "/model.2/Split": { + "type": "Split", + "inputs": [ + "/model.2/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.2/Split_output_0", + "/model.2/Split_output_1" + ], + "thresholds": [ + [ + 41.550186 + ] + ], + "cosine_similarity": "0.987462" + }, + "/model.2/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.2/Split_output_1_calibrated" + ], + "outputs": [ + "/model.2/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 41.550186 + ] + ], + "cosine_similarity": "0.997807" + }, + "/model.2/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.2/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.2/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 6.481023 + ] + ], + "cosine_similarity": "0.997295" + }, + "/model.2/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.2/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.2/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 4.492247 + ] + ], + "cosine_similarity": "0.979294" + }, + "/model.2/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.2/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.2/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 38.625923 + ] + ], + "cosine_similarity": "0.984540" + }, + "/model.2/m.0/Add": { + "type": "Add", + "inputs": [ + "/model.2/Split_output_1_calibrated", + "/model.2/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.2/m.0/Add_output_0" + ], + "thresholds": [ + [ + 41.550186 + ], + [ + 32.765793 + ] + ], + "cosine_similarity": "0.989001" + }, + "/model.2/Concat": { + "type": "Concat", + "inputs": [ + "/model.2/Split_output_0_calibrated", + "/model.2/Split_output_1_calibrated", + "/model.2/m.0/Add_output_0_calibrated" + ], + "outputs": [ + "/model.2/Concat_output_0" + ], + "thresholds": [ + [ + 41.550186 + ], + [ + 41.550186 + ], + [ + 42.383068 + ] + ], + "cosine_similarity": "0.988635" + }, + "/model.2/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.2/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.2/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 42.383068 + ] + ], + "cosine_similarity": "0.984512" + }, + "/model.2/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.2/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.2/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 46.696884 + ] + ], + "cosine_similarity": "0.983102" + }, + "/model.3/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.2/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.3/conv/Conv_output_0" + ], + "thresholds": [ + [ + 13.545293 + ] + ], + "cosine_similarity": "0.990522" + }, + "/model.3/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.3/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.3/act/Mul_output_0" + ], + "thresholds": [ + [ + 8.416362 + ] + ], + "cosine_similarity": "0.994629" + }, + "/model.4/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.3/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.4/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 7.236557 + ] + ], + "cosine_similarity": "0.993375" + }, + "/model.4/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.4/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.4/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 6.071948 + ] + ], + "cosine_similarity": "0.993696" + }, + "/model.4/Split": { + "type": "Split", + "inputs": [ + "/model.4/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.4/Split_output_0", + "/model.4/Split_output_1" + ], + "thresholds": [ + [ + 4.76361 + ] + ], + "cosine_similarity": "0.992764" + }, + "/model.4/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.4/Split_output_1_calibrated" + ], + "outputs": [ + "/model.4/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 4.76361 + ] + ], + "cosine_similarity": "0.993655" + }, + "/model.4/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.4/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.4/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 4.976306 + ] + ], + "cosine_similarity": "0.994053" + }, + "/model.4/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.4/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.4/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 4.932034 + ] + ], + "cosine_similarity": "0.994427" + }, + "/model.4/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.4/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.4/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 5.894247 + ] + ], + "cosine_similarity": "0.994242" + }, + "/model.4/m.0/Add": { + "type": "Add", + "inputs": [ + "/model.4/Split_output_1_calibrated", + "/model.4/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.4/m.0/Add_output_0" + ], + "thresholds": [ + [ + 4.76361 + ], + [ + 5.49487 + ] + ], + "cosine_similarity": "0.996519" + }, + "/model.4/Concat": { + "type": "Concat", + "inputs": [ + "/model.4/Split_output_0_calibrated", + "/model.4/Split_output_1_calibrated", + "/model.4/m.0/Add_output_0_calibrated" + ], + "outputs": [ + "/model.4/Concat_output_0" + ], + "thresholds": [ + [ + 4.76361 + ], + [ + 4.76361 + ], + [ + 6.030481 + ] + ], + "cosine_similarity": "0.995726" + }, + "/model.4/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.4/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.4/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 6.030481 + ] + ], + "cosine_similarity": "0.986882" + }, + "/model.4/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.4/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.4/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 5.652694 + ] + ], + "cosine_similarity": "0.984009" + }, + "/model.5/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.4/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.5/conv/Conv_output_0" + ], + "thresholds": [ + [ + 3.117471 + ] + ], + "cosine_similarity": "0.993324" + }, + "/model.5/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.5/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.5/act/Mul_output_0" + ], + "thresholds": [ + [ + 5.726072 + ] + ], + "cosine_similarity": "0.995369" + }, + "/model.6/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.5/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.6/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.042244 + ] + ], + "cosine_similarity": "0.989999" + }, + "/model.6/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.6/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.6/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 7.172411 + ] + ], + "cosine_similarity": "0.991192" + }, + "/model.6/Split": { + "type": "Split", + "inputs": [ + "/model.6/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.6/Split_output_0", + "/model.6/Split_output_1" + ], + "thresholds": [ + [ + 4.806491 + ] + ], + "cosine_similarity": "0.991260" + }, + "/model.6/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.6/Split_output_1_calibrated" + ], + "outputs": [ + "/model.6/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 4.806491 + ] + ], + "cosine_similarity": "0.993373" + }, + "/model.6/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.6/Split_output_1_calibrated" + ], + "outputs": [ + "/model.6/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 4.806491 + ] + ], + "cosine_similarity": "0.986195" + }, + "/model.6/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.6/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 3.736264 + ] + ], + "cosine_similarity": "0.994111" + }, + "/model.6/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.6/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 9.582915 + ] + ], + "cosine_similarity": "0.985150" + }, + "/model.6/m.0/m/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.6/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 3.624759 + ] + ], + "cosine_similarity": "0.991013" + }, + "/model.6/m.0/m/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.6/m.0/m/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 6.74554 + ] + ], + "cosine_similarity": "0.986674" + }, + "/model.6/m.0/m/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.6/m.0/m/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.268643 + ] + ], + "cosine_similarity": "0.992821" + }, + "/model.6/m.0/m/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.6/m.0/m/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 5.393045 + ] + ], + "cosine_similarity": "0.993137" + }, + "/model.6/m.0/m/m.0/Add": { + "type": "Add", + "inputs": [ + "/model.6/m.0/cv1/act/Mul_output_0_calibrated", + "/model.6/m.0/m/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.0/Add_output_0" + ], + "thresholds": [ + [ + 3.624759 + ], + [ + 3.788764 + ] + ], + "cosine_similarity": "0.994573" + }, + "/model.6/m.0/m/m.1/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.6/m.0/m/m.0/Add_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.1/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 4.861683 + ] + ], + "cosine_similarity": "0.993472" + }, + "/model.6/m.0/m/m.1/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.6/m.0/m/m.1/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.1/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 6.385896 + ] + ], + "cosine_similarity": "0.992689" + }, + "/model.6/m.0/m/m.1/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.6/m.0/m/m.1/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.1/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.839822 + ] + ], + "cosine_similarity": "0.998122" + }, + "/model.6/m.0/m/m.1/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.6/m.0/m/m.1/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.1/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 9.775816 + ] + ], + "cosine_similarity": "0.998130" + }, + "/model.6/m.0/m/m.1/Add": { + "type": "Add", + "inputs": [ + "/model.6/m.0/m/m.0/Add_output_0_calibrated", + "/model.6/m.0/m/m.1/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/m/m.1/Add_output_0" + ], + "thresholds": [ + [ + 4.861683 + ], + [ + 9.580711 + ] + ], + "cosine_similarity": "0.998146" + }, + "/model.6/m.0/Concat": { + "type": "Concat", + "inputs": [ + "/model.6/m.0/m/m.1/Add_output_0_calibrated", + "/model.6/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/Concat_output_0" + ], + "thresholds": [ + [ + 10.346152 + ], + [ + 10.346152 + ] + ], + "cosine_similarity": "0.997356" + }, + "/model.6/m.0/cv3/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.6/m.0/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/cv3/conv/Conv_output_0" + ], + "thresholds": [ + [ + 10.346152 + ] + ], + "cosine_similarity": "0.993489" + }, + "/model.6/m.0/cv3/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.6/m.0/cv3/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.6/m.0/cv3/act/Mul_output_0" + ], + "thresholds": [ + [ + 7.459048 + ] + ], + "cosine_similarity": "0.993455" + }, + "/model.6/Concat": { + "type": "Concat", + "inputs": [ + "/model.6/Split_output_0_calibrated", + "/model.6/Split_output_1_calibrated", + "/model.6/m.0/cv3/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.6/Concat_output_0" + ], + "thresholds": [ + [ + 4.806491 + ], + [ + 4.806491 + ], + [ + 5.027546 + ] + ], + "cosine_similarity": "0.991860" + }, + "/model.6/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.6/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.6/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.027546 + ] + ], + "cosine_similarity": "0.993102" + }, + "/model.6/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.6/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.6/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 5.648068 + ] + ], + "cosine_similarity": "0.990361" + }, + "/model.7/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.6/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.7/conv/Conv_output_0" + ], + "thresholds": [ + [ + 4.315249 + ] + ], + "cosine_similarity": "0.995391" + }, + "/model.7/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.7/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.7/act/Mul_output_0" + ], + "thresholds": [ + [ + 7.367031 + ] + ], + "cosine_similarity": "0.994359" + }, + "/model.8/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.7/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.8/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 4.543334 + ] + ], + "cosine_similarity": "0.994277" + }, + "/model.8/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.8/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.8/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 7.170159 + ] + ], + "cosine_similarity": "0.992696" + }, + "/model.8/Split": { + "type": "Split", + "inputs": [ + "/model.8/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.8/Split_output_0", + "/model.8/Split_output_1" + ], + "thresholds": [ + [ + 5.705256 + ] + ], + "cosine_similarity": "0.992823" + }, + "/model.8/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.8/Split_output_1_calibrated" + ], + "outputs": [ + "/model.8/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.705256 + ] + ], + "cosine_similarity": "0.996304" + }, + "/model.8/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.8/Split_output_1_calibrated" + ], + "outputs": [ + "/model.8/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.705256 + ] + ], + "cosine_similarity": "0.990640" + }, + "/model.8/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.8/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 4.213129 + ] + ], + "cosine_similarity": "0.995520" + }, + "/model.8/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.8/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 7.716995 + ] + ], + "cosine_similarity": "0.988557" + }, + "/model.8/m.0/m/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.8/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 3.904804 + ] + ], + "cosine_similarity": "0.997284" + }, + "/model.8/m.0/m/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.8/m.0/m/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 7.822753 + ] + ], + "cosine_similarity": "0.995017" + }, + "/model.8/m.0/m/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.8/m.0/m/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 7.273384 + ] + ], + "cosine_similarity": "0.997509" + }, + "/model.8/m.0/m/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.8/m.0/m/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 7.330817 + ] + ], + "cosine_similarity": "0.997249" + }, + "/model.8/m.0/m/m.0/Add": { + "type": "Add", + "inputs": [ + "/model.8/m.0/cv1/act/Mul_output_0_calibrated", + "/model.8/m.0/m/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.0/Add_output_0" + ], + "thresholds": [ + [ + 3.904804 + ], + [ + 6.368064 + ] + ], + "cosine_similarity": "0.996879" + }, + "/model.8/m.0/m/m.1/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.8/m.0/m/m.0/Add_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.1/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 7.49653 + ] + ], + "cosine_similarity": "0.997167" + }, + "/model.8/m.0/m/m.1/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.8/m.0/m/m.1/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.1/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 8.258731 + ] + ], + "cosine_similarity": "0.996851" + }, + "/model.8/m.0/m/m.1/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.8/m.0/m/m.1/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.1/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 6.030994 + ] + ], + "cosine_similarity": "0.998135" + }, + "/model.8/m.0/m/m.1/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.8/m.0/m/m.1/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.1/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 10.551652 + ] + ], + "cosine_similarity": "0.998254" + }, + "/model.8/m.0/m/m.1/Add": { + "type": "Add", + "inputs": [ + "/model.8/m.0/m/m.0/Add_output_0_calibrated", + "/model.8/m.0/m/m.1/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/m/m.1/Add_output_0" + ], + "thresholds": [ + [ + 7.49653 + ], + [ + 10.319239 + ] + ], + "cosine_similarity": "0.998381" + }, + "/model.8/m.0/Concat": { + "type": "Concat", + "inputs": [ + "/model.8/m.0/m/m.1/Add_output_0_calibrated", + "/model.8/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/Concat_output_0" + ], + "thresholds": [ + [ + 11.61594 + ], + [ + 11.61594 + ] + ], + "cosine_similarity": "0.997609" + }, + "/model.8/m.0/cv3/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.8/m.0/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/cv3/conv/Conv_output_0" + ], + "thresholds": [ + [ + 11.61594 + ] + ], + "cosine_similarity": "0.996679" + }, + "/model.8/m.0/cv3/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.8/m.0/cv3/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.8/m.0/cv3/act/Mul_output_0" + ], + "thresholds": [ + [ + 6.922464 + ] + ], + "cosine_similarity": "0.996159" + }, + "/model.8/Concat": { + "type": "Concat", + "inputs": [ + "/model.8/Split_output_0_calibrated", + "/model.8/Split_output_1_calibrated", + "/model.8/m.0/cv3/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.8/Concat_output_0" + ], + "thresholds": [ + [ + 5.705256 + ], + [ + 5.705256 + ], + [ + 5.786118 + ] + ], + "cosine_similarity": "0.994004" + }, + "/model.8/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.8/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.8/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.786118 + ] + ], + "cosine_similarity": "0.997247" + }, + "/model.8/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.8/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.8/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 6.221251 + ] + ], + "cosine_similarity": "0.996791" + }, + "/model.9/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.8/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.9/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 4.671056 + ] + ], + "cosine_similarity": "0.993064" + }, + "/model.9/m/MaxPool": { + "type": "MaxPool", + "inputs": [ + "/model.9/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.9/m/MaxPool_output_0" + ], + "thresholds": [ + [ + 9.425793 + ] + ], + "cosine_similarity": "0.997418" + }, + "/model.9/m_1/MaxPool": { + "type": "MaxPool", + "inputs": [ + "/model.9/m/MaxPool_output_0_calibrated" + ], + "outputs": [ + "/model.9/m_1/MaxPool_output_0" + ], + "thresholds": [ + [ + 9.425793 + ] + ], + "cosine_similarity": "0.998335" + }, + "/model.9/m_2/MaxPool": { + "type": "MaxPool", + "inputs": [ + "/model.9/m_1/MaxPool_output_0_calibrated" + ], + "outputs": [ + "/model.9/m_2/MaxPool_output_0" + ], + "thresholds": [ + [ + 9.425793 + ] + ], + "cosine_similarity": "0.998701" + }, + "/model.9/Concat": { + "type": "Concat", + "inputs": [ + "/model.9/cv1/conv/Conv_output_0_calibrated", + "/model.9/m/MaxPool_output_0_calibrated", + "/model.9/m_1/MaxPool_output_0_calibrated", + "/model.9/m_2/MaxPool_output_0_calibrated" + ], + "outputs": [ + "/model.9/Concat_output_0" + ], + "thresholds": [ + [ + 9.425793 + ], + [ + 9.425793 + ], + [ + 9.425793 + ], + [ + 9.425793 + ] + ], + "cosine_similarity": "0.997993" + }, + "/model.9/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.9/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.9/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 9.425793 + ] + ], + "cosine_similarity": "0.997652" + }, + "/model.9/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.9/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.9/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 8.498927 + ] + ], + "cosine_similarity": "0.994045" + }, + "/model.9/Add": { + "type": "Add", + "inputs": [ + "/model.9/cv2/act/Mul_output_0_calibrated", + "/model.8/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.9/Add_output_0" + ], + "thresholds": [ + [ + 5.193983 + ], + [ + 4.671056 + ] + ], + "cosine_similarity": "0.996028" + }, + "/model.10/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.9/Add_output_0_calibrated" + ], + "outputs": [ + "/model.10/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.838355 + ] + ], + "cosine_similarity": "0.994108" + }, + "/model.10/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.10/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.10/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 8.820416 + ] + ], + "cosine_similarity": "0.994353" + }, + "/model.10/Split": { + "type": "Split", + "inputs": [ + "/model.10/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.10/Split_output_0", + "/model.10/Split_output_1" + ], + "thresholds": [ + [ + 7.546461 + ] + ], + "cosine_similarity": "0.991083" + }, + "/model.10/m/m.0/attn/qkv/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.10/Split_output_1_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/qkv/conv/Conv_output_0" + ], + "thresholds": [ + [ + 7.546461 + ] + ], + "cosine_similarity": "0.992373" + }, + "/model.10/m/m.0/attn/Reshape": { + "type": "Reshape", + "inputs": [ + "/model.10/m/m.0/attn/qkv/conv/Conv_output_0_calibrated", + "/model.10/m/m.0/attn/Constant_output_0" + ], + "outputs": [ + "/model.10/m/m.0/attn/Reshape_output_0" + ], + "thresholds": [ + [ + 8.118997 + ], + [] + ], + "cosine_similarity": "0.992373" + }, + "/model.10/m/m.0/attn/Split": { + "type": "Split", + "inputs": [ + "/model.10/m/m.0/attn/Reshape_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/Split_output_0", + "/model.10/m/m.0/attn/Split_output_1", + "/model.10/m/m.0/attn/Split_output_2" + ], + "thresholds": [ + [ + 8.118997 + ] + ], + "cosine_similarity": "0.995160" + }, + "/model.10/m/m.0/attn/Mul": { + "type": "Conv", + "inputs": [ + "/model.10/m/m.0/attn/Split_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/Mul_output_0" + ], + "thresholds": [ + [ + 8.118997 + ] + ], + "cosine_similarity": "0.995104" + }, + "/model.10/m/m.0/attn/Reshape_2": { + "type": "Reshape", + "inputs": [ + "/model.10/m/m.0/attn/Split_output_2", + "/model.10/m/m.0/attn/Constant_3_output_0" + ], + "outputs": [ + "/model.10/m/m.0/attn/Reshape_2_output_0" + ], + "thresholds": [ + [ + 8.118997 + ], + [] + ], + "cosine_similarity": "0.991116" + }, + "/model.10/m/m.0/attn/Transpose": { + "type": "Transpose", + "inputs": [ + "/model.10/m/m.0/attn/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/Transpose_output_0" + ], + "thresholds": [ + [ + 0.911441 + ] + ], + "cosine_similarity": "0.995105" + }, + "/model.10/m/m.0/attn/pe/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.10/m/m.0/attn/Reshape_2_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/pe/conv/Conv_output_0" + ], + "thresholds": [ + [ + 8.118997 + ] + ], + "cosine_similarity": "0.987866" + }, + "/model.10/m/m.0/attn/MatMul": { + "type": "MatMul", + "inputs": [ + "/model.10/m/m.0/attn/Transpose_output_0_calibrated", + "/model.10/m/m.0/attn/Split_output_1" + ], + "outputs": [ + "/model.10/m/m.0/attn/MatMul_output_0" + ], + "thresholds": [ + [ + 0.911441 + ], + [ + 8.118997 + ] + ], + "cosine_similarity": "0.995910" + }, + "/model.10/m/m.0/attn/Softmax_reducemax_FROM_QUANTIZED_SOFTMAX": { + "type": "ReduceMax", + "inputs": [ + "/model.10/m/m.0/attn/MatMul_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/Softmax_output_0_max" + ], + "thresholds": [ + [ + 12.252654 + ] + ], + "cosine_similarity": "0.999018" + }, + "/model.10/m/m.0/attn/Softmax_sub_FROM_QUANTIZED_SOFTMAX": { + "type": "Sub", + "inputs": [ + "/model.10/m/m.0/attn/MatMul_output_0_calibrated", + "/model.10/m/m.0/attn/Softmax_output_0_max" + ], + "outputs": [ + "/model.10/m/m.0/attn/Softmax_output_0_sub" + ], + "thresholds": [ + [ + 12.252654 + ], + [ + 12.252654 + ] + ], + "cosine_similarity": "0.944868" + }, + "/model.10/m/m.0/attn/Softmax_exp_FROM_QUANTIZED_SOFTMAX": { + "type": "Exp", + "inputs": [ + "/model.10/m/m.0/attn/Softmax_output_0_sub_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/Softmax_output_0_exp" + ], + "thresholds": [ + [ + 5.64418 + ] + ], + "cosine_similarity": "0.984749" + }, + "/model.10/m/m.0/attn/Softmax_reducesum_FROM_QUANTIZED_SOFTMAX": { + "type": "ReduceSum", + "inputs": [ + "/model.10/m/m.0/attn/Softmax_output_0_exp_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/Softmax_output_0_reducesum" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "0.993399" + }, + "/model.10/m/m.0/attn/Softmax_reciprocal_FROM_QUANTIZED_SOFTMAX": { + "type": "Reciprocal", + "inputs": [ + "/model.10/m/m.0/attn/Softmax_output_0_reducesum_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/Softmax_output_0_reciprocal" + ], + "thresholds": [ + [ + 207.972031 + ] + ], + "cosine_similarity": "0.983322" + }, + "/model.10/m/m.0/attn/Softmax_mul_FROM_QUANTIZED_SOFTMAX": { + "type": "Mul", + "inputs": [ + "/model.10/m/m.0/attn/Softmax_output_0_exp_calibrated", + "/model.10/m/m.0/attn/Softmax_output_0_reciprocal_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/Softmax_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "0.979322" + }, + "/model.10/m/m.0/attn/Transpose_1": { + "type": "Transpose", + "inputs": [ + "/model.10/m/m.0/attn/Softmax_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/Transpose_1_output_0" + ], + "thresholds": [ + [ + 0.208394 + ] + ], + "cosine_similarity": "0.979315" + }, + "/model.10/m/m.0/attn/MatMul_1": { + "type": "MatMul", + "inputs": [ + "/model.10/m/m.0/attn/Split_output_2", + "/model.10/m/m.0/attn/Transpose_1_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/MatMul_1_output_0" + ], + "thresholds": [ + [ + 8.118997 + ], + [ + 0.208394 + ] + ], + "cosine_similarity": "0.986326" + }, + "/model.10/m/m.0/attn/Reshape_1": { + "type": "Reshape", + "inputs": [ + "/model.10/m/m.0/attn/MatMul_1_output_0_calibrated", + "/model.10/m/m.0/attn/Constant_3_output_0" + ], + "outputs": [ + "/model.10/m/m.0/attn/Reshape_1_output_0" + ], + "thresholds": [ + [ + 6.747632 + ], + [] + ], + "cosine_similarity": "0.986326" + }, + "/model.10/m/m.0/attn/Add": { + "type": "Add", + "inputs": [ + "/model.10/m/m.0/attn/Reshape_1_output_0_calibrated", + "/model.10/m/m.0/attn/pe/conv/Conv_output_0" + ], + "outputs": [ + "/model.10/m/m.0/attn/Add_output_0" + ], + "thresholds": [ + [ + 6.747632 + ], + [] + ], + "cosine_similarity": "0.978600" + }, + "/model.10/m/m.0/attn/proj/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.10/m/m.0/attn/Add_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/attn/proj/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.453864 + ] + ], + "cosine_similarity": "0.972852" + }, + "/model.10/m/m.0/Add": { + "type": "Add", + "inputs": [ + "/model.10/Split_output_1_calibrated", + "/model.10/m/m.0/attn/proj/conv/Conv_output_0" + ], + "outputs": [ + "/model.10/m/m.0/Add_output_0" + ], + "thresholds": [ + [ + 7.546461 + ], + [] + ], + "cosine_similarity": "0.989052" + }, + "/model.10/m/m.0/ffn/ffn.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.10/m/m.0/Add_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/ffn/ffn.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 7.286306 + ] + ], + "cosine_similarity": "0.997112" + }, + "/model.10/m/m.0/ffn/ffn.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.10/m/m.0/ffn/ffn.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/ffn/ffn.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 6.091571 + ] + ], + "cosine_similarity": "0.995281" + }, + "/model.10/m/m.0/ffn/ffn.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.10/m/m.0/ffn/ffn.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.10/m/m.0/ffn/ffn.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 2.354772 + ] + ], + "cosine_similarity": "0.962171" + }, + "/model.10/m/m.0/Add_1": { + "type": "Add", + "inputs": [ + "/model.10/m/m.0/Add_output_0_calibrated", + "/model.10/m/m.0/ffn/ffn.1/conv/Conv_output_0" + ], + "outputs": [ + "/model.10/m/m.0/Add_1_output_0" + ], + "thresholds": [ + [ + 7.286306 + ], + [] + ], + "cosine_similarity": "0.985748" + }, + "/model.10/Concat": { + "type": "Concat", + "inputs": [ + "/model.10/Split_output_0_calibrated", + "/model.10/m/m.0/Add_1_output_0_calibrated" + ], + "outputs": [ + "/model.10/Concat_output_0" + ], + "thresholds": [ + [ + 7.546461 + ], + [ + 7.803926 + ] + ], + "cosine_similarity": "0.987183" + }, + "/model.10/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.10/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.10/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 7.803926 + ] + ], + "cosine_similarity": "0.994216" + }, + "/model.10/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.10/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.10/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 9.207642 + ] + ], + "cosine_similarity": "0.985009" + }, + "/model.11/Resize": { + "type": "Resize", + "inputs": [ + "/model.10/cv2/act/Mul_output_0_calibrated", + "/model.11/Constant_1_output_0", + "/model.11/Constant_output_0" + ], + "outputs": [ + "/model.11/Resize_output_0" + ], + "thresholds": [ + [ + 6.380254 + ], + [], + [] + ], + "cosine_similarity": "0.985121" + }, + "/model.12/Concat": { + "type": "Concat", + "inputs": [ + "/model.11/Resize_output_0_calibrated", + "/model.6/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.12/Concat_output_0" + ], + "thresholds": [ + [ + 6.380254 + ], + [ + 4.315249 + ] + ], + "cosine_similarity": "0.985989" + }, + "/model.13/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.12/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.13/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.987819 + ] + ], + "cosine_similarity": "0.989979" + }, + "/model.13/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.13/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.13/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 6.546908 + ] + ], + "cosine_similarity": "0.990556" + }, + "/model.13/Split": { + "type": "Split", + "inputs": [ + "/model.13/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.13/Split_output_0", + "/model.13/Split_output_1" + ], + "thresholds": [ + [ + 4.745483 + ] + ], + "cosine_similarity": "0.991098" + }, + "/model.13/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.13/Split_output_1_calibrated" + ], + "outputs": [ + "/model.13/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 4.745483 + ] + ], + "cosine_similarity": "0.983283" + }, + "/model.13/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.13/Split_output_1_calibrated" + ], + "outputs": [ + "/model.13/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 4.745483 + ] + ], + "cosine_similarity": "0.982005" + }, + "/model.13/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.13/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 3.179342 + ] + ], + "cosine_similarity": "0.982556" + }, + "/model.13/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.13/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 7.268571 + ] + ], + "cosine_similarity": "0.976270" + }, + "/model.13/m.0/m/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.13/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 2.799561 + ] + ], + "cosine_similarity": "0.975905" + }, + "/model.13/m.0/m/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.13/m.0/m/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 6.142379 + ] + ], + "cosine_similarity": "0.963430" + }, + "/model.13/m.0/m/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.13/m.0/m/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 4.78456 + ] + ], + "cosine_similarity": "0.975685" + }, + "/model.13/m.0/m/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.13/m.0/m/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 6.785208 + ] + ], + "cosine_similarity": "0.978614" + }, + "/model.13/m.0/m/m.0/Add": { + "type": "Add", + "inputs": [ + "/model.13/m.0/cv1/act/Mul_output_0_calibrated", + "/model.13/m.0/m/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.0/Add_output_0" + ], + "thresholds": [ + [ + 2.799561 + ], + [ + 6.682704 + ] + ], + "cosine_similarity": "0.980074" + }, + "/model.13/m.0/m/m.1/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.13/m.0/m/m.0/Add_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.1/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 7.642927 + ] + ], + "cosine_similarity": "0.973039" + }, + "/model.13/m.0/m/m.1/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.13/m.0/m/m.1/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.1/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 5.96029 + ] + ], + "cosine_similarity": "0.964364" + }, + "/model.13/m.0/m/m.1/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.13/m.0/m/m.1/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.1/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 4.298175 + ] + ], + "cosine_similarity": "0.990541" + }, + "/model.13/m.0/m/m.1/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.13/m.0/m/m.1/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.1/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 8.554393 + ] + ], + "cosine_similarity": "0.990215" + }, + "/model.13/m.0/m/m.1/Add": { + "type": "Add", + "inputs": [ + "/model.13/m.0/m/m.0/Add_output_0_calibrated", + "/model.13/m.0/m/m.1/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/m/m.1/Add_output_0" + ], + "thresholds": [ + [ + 7.642927 + ], + [ + 8.55092 + ] + ], + "cosine_similarity": "0.991257" + }, + "/model.13/m.0/Concat": { + "type": "Concat", + "inputs": [ + "/model.13/m.0/m/m.1/Add_output_0_calibrated", + "/model.13/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/Concat_output_0" + ], + "thresholds": [ + [ + 11.096809 + ], + [ + 11.096809 + ] + ], + "cosine_similarity": "0.990729" + }, + "/model.13/m.0/cv3/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.13/m.0/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/cv3/conv/Conv_output_0" + ], + "thresholds": [ + [ + 11.096809 + ] + ], + "cosine_similarity": "0.968278" + }, + "/model.13/m.0/cv3/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.13/m.0/cv3/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.13/m.0/cv3/act/Mul_output_0" + ], + "thresholds": [ + [ + 7.182353 + ] + ], + "cosine_similarity": "0.954794" + }, + "/model.13/Concat": { + "type": "Concat", + "inputs": [ + "/model.13/Split_output_0_calibrated", + "/model.13/Split_output_1_calibrated", + "/model.13/m.0/cv3/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.13/Concat_output_0" + ], + "thresholds": [ + [ + 4.745483 + ], + [ + 4.745483 + ], + [ + 5.119034 + ] + ], + "cosine_similarity": "0.982025" + }, + "/model.13/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.13/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.13/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.119034 + ] + ], + "cosine_similarity": "0.980723" + }, + "/model.13/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.13/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.13/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 7.491023 + ] + ], + "cosine_similarity": "0.974762" + }, + "/model.14/Resize": { + "type": "Resize", + "inputs": [ + "/model.13/cv2/act/Mul_output_0_calibrated", + "/model.11/Constant_1_output_0", + "/model.11/Constant_output_0" + ], + "outputs": [ + "/model.14/Resize_output_0" + ], + "thresholds": [ + [ + 5.996559 + ], + [], + [] + ], + "cosine_similarity": "0.974785" + }, + "/model.15/Concat": { + "type": "Concat", + "inputs": [ + "/model.14/Resize_output_0_calibrated", + "/model.4/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.15/Concat_output_0" + ], + "thresholds": [ + [ + 5.996559 + ], + [ + 3.117471 + ] + ], + "cosine_similarity": "0.977316" + }, + "/model.16/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.15/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.16/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.739119 + ] + ], + "cosine_similarity": "0.990095" + }, + "/model.16/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.16/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.16/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 4.041008 + ] + ], + "cosine_similarity": "0.992167" + }, + "/model.16/Split": { + "type": "Split", + "inputs": [ + "/model.16/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.16/Split_output_0", + "/model.16/Split_output_1" + ], + "thresholds": [ + [ + 3.871599 + ] + ], + "cosine_similarity": "0.993017" + }, + "/model.16/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/Split_output_1_calibrated" + ], + "outputs": [ + "/model.16/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 3.871599 + ] + ], + "cosine_similarity": "0.985172" + }, + "/model.16/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/Split_output_1_calibrated" + ], + "outputs": [ + "/model.16/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 3.871599 + ] + ], + "cosine_similarity": "0.985501" + }, + "/model.16/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.16/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 1.835977 + ] + ], + "cosine_similarity": "0.989360" + }, + "/model.16/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.16/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 5.852227 + ] + ], + "cosine_similarity": "0.987262" + }, + "/model.16/m.0/m/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 1.565018 + ] + ], + "cosine_similarity": "0.958495" + }, + "/model.16/m.0/m/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.16/m.0/m/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 5.359318 + ] + ], + "cosine_similarity": "0.962332" + }, + "/model.16/m.0/m/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/m.0/m/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.297312 + ] + ], + "cosine_similarity": "0.950040" + }, + "/model.16/m.0/m/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.16/m.0/m/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 6.356898 + ] + ], + "cosine_similarity": "0.953116" + }, + "/model.16/m.0/m/m.0/Add": { + "type": "Add", + "inputs": [ + "/model.16/m.0/cv1/act/Mul_output_0_calibrated", + "/model.16/m.0/m/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.0/Add_output_0" + ], + "thresholds": [ + [ + 1.565018 + ], + [ + 6.261416 + ] + ], + "cosine_similarity": "0.963347" + }, + "/model.16/m.0/m/m.1/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/m.0/m/m.0/Add_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.1/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 6.360763 + ] + ], + "cosine_similarity": "0.964610" + }, + "/model.16/m.0/m/m.1/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.16/m.0/m/m.1/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.1/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 6.518127 + ] + ], + "cosine_similarity": "0.977967" + }, + "/model.16/m.0/m/m.1/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/m.0/m/m.1/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.1/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 4.790986 + ] + ], + "cosine_similarity": "0.982150" + }, + "/model.16/m.0/m/m.1/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.16/m.0/m/m.1/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.1/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 14.070894 + ] + ], + "cosine_similarity": "0.984414" + }, + "/model.16/m.0/m/m.1/Add": { + "type": "Add", + "inputs": [ + "/model.16/m.0/m/m.0/Add_output_0_calibrated", + "/model.16/m.0/m/m.1/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/m/m.1/Add_output_0" + ], + "thresholds": [ + [ + 6.360763 + ], + [ + 14.070884 + ] + ], + "cosine_similarity": "0.983990" + }, + "/model.16/m.0/Concat": { + "type": "Concat", + "inputs": [ + "/model.16/m.0/m/m.1/Add_output_0_calibrated", + "/model.16/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/Concat_output_0" + ], + "thresholds": [ + [ + 14.405844 + ], + [ + 14.405844 + ] + ], + "cosine_similarity": "0.984136" + }, + "/model.16/m.0/cv3/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/m.0/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/cv3/conv/Conv_output_0" + ], + "thresholds": [ + [ + 14.405844 + ] + ], + "cosine_similarity": "0.957334" + }, + "/model.16/m.0/cv3/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.16/m.0/cv3/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.16/m.0/cv3/act/Mul_output_0" + ], + "thresholds": [ + [ + 8.348403 + ] + ], + "cosine_similarity": "0.965743" + }, + "/model.16/Concat": { + "type": "Concat", + "inputs": [ + "/model.16/Split_output_0_calibrated", + "/model.16/Split_output_1_calibrated", + "/model.16/m.0/cv3/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.16/Concat_output_0" + ], + "thresholds": [ + [ + 3.871599 + ], + [ + 3.871599 + ], + [ + 7.168262 + ] + ], + "cosine_similarity": "0.977148" + }, + "/model.16/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.16/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 7.168262 + ] + ], + "cosine_similarity": "0.964487" + }, + "/model.16/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.16/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.16/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 11.611321 + ] + ], + "cosine_similarity": "0.978834" + }, + "/model.17/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.17/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.130523 + ] + ], + "cosine_similarity": "0.950695" + }, + "/model.23/one2one_cv2.0/one2one_cv2.0.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.130523 + ] + ], + "cosine_similarity": "0.984795" + }, + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.16/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.130523 + ] + ], + "cosine_similarity": "0.987580" + }, + "/model.17/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.17/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.17/act/Mul_output_0" + ], + "thresholds": [ + [ + 6.965639 + ] + ], + "cosine_similarity": "0.930396" + }, + "/model.23/one2one_cv2.0/one2one_cv2.0.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 13.213612 + ] + ], + "cosine_similarity": "0.985999" + }, + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 20.750227 + ] + ], + "cosine_similarity": "0.987856" + }, + "/model.18/Concat": { + "type": "Concat", + "inputs": [ + "/model.17/act/Mul_output_0_calibrated", + "/model.13/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.18/Concat_output_0" + ], + "thresholds": [ + [ + 5.996559 + ], + [ + 5.996559 + ] + ], + "cosine_similarity": "0.951447" + }, + "/model.23/one2one_cv2.0/one2one_cv2.0.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 13.130467 + ] + ], + "cosine_similarity": "0.967557" + }, + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 20.750227 + ] + ], + "cosine_similarity": "0.970183" + }, + "/model.19/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.18/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.19/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.996559 + ] + ], + "cosine_similarity": "0.958548" + }, + "/model.23/one2one_cv2.0/one2one_cv2.0.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 8.27278 + ] + ], + "cosine_similarity": "0.963802" + }, + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 13.748652 + ] + ], + "cosine_similarity": "0.923001" + }, + "/model.19/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.19/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.19/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 7.410472 + ] + ], + "cosine_similarity": "0.949418" + }, + "/model.23/one2one_cv2.0/one2one_cv2.0.2/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.2/Conv_output_0" + ], + "thresholds": [ + [ + 3.291399 + ] + ], + "cosine_similarity": "0.989597" + }, + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.0/one2one_cv3.0.0.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.691782 + ] + ], + "cosine_similarity": "0.899571" + }, + "/model.19/Split": { + "type": "Split", + "inputs": [ + "/model.19/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.19/Split_output_0", + "/model.19/Split_output_1" + ], + "thresholds": [ + [ + 7.204366 + ] + ], + "cosine_similarity": "0.948781" + }, + "/model.19/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/Split_output_1_calibrated" + ], + "outputs": [ + "/model.19/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 7.204366 + ] + ], + "cosine_similarity": "0.970307" + }, + "/model.19/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/Split_output_1_calibrated" + ], + "outputs": [ + "/model.19/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 7.204366 + ] + ], + "cosine_similarity": "0.937324" + }, + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 22.567495 + ] + ], + "cosine_similarity": "0.920887" + }, + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 19.850536 + ] + ], + "cosine_similarity": "0.846682" + }, + "/model.19/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.19/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 3.30193 + ] + ], + "cosine_similarity": "0.970815" + }, + "/model.19/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.19/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 8.42875 + ] + ], + "cosine_similarity": "0.932735" + }, + "/model.19/m.0/m/m.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 2.305253 + ] + ], + "cosine_similarity": "0.944274" + }, + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 45.459076 + ] + ], + "cosine_similarity": "0.889765" + }, + "/model.23/one2one_cv3.0/one2one_cv3.0.2/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.1/one2one_cv3.0.1.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.2/Conv_output_0" + ], + "thresholds": [ + [ + 25.472113 + ] + ], + "cosine_similarity": "0.985422" + }, + "/model.19/m.0/m/m.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.19/m.0/m/m.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 6.606009 + ] + ], + "cosine_similarity": "0.927633" + }, + "/model.19/m.0/m/m.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/m.0/m/m.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 4.805114 + ] + ], + "cosine_similarity": "0.960524" + }, + "/model.19/m.0/m/m.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.19/m.0/m/m.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 5.541873 + ] + ], + "cosine_similarity": "0.966209" + }, + "/model.19/m.0/m/m.0/Add": { + "type": "Add", + "inputs": [ + "/model.19/m.0/cv1/act/Mul_output_0_calibrated", + "/model.19/m.0/m/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.0/Add_output_0" + ], + "thresholds": [ + [ + 2.305253 + ], + [ + 3.865216 + ] + ], + "cosine_similarity": "0.971696" + }, + "/model.19/m.0/m/m.1/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/m.0/m/m.0/Add_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.1/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 4.538846 + ] + ], + "cosine_similarity": "0.955401" + }, + "/model.19/m.0/m/m.1/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.19/m.0/m/m.1/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.1/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 6.860063 + ] + ], + "cosine_similarity": "0.947777" + }, + "/model.19/m.0/m/m.1/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/m.0/m/m.1/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.1/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.408251 + ] + ], + "cosine_similarity": "0.970424" + }, + "/model.19/m.0/m/m.1/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.19/m.0/m/m.1/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.1/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 17.393373 + ] + ], + "cosine_similarity": "0.974251" + }, + "/model.19/m.0/m/m.1/Add": { + "type": "Add", + "inputs": [ + "/model.19/m.0/m/m.0/Add_output_0_calibrated", + "/model.19/m.0/m/m.1/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/m/m.1/Add_output_0" + ], + "thresholds": [ + [ + 4.538846 + ], + [ + 17.391962 + ] + ], + "cosine_similarity": "0.976167" + }, + "/model.19/m.0/Concat": { + "type": "Concat", + "inputs": [ + "/model.19/m.0/m/m.1/Add_output_0_calibrated", + "/model.19/m.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/Concat_output_0" + ], + "thresholds": [ + [ + 17.783072 + ], + [ + 17.783072 + ] + ], + "cosine_similarity": "0.973390" + }, + "/model.19/m.0/cv3/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/m.0/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/cv3/conv/Conv_output_0" + ], + "thresholds": [ + [ + 17.783072 + ] + ], + "cosine_similarity": "0.953354" + }, + "/model.19/m.0/cv3/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.19/m.0/cv3/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.19/m.0/cv3/act/Mul_output_0" + ], + "thresholds": [ + [ + 23.705538 + ] + ], + "cosine_similarity": "0.957748" + }, + "/model.19/Concat": { + "type": "Concat", + "inputs": [ + "/model.19/Split_output_0_calibrated", + "/model.19/Split_output_1_calibrated", + "/model.19/m.0/cv3/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.19/Concat_output_0" + ], + "thresholds": [ + [ + 7.204366 + ], + [ + 7.204366 + ], + [ + 8.930295 + ] + ], + "cosine_similarity": "0.955178" + }, + "/model.19/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.19/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 8.930295 + ] + ], + "cosine_similarity": "0.962929" + }, + "/model.19/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.19/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.19/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 20.850052 + ] + ], + "cosine_similarity": "0.963644" + }, + "/model.20/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.20/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.212772 + ] + ], + "cosine_similarity": "0.955497" + }, + "/model.23/one2one_cv2.1/one2one_cv2.1.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.212772 + ] + ], + "cosine_similarity": "0.980611" + }, + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.19/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 5.212772 + ] + ], + "cosine_similarity": "0.985661" + }, + "/model.20/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.20/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.20/act/Mul_output_0" + ], + "thresholds": [ + [ + 8.212664 + ] + ], + "cosine_similarity": "0.944386" + }, + "/model.23/one2one_cv2.1/one2one_cv2.1.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 10.986808 + ] + ], + "cosine_similarity": "0.983325" + }, + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 14.811512 + ] + ], + "cosine_similarity": "0.985446" + }, + "/model.21/Concat": { + "type": "Concat", + "inputs": [ + "/model.20/act/Mul_output_0_calibrated", + "/model.10/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.21/Concat_output_0" + ], + "thresholds": [ + [ + 6.380254 + ], + [ + 6.380254 + ] + ], + "cosine_similarity": "0.966577" + }, + "/model.23/one2one_cv2.1/one2one_cv2.1.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 10.986622 + ] + ], + "cosine_similarity": "0.969078" + }, + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 14.80188 + ] + ], + "cosine_similarity": "0.955590" + }, + "/model.22/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.21/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.22/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 6.380254 + ] + ], + "cosine_similarity": "0.977936" + }, + "/model.23/one2one_cv2.1/one2one_cv2.1.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 8.512777 + ] + ], + "cosine_similarity": "0.971563" + }, + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 9.171674 + ] + ], + "cosine_similarity": "0.915471" + }, + "/model.22/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.22/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.22/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 8.715706 + ] + ], + "cosine_similarity": "0.969077" + }, + "/model.23/one2one_cv2.1/one2one_cv2.1.2/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.2/Conv_output_0" + ], + "thresholds": [ + [ + 3.251755 + ] + ], + "cosine_similarity": "0.993338" + }, + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.0/one2one_cv3.1.0.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 6.952714 + ] + ], + "cosine_similarity": "0.926187" + }, + "/model.22/Split": { + "type": "Split", + "inputs": [ + "/model.22/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.22/Split_output_0", + "/model.22/Split_output_1" + ], + "thresholds": [ + [ + 8.309907 + ] + ], + "cosine_similarity": "0.965075" + }, + "/model.22/m.0/m.0.0/cv1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/Split_output_1_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.0/cv1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 8.309907 + ] + ], + "cosine_similarity": "0.985673" + }, + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 25.589237 + ] + ], + "cosine_similarity": "0.938265" + }, + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 18.712719 + ] + ], + "cosine_similarity": "0.903565" + }, + "/model.22/m.0/m.0.0/cv1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.22/m.0/m.0.0/cv1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.0/cv1/act/Mul_output_0" + ], + "thresholds": [ + [ + 7.482949 + ] + ], + "cosine_similarity": "0.988338" + }, + "/model.22/m.0/m.0.0/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/m.0/m.0.0/cv1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.0/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 6.614678 + ] + ], + "cosine_similarity": "0.990393" + }, + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 45.683743 + ] + ], + "cosine_similarity": "0.907712" + }, + "/model.23/one2one_cv3.1/one2one_cv3.1.2/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.1/one2one_cv3.1.1.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.2/Conv_output_0" + ], + "thresholds": [ + [ + 42.13311 + ] + ], + "cosine_similarity": "0.989395" + }, + "/model.22/m.0/m.0.0/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.22/m.0/m.0.0/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.0/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 9.214955 + ] + ], + "cosine_similarity": "0.991100" + }, + "/model.22/m.0/m.0.0/Add": { + "type": "Add", + "inputs": [ + "/model.22/Split_output_1_calibrated", + "/model.22/m.0/m.0.0/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.0/Add_output_0" + ], + "thresholds": [ + [ + 8.309907 + ], + [ + 8.274255 + ] + ], + "cosine_similarity": "0.990157" + }, + "/model.22/m.0/m.0.1/attn/qkv/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/m.0/m.0.0/Add_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/qkv/conv/Conv_output_0" + ], + "thresholds": [ + [ + 8.539354 + ] + ], + "cosine_similarity": "0.987827" + }, + "/model.22/m.0/m.0.1/attn/Reshape": { + "type": "Reshape", + "inputs": [ + "/model.22/m.0/m.0.1/attn/qkv/conv/Conv_output_0_calibrated", + "/model.10/m/m.0/attn/Constant_output_0" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Reshape_output_0" + ], + "thresholds": [ + [ + 8.32244 + ], + [] + ], + "cosine_similarity": "0.987827" + }, + "/model.22/m.0/m.0.1/attn/Split": { + "type": "Split", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Reshape_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Split_output_0", + "/model.22/m.0/m.0.1/attn/Split_output_1", + "/model.22/m.0/m.0.1/attn/Split_output_2" + ], + "thresholds": [ + [ + 8.32244 + ] + ], + "cosine_similarity": "0.989705" + }, + "/model.22/m.0/m.0.1/attn/Mul": { + "type": "Conv", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Split_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Mul_output_0" + ], + "thresholds": [ + [ + 8.32244 + ] + ], + "cosine_similarity": "0.989628" + }, + "/model.22/m.0/m.0.1/attn/Reshape_2": { + "type": "Reshape", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Split_output_2", + "/model.10/m/m.0/attn/Constant_3_output_0" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Reshape_2_output_0" + ], + "thresholds": [ + [ + 8.32244 + ], + [] + ], + "cosine_similarity": "0.986348" + }, + "/model.22/m.0/m.0.1/attn/Transpose": { + "type": "Transpose", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Transpose_output_0" + ], + "thresholds": [ + [ + 1.127814 + ] + ], + "cosine_similarity": "0.989628" + }, + "/model.22/m.0/m.0.1/attn/pe/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Reshape_2_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/pe/conv/Conv_output_0" + ], + "thresholds": [ + [ + 8.32244 + ] + ], + "cosine_similarity": "0.981477" + }, + "/model.22/m.0/m.0.1/attn/MatMul": { + "type": "MatMul", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Transpose_output_0_calibrated", + "/model.22/m.0/m.0.1/attn/Split_output_1" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/MatMul_output_0" + ], + "thresholds": [ + [ + 1.127814 + ], + [ + 8.32244 + ] + ], + "cosine_similarity": "0.982834" + }, + "/model.22/m.0/m.0.1/attn/Softmax_reducemax_FROM_QUANTIZED_SOFTMAX": { + "type": "ReduceMax", + "inputs": [ + "/model.22/m.0/m.0.1/attn/MatMul_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Softmax_output_0_max" + ], + "thresholds": [ + [ + 24.717962 + ] + ], + "cosine_similarity": "0.998106" + }, + "/model.22/m.0/m.0.1/attn/Softmax_sub_FROM_QUANTIZED_SOFTMAX": { + "type": "Sub", + "inputs": [ + "/model.22/m.0/m.0.1/attn/MatMul_output_0_calibrated", + "/model.22/m.0/m.0.1/attn/Softmax_output_0_max" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Softmax_output_0_sub" + ], + "thresholds": [ + [ + 24.717962 + ], + [ + 24.717962 + ] + ], + "cosine_similarity": "0.944814" + }, + "/model.22/m.0/m.0.1/attn/Softmax_exp_FROM_QUANTIZED_SOFTMAX": { + "type": "Exp", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Softmax_output_0_sub_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Softmax_output_0_exp" + ], + "thresholds": [ + [ + 5.64418 + ] + ], + "cosine_similarity": "0.932880" + }, + "/model.22/m.0/m.0.1/attn/Softmax_reducesum_FROM_QUANTIZED_SOFTMAX": { + "type": "ReduceSum", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Softmax_output_0_exp_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Softmax_output_0_reducesum" + ], + "thresholds": [ + [ + 1.0 + ] + ], + "cosine_similarity": "0.963200" + }, + "/model.22/m.0/m.0.1/attn/Softmax_reciprocal_FROM_QUANTIZED_SOFTMAX": { + "type": "Reciprocal", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Softmax_output_0_reducesum_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Softmax_output_0_reciprocal" + ], + "thresholds": [ + [ + 138.663849 + ] + ], + "cosine_similarity": "0.976782" + }, + "/model.22/m.0/m.0.1/attn/Softmax_mul_FROM_QUANTIZED_SOFTMAX": { + "type": "Mul", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Softmax_output_0_exp_calibrated", + "/model.22/m.0/m.0.1/attn/Softmax_output_0_reciprocal_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Softmax_output_0" + ], + "thresholds": [ + [ + 1.0 + ], + [ + 1.0 + ] + ], + "cosine_similarity": "0.973404" + }, + "/model.22/m.0/m.0.1/attn/Transpose_1": { + "type": "Transpose", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Softmax_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Transpose_1_output_0" + ], + "thresholds": [ + [ + 0.703209 + ] + ], + "cosine_similarity": "0.973389" + }, + "/model.22/m.0/m.0.1/attn/MatMul_1": { + "type": "MatMul", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Split_output_2", + "/model.22/m.0/m.0.1/attn/Transpose_1_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/MatMul_1_output_0" + ], + "thresholds": [ + [ + 8.32244 + ], + [ + 0.703209 + ] + ], + "cosine_similarity": "0.981709" + }, + "/model.22/m.0/m.0.1/attn/Reshape_1": { + "type": "Reshape", + "inputs": [ + "/model.22/m.0/m.0.1/attn/MatMul_1_output_0_calibrated", + "/model.10/m/m.0/attn/Constant_3_output_0" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Reshape_1_output_0" + ], + "thresholds": [ + [ + 7.788572 + ], + [] + ], + "cosine_similarity": "0.981709" + }, + "/model.22/m.0/m.0.1/attn/Add": { + "type": "Add", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Reshape_1_output_0_calibrated", + "/model.22/m.0/m.0.1/attn/pe/conv/Conv_output_0" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/Add_output_0" + ], + "thresholds": [ + [ + 7.788572 + ], + [] + ], + "cosine_similarity": "0.977506" + }, + "/model.22/m.0/m.0.1/attn/proj/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/m.0/m.0.1/attn/Add_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/attn/proj/conv/Conv_output_0" + ], + "thresholds": [ + [ + 7.959349 + ] + ], + "cosine_similarity": "0.981540" + }, + "/model.22/m.0/m.0.1/Add": { + "type": "Add", + "inputs": [ + "/model.22/m.0/m.0.0/Add_output_0_calibrated", + "/model.22/m.0/m.0.1/attn/proj/conv/Conv_output_0" + ], + "outputs": [ + "/model.22/m.0/m.0.1/Add_output_0" + ], + "thresholds": [ + [ + 8.539354 + ], + [] + ], + "cosine_similarity": "0.987797" + }, + "/model.22/m.0/m.0.1/ffn/ffn.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/m.0/m.0.1/Add_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/ffn/ffn.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 9.519488 + ] + ], + "cosine_similarity": "0.990591" + }, + "/model.22/m.0/m.0.1/ffn/ffn.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.22/m.0/m.0.1/ffn/ffn.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/ffn/ffn.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 14.447047 + ] + ], + "cosine_similarity": "0.979219" + }, + "/model.22/m.0/m.0.1/ffn/ffn.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/m.0/m.0.1/ffn/ffn.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.22/m.0/m.0.1/ffn/ffn.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 7.856326 + ] + ], + "cosine_similarity": "0.980551" + }, + "/model.22/m.0/m.0.1/Add_1": { + "type": "Add", + "inputs": [ + "/model.22/m.0/m.0.1/Add_output_0_calibrated", + "/model.22/m.0/m.0.1/ffn/ffn.1/conv/Conv_output_0" + ], + "outputs": [ + "/model.22/m.0/m.0.1/Add_1_output_0" + ], + "thresholds": [ + [ + 9.519488 + ], + [] + ], + "cosine_similarity": "0.986156" + }, + "/model.22/Concat": { + "type": "Concat", + "inputs": [ + "/model.22/Split_output_0_calibrated", + "/model.22/Split_output_1_calibrated", + "/model.22/m.0/m.0.1/Add_1_output_0_calibrated" + ], + "outputs": [ + "/model.22/Concat_output_0" + ], + "thresholds": [ + [ + 8.309907 + ], + [ + 8.309907 + ], + [ + 9.728945 + ] + ], + "cosine_similarity": "0.981000" + }, + "/model.22/cv2/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/Concat_output_0_calibrated" + ], + "outputs": [ + "/model.22/cv2/conv/Conv_output_0" + ], + "thresholds": [ + [ + 9.728945 + ] + ], + "cosine_similarity": "0.990501" + }, + "/model.22/cv2/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.22/cv2/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.22/cv2/act/Mul_output_0" + ], + "thresholds": [ + [ + 15.447649 + ] + ], + "cosine_similarity": "0.990327" + }, + "/model.23/one2one_cv2.2/one2one_cv2.2.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 11.142118 + ] + ], + "cosine_similarity": "0.997510" + }, + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.22/cv2/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 11.142118 + ] + ], + "cosine_similarity": "0.987130" + }, + "/model.23/one2one_cv2.2/one2one_cv2.2.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 7.457223 + ] + ], + "cosine_similarity": "0.998104" + }, + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 13.888234 + ] + ], + "cosine_similarity": "0.986272" + }, + "/model.23/one2one_cv2.2/one2one_cv2.2.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 7.452921 + ] + ], + "cosine_similarity": "0.994880" + }, + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 12.587955 + ] + ], + "cosine_similarity": "0.985228" + }, + "/model.23/one2one_cv2.2/one2one_cv2.2.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 7.152094 + ] + ], + "cosine_similarity": "0.994962" + }, + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 9.083169 + ] + ], + "cosine_similarity": "0.980727" + }, + "/model.23/one2one_cv2.2/one2one_cv2.2.2/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.2/Conv_output_0" + ], + "thresholds": [ + [ + 7.062115 + ] + ], + "cosine_similarity": "0.999024" + }, + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.0/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.0/one2one_cv3.2.0.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.0/conv/Conv_output_0" + ], + "thresholds": [ + [ + 7.830069 + ] + ], + "cosine_similarity": "0.980994" + }, + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.0/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.0/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.0/act/Mul_output_0" + ], + "thresholds": [ + [ + 23.595463 + ] + ], + "cosine_similarity": "0.981529" + }, + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.1/conv/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.0/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.1/conv/Conv_output_0" + ], + "thresholds": [ + [ + 20.324806 + ] + ], + "cosine_similarity": "0.979626" + }, + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.1/act/Mul": { + "type": "HzSwish", + "inputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.1/conv/Conv_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.1/act/Mul_output_0" + ], + "thresholds": [ + [ + 35.943119 + ] + ], + "cosine_similarity": "0.978119" + }, + "/model.23/one2one_cv3.2/one2one_cv3.2.2/Conv": { + "type": "Conv", + "inputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.1/one2one_cv3.2.1.1/act/Mul_output_0_calibrated" + ], + "outputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.2/Conv_output_0" + ], + "thresholds": [ + [ + 21.889353 + ] + ], + "cosine_similarity": "0.998478" + }, + "bpu_output_cls_s8": { + "type": "Transpose", + "inputs": [ + "/model.23/one2one_cv3.0/one2one_cv3.0.2/Conv_output_0" + ], + "outputs": [ + "cls_s8" + ], + "thresholds": [ + [] + ], + "cosine_similarity": "0.985422" + }, + "bpu_output_box_s8": { + "type": "Transpose", + "inputs": [ + "/model.23/one2one_cv2.0/one2one_cv2.0.2/Conv_output_0" + ], + "outputs": [ + "box_s8" + ], + "thresholds": [ + [] + ], + "cosine_similarity": "0.989597" + }, + "bpu_output_cls_s16": { + "type": "Transpose", + "inputs": [ + "/model.23/one2one_cv3.1/one2one_cv3.1.2/Conv_output_0" + ], + "outputs": [ + "cls_s16" + ], + "thresholds": [ + [] + ], + "cosine_similarity": "0.989395" + }, + "bpu_output_box_s16": { + "type": "Transpose", + "inputs": [ + "/model.23/one2one_cv2.1/one2one_cv2.1.2/Conv_output_0" + ], + "outputs": [ + "box_s16" + ], + "thresholds": [ + [] + ], + "cosine_similarity": "0.993338" + }, + "bpu_output_cls_s32": { + "type": "Transpose", + "inputs": [ + "/model.23/one2one_cv3.2/one2one_cv3.2.2/Conv_output_0" + ], + "outputs": [ + "cls_s32" + ], + "thresholds": [ + [] + ], + "cosine_similarity": "0.998478" + }, + "bpu_output_box_s32": { + "type": "Transpose", + "inputs": [ + "/model.23/one2one_cv2.2/one2one_cv2.2.2/Conv_output_0" + ], + "outputs": [ + "box_s32" + ], + "thresholds": [ + [] + ], + "cosine_similarity": "0.999024" + } +} \ No newline at end of file diff --git a/x5_quantization/mapper_output_bpu/best_bpu_bayese_640x640_nv12_quantized_model.onnx b/x5_quantization/mapper_output_bpu/best_bpu_bayese_640x640_nv12_quantized_model.onnx new file mode 100644 index 0000000..792b948 Binary files /dev/null and b/x5_quantization/mapper_output_bpu/best_bpu_bayese_640x640_nv12_quantized_model.onnx differ diff --git a/x5_quantization/postprocess_yolo26.py b/x5_quantization/postprocess_yolo26.py new file mode 100644 index 0000000..9c90b29 --- /dev/null +++ b/x5_quantization/postprocess_yolo26.py @@ -0,0 +1,78 @@ +#!/usr/bin/env python3 +"""CPU post-processing for the six raw outputs of best_bpu.onnx.""" + +from __future__ import annotations + +import numpy as np + + +def _nms(boxes: np.ndarray, scores: np.ndarray, iou_threshold: float) -> np.ndarray: + order = scores.argsort()[::-1] + kept: list[int] = [] + while order.size: + current = int(order[0]) + kept.append(current) + if order.size == 1: + break + rest = order[1:] + xx1 = np.maximum(boxes[current, 0], boxes[rest, 0]) + yy1 = np.maximum(boxes[current, 1], boxes[rest, 1]) + xx2 = np.minimum(boxes[current, 2], boxes[rest, 2]) + yy2 = np.minimum(boxes[current, 3], boxes[rest, 3]) + inter = np.maximum(0.0, xx2 - xx1) * np.maximum(0.0, yy2 - yy1) + area = (boxes[:, 2] - boxes[:, 0]) * (boxes[:, 3] - boxes[:, 1]) + union = area[current] + area[rest] - inter + order = rest[(inter / np.maximum(union, 1e-9)) <= iou_threshold] + return np.asarray(kept, dtype=np.int64) + + +def postprocess( + outputs: list[np.ndarray] | tuple[np.ndarray, ...], + classes: int = 4, + score_threshold: float = 0.25, + iou_threshold: float = 0.7, +) -> tuple[np.ndarray, np.ndarray, np.ndarray]: + """Decode `(cls_s8, box_s8, cls_s16, box_s16, cls_s32, box_s32)` outputs. + + Returns `(boxes_xyxy, scores, class_ids)` in the 640x640 model coordinate + system. Scale boxes back to the camera image after this function when using + letterbox preprocessing. + """ + if len(outputs) != 6: + raise ValueError(f"expected six outputs, got {len(outputs)}") + conf_raw = -np.log(1.0 / score_threshold - 1.0) + detections: list[np.ndarray] = [] + for index, stride in enumerate((8, 16, 32)): + cls = np.asarray(outputs[index * 2]).reshape(-1, classes).astype(np.float32) + box = np.asarray(outputs[index * 2 + 1]).reshape(-1, 4).astype(np.float32) + max_logits = cls.max(axis=1) + valid = np.flatnonzero(max_logits >= conf_raw) + if valid.size == 0: + continue + height = width = 640 // stride + grid_y, grid_x = np.indices((height, width)) + grid = np.stack((grid_x, grid_y), axis=-1).reshape(-1, 2).astype(np.float32) + 0.5 + anchor = grid[valid] + distances = box[valid] + xyxy = np.column_stack( + ((anchor[:, 0] - distances[:, 0]) * stride, + (anchor[:, 1] - distances[:, 1]) * stride, + (anchor[:, 0] + distances[:, 2]) * stride, + (anchor[:, 1] + distances[:, 3]) * stride) + ) + scores = 1.0 / (1.0 + np.exp(-max_logits[valid])) + ids = cls[valid].argmax(axis=1).astype(np.float32) + detections.append(np.column_stack((xyxy, scores, ids))) + + if not detections: + return np.empty((0, 4), np.float32), np.empty((0,), np.float32), np.empty((0,), np.int32) + dets = np.concatenate(detections, axis=0) + kept: list[np.ndarray] = [] + for class_id in np.unique(dets[:, 5]).astype(np.int32): + class_dets = dets[dets[:, 5] == class_id] + indices = _nms(class_dets[:, :4], class_dets[:, 4], iou_threshold) + kept.append(class_dets[indices]) + if not kept: + return np.empty((0, 4), np.float32), np.empty((0,), np.float32), np.empty((0,), np.int32) + result = np.concatenate(kept, axis=0) + return result[:, :4], result[:, 4], result[:, 5].astype(np.int32) diff --git a/x5_quantization/prepare_calibration.py b/x5_quantization/prepare_calibration.py new file mode 100644 index 0000000..c54cdc0 --- /dev/null +++ b/x5_quantization/prepare_calibration.py @@ -0,0 +1,58 @@ +#!/usr/bin/env python3 +"""Create Horizon hb_mapper calibration feature maps from the YOLO dataset.""" + +from __future__ import annotations + +import argparse +from pathlib import Path + +import numpy as np +from PIL import Image + + +IMAGE_EXTS = {".jpg", ".jpeg", ".png", ".bmp", ".webp"} + + +def resize_rgb(image: Image.Image, size: int) -> np.ndarray: + image = image.convert("RGB") + resized = image.resize((size, size), Image.Resampling.BILINEAR) + array = np.asarray(resized, dtype=np.float32) + return np.transpose(array, (2, 0, 1))[None, ...] + + +def main() -> None: + parser = argparse.ArgumentParser() + parser.add_argument("--dataset", type=Path, required=True) + parser.add_argument("--output", type=Path, required=True) + parser.add_argument("--samples", type=int, default=128) + parser.add_argument("--size", type=int, default=640) + args = parser.parse_args() + + roots = [args.dataset / "images" / "train", args.dataset / "images" / "vel"] + images = sorted( + p for root in roots if root.is_dir() for p in root.iterdir() if p.suffix.lower() in IMAGE_EXTS + ) + if not images: + raise SystemExit(f"no images found below {args.dataset}") + count = min(args.samples, len(images)) + # Evenly spread samples over the sorted set so calibration is not dominated by one split. + indices = np.linspace(0, len(images) - 1, count, dtype=np.int64) + selected = [images[int(i)] for i in indices] + + args.output.mkdir(parents=True, exist_ok=True) + for old in args.output.iterdir(): + if old.is_file() and old.suffix in {".bin", ".rgbchw", ".txt"}: + old.unlink() + manifest = [] + for index, path in enumerate(selected): + data = resize_rgb(Image.open(path), args.size) + data.tofile(args.output / f"{index:05d}.rgbchw") + manifest.append(str(path.relative_to(args.dataset))) + (args.output.parent / "calibration_manifest.txt").write_text( + "\n".join(manifest) + "\n", encoding="utf-8" + ) + print(f"wrote {count} samples ({args.size}x{args.size}) to {args.output}") + + +if __name__ == "__main__": + main() diff --git a/x5_quantization/quantize_x5.sh b/x5_quantization/quantize_x5.sh new file mode 100755 index 0000000..8d27081 --- /dev/null +++ b/x5_quantization/quantize_x5.sh @@ -0,0 +1,58 @@ +#!/usr/bin/env bash +set -euo pipefail + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +MODEL_DIR="$(cd "${SCRIPT_DIR}/.." && pwd)" +REPO_DIR="$(cd "${MODEL_DIR}/.." && pwd)" +IMAGE="openexplorer/ai_toolchain_ubuntu_20_x5_cpu:v1.2.8" + +docker run --rm --platform linux/amd64 \ + -v "${REPO_DIR}:/workspace/smart_car_2026" \ + "${IMAGE}" bash -lc ' + set -euo pipefail + cd /workspace/smart_car_2026/model/x5_quantization + python3 extract_yolo26_bpu.py \ + --input ../best.onnx \ + --output best_bpu.onnx + python3 prepare_calibration.py \ + --dataset /workspace/smart_car_2026/dataset \ + --output calibration_data \ + --samples 50 + cat > best_bpu_int8.yaml <<"YAML" +model_parameters: + onnx_model: "./best_bpu.onnx" + march: "bayes-e" + layer_out_dump: false + working_dir: "mapper_output_bpu" + output_model_file_prefix: "best_bpu_bayese_640x640_nv12" + +input_parameters: + input_name: "images" + input_type_rt: "nv12" + input_type_train: "rgb" + input_layout_train: "NCHW" + norm_type: "data_scale" + scale_value: 0.003921568627451 + +calibration_parameters: + cal_data_dir: "./calibration_data" + cal_data_type: "float32" + calibration_type: "default" + optimization: "set_Softmax_input_int8,set_Softmax_output_int8" + +compiler_parameters: + jobs: 8 + compile_mode: "latency" + debug: true + optimize_level: "O3" +YAML + hb_mapper checker \ + --model best_bpu.onnx \ + --model-type onnx \ + --march bayes-e \ + --input-shape images 1x3x640x640 + hb_mapper makertbin \ + --config best_bpu_int8.yaml \ + --model-type onnx + ls -lh mapper_output_bpu/best_bpu_bayese_640x640_nv12.bin + '