hispark-modelzoo-deepsort / model-card.json
shadow-cann's picture
Add files using upload-large-folder tool
d8df29a verified
{
"name": "DeepSort",
"id": "j6v87p1oi000",
"description": "DeepSort是一种多目标跟踪方法,简单有效。该方法将外观信息集成起来,提高了分拣性能,能够在较长遮挡时间下仍能进行有效的跟踪。该框架将大量的复杂计算放入离线预训练阶段,这个阶段在重识别数据集上学习一个深度关联度量。在线应用阶段,建立度量,在视觉外观空间中使用最近邻查询跟踪关联。本模型能够在较快帧率下实现较高精度的识别。",
"category": "计算机视觉",
"framework": [
"PyTorch"
],
"supportOs": [
"OpenHarmony",
"Linux"
],
"computingPower": [
"Hi3403V100 SVP_NNN",
"Hi3403V100 NNN"
],
"tags": [
"多目标跟踪"
],
"repositoryUrl": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/tracking/deepsort",
"licenseUrl": "https://github.com/ZQPei/deep_sort_pytorch/blob/master/LICENSE",
"downloads": [
{
"fileName": "yolov5s_om-A8W8.om",
"variants": [
"编译模型 / A8W8"
]
},
{
"fileName": "reid_net_om-A8W8.om",
"variants": [
"编译模型 / A8W8"
]
},
{
"fileName": "yolov5s.om",
"variants": [
"编译模型 / FP16",
"编译模型 / OM 元数据 / A8W8"
]
},
{
"fileName": "reid_net.om",
"variants": [
"编译模型 / FP16",
"编译模型 / OM 元数据 / A8W8"
]
},
{
"fileName": "yolov5s.onnx",
"variants": [
"源模型 / 源模型下载",
"源模型 / 源模型元数据"
]
},
{
"fileName": "reid_net.onnx",
"variants": [
"源模型 / 源模型下载",
"源模型 / 源模型元数据"
]
}
],
"apiDetail": {
"createdBy": 137441035408492,
"creationDate": "2026-03-26 23:59:38",
"creationUserCN": "0e900d99dee8461b8",
"lastUpdatedBy": null,
"lastUpdateDate": "2026-03-27 19:43:15",
"lastUpdateUserCN": "0e900d99dee8461b8",
"rowIdx": -1,
"id": "j6v87p1oi000",
"name": "DeepSort",
"isBeta": 0,
"betaVersionDesc": "",
"description": "DeepSort是一种多目标跟踪方法,简单有效。该方法将外观信息集成起来,提高了分拣性能,能够在较长遮挡时间下仍能进行有效的跟踪。该框架将大量的复杂计算放入离线预训练阶段,这个阶段在重识别数据集上学习一个深度关联度量。在线应用阶段,建立度量,在视觉外观空间中使用最近邻查询跟踪关联。本模型能够在较快帧率下实现较高精度的识别。",
"parentId": "j6v87p1oi000",
"coverImageId": 1736139606130691,
"coverImageUrl": "https://openxinhuo-board-image.obs.cn-east-3.myhuaweicloud.com/1736139606130691%2F20260326235720.jpg",
"modelEffectId": 1736210009620483,
"modelEffectUrl": "https://openxinhuo-board-image.obs.cn-east-3.myhuaweicloud.com/1736210009620483%2Ffinal.mp4",
"computerVersion": [
"多目标跟踪"
],
"naturalLanguageProcess": [],
"multimodal": [],
"video": [],
"framework": [
"PyTorch"
],
"modelRepository": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/tracking/deepsort",
"originModel": [
{
"id": "1736138880516099",
"name": "yolov5s.onnx",
"url": null,
"size": "28944024"
},
{
"id": "1736138880516098",
"name": "reid_net.onnx",
"url": null,
"size": "44662689"
}
],
"originModelLink": "",
"dataSet": "",
"modelLicense": "https://github.com/ZQPei/deep_sort_pytorch/blob/master/LICENSE",
"detailParams": [
{
"name": "计算量",
"value": "2.253GFLOPs"
},
{
"name": "输入",
"value": "128x64"
},
{
"name": "参数量",
"value": "11.164M"
}
],
"quickStart": {
"url": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/tracking/deepsort",
"markDownUrl": "",
"developLanguage": [
{
"language": "C++",
"context": "{\"ops\":[{\"attributes\":{\"line-height\":\"19px\",\"size\":\"14px\",\"background\":\"#ffffff\",\"color\":\"#3b3b3b\"},\"insert\":\"模型可以通过以下代码完成快速推理\"},{\"insert\":\"\\nint main(int argc, char **argv) {\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"  if (argc < 4) {\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"    std::cerr << \\\"Usage: ./main <yolov5.om> <resnet18.om> \\\"\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"           \\\"<image_dir_or_file> [config.json]\\\" << std::endl;\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"    return -1;\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"  }\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\\n\"},{\"insert\":\"  // 初始化 NPU 驱动设备\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"  if (Infer::DevInit(\\\"\\\") != Infer::SUCCESS) {\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"    std::cerr << \\\"Device Init Failed.\\\" << std::endl;\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"    return -1;\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"  }\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\\n\"},{\"insert\":\"  // 构建默认超参数配置\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"  DeepSORTConfig config;\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"  config.yoloModelPath = argv[1];\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"  config.resnetModelPath = argv[2];\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"  config.yoloConfThres = 0.3f;\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"  config.yoloNmsThres = 0.4f;\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"  config.maxCosineDistance = 0.15f;\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"  config.nnBudget = 100;\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\\n\"},{\"insert\":\"  // 卡尔曼滤波器数学对齐自检\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"  RunKalmanParityCheck();\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"  std::string configPath = (argc > 4) ? argv[4] : \\\"\\\";\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"  if (!configPath.empty()) {\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"    LoadConfigFromJson(configPath, config);\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"  }\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\\n\"},{\"insert\":\"  std::string inputPath = argv[3];\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"  std::string outFilename = BuildOutputFilename(inputPath);\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"  {\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"    DeepSortController deepSort(config);\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"    if (deepSort.Init() != Infer::SUCCESS) {\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"      std::cerr << \\\"DeepSort Init Failed.\\\" << std::endl;\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"      Infer::DevDeInit();\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"      return -1;\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"    }\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\\n\"},{\"insert\":\"    std::vector<std::string> framePaths = GetFramePaths(inputPath);\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"    if (framePaths.empty()) {\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"      std::cerr << \\\"No image files found in: \\\" << inputPath << std::endl;\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"      Infer::DevDeInit();\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"      return -1;\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"    }\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\\n\"},{\"insert\":\"    RunTrackingPipeline(deepSort, framePaths, outFilename);\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"  }\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\\n\"},{\"insert\":\"  Infer::DevDeInit();\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"  return 0;\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"}\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"attributes\":{\"line-height\":\"19px\",\"size\":\"14px\",\"background\":\"#ffffff\",\"color\":\"#3b3b3b\"},\"insert\":\"备注:上述C++代码依赖的动态库与头文件位于\"},{\"attributes\":{\"line-height\":\"19px\",\"size\":\"14px\",\"background\":\"#ffffff\",\"color\":\"#a31515\",\"link\":\"https://gitee.com/HiSpark/modelzoo/tree/master/samples/common\"},\"insert\":\"/samples/common\"},{\"attributes\":{\"line-height\":\"19px\",\"size\":\"14px\",\"background\":\"#ffffff\",\"color\":\"#3b3b3b\"},\"insert\":\"目录下,编译相关配置参考\"},{\"attributes\":{\"line-height\":\"19px\",\"size\":\"14px\",\"background\":\"#ffffff\",\"color\":\"#a31515\",\"link\":\"https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/tracking/deepsort/CMakeLists.txt\"},\"insert\":\"CMakeLists.txt\"},{\"attributes\":{\"line-height\":\"19px\",\"size\":\"14px\",\"background\":\"#ffffff\",\"color\":\"#3b3b3b\"},\"insert\":\"。\"},{\"insert\":\"\\n\"}]}"
}
]
},
"status": "released",
"currentHandler": "",
"currentHandlerName": "",
"jsonPath": "",
"modelAdaptor": [
{
"createdBy": null,
"creationDate": null,
"creationUserCN": null,
"lastUpdatedBy": null,
"lastUpdateDate": null,
"lastUpdateUserCN": null,
"rowIdx": -1,
"id": "i8ttm5k1tc00",
"name": "Hi3403V100 SVP_NNN",
"modelId": "j6v87p1oi000",
"modelName": "DeepSort",
"supportNames": [
"A8W8"
],
"toolkit": [
{
"name": "CANN工具",
"url": "https://gitee.com/link?target=https%3A%2F%2Fhispark-obs.obs.cn-east-3.myhuaweicloud.com%2FSVP_NNN_PC_V1.0.6.5.tgz",
"desc": "AI异构计算架构;提升计算效率的关键平台",
"imgId": "cann"
},
{
"name": "编译工具库",
"url": "https://gitee.com/HiSpark/pegasus/blob/Beta-v0.9.1/docs/Hi3403V100%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA%E6%8C%87%E5%8D%97/Hi3403V100%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA%E6%8C%87%E5%8D%97.md",
"desc": "高效编译,精准适配;AI性能优化,应用流畅运行",
"imgId": "tool"
},
{
"name": "SDK",
"url": "https://gitee.com/HiSpark/ss928v100_clang/tree/Beta-v0.9.1/",
"desc": "稳定、易用的设计;支撑客户快速产品量产",
"imgId": "sdk"
}
],
"supportOs": [
"OpenHarmony",
"Linux"
],
"supportQuantify": [
{
"createdBy": 137441035408492,
"creationDate": "2026-03-27 09:19:59",
"creationUserCN": "0e900d99dee8461b8",
"lastUpdatedBy": 137441035408492,
"lastUpdateDate": "2026-03-27 09:19:59",
"lastUpdateUserCN": "0e900d99dee8461b8",
"rowIdx": -1,
"id": "j738fv6gi000",
"name": "A8W8",
"computingId": "i8ttm5k1tc00",
"computingName": "Hi3403V100 SVP_NNN",
"omOfflineModelUrl": null,
"omOfflineModelId": null,
"omOfflineModelSize": null,
"omOfflineModelName": null,
"omOfflineModel": [
{
"id": "1736139253809155",
"name": "yolov5s.om",
"url": null,
"size": "8626175"
},
{
"id": "1736139255906306",
"name": "reid_net.om",
"url": null,
"size": "11310387"
}
],
"omOfflineModelLink": "",
"releaseTime": "2026-03-26",
"boardOs": "OpenHarmony",
"modelLicense": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/tracking/deepsort/LICENSE",
"modelPerformance": [
{
"performanceValue": "1.443",
"unit": "耗时(ms)",
"desc": ""
},
{
"performanceValue": "693.28",
"unit": "性能(fps)",
"desc": ""
},
{
"performanceValue": "59.863",
"unit": "内存(MB)",
"desc": ""
}
],
"deleted": 0
}
],
"deleted": 0
},
{
"createdBy": null,
"creationDate": null,
"creationUserCN": null,
"lastUpdatedBy": null,
"lastUpdateDate": null,
"lastUpdateUserCN": null,
"rowIdx": -1,
"id": "i8ttm5k1tc01",
"name": "Hi3403V100 NNN",
"modelId": "j6v87p1oi000",
"modelName": "DeepSort",
"supportNames": [
"A8W8",
"FP16"
],
"toolkit": [
{
"name": "CANN工具",
"url": "",
"desc": "5.30.t11.7.b140;(请联系FAE获取)",
"imgId": "cann"
},
{
"name": "编译工具链",
"url": "",
"desc": "aarch64-mix210-linux-gcc;(请联系FAE获取)",
"imgId": "tool"
},
{
"name": "SDK",
"url": "",
"desc": "SPC022;(请联系FAE获取)",
"imgId": "sdk"
}
],
"supportOs": [
"Linux"
],
"supportQuantify": [
{
"createdBy": 137441035408492,
"creationDate": "2026-03-27 09:19:59",
"creationUserCN": "0e900d99dee8461b8",
"lastUpdatedBy": 137441035408492,
"lastUpdateDate": "2026-03-27 09:19:59",
"lastUpdateUserCN": "0e900d99dee8461b8",
"rowIdx": -1,
"id": "j738fv7ki000",
"name": "FP16",
"computingId": "i8ttm5k1tc01",
"computingName": "Hi3403V100 NNN",
"omOfflineModelUrl": null,
"omOfflineModelId": null,
"omOfflineModelSize": null,
"omOfflineModelName": null,
"omOfflineModel": [
{
"id": "1736139107008515",
"name": "yolov5s.om",
"url": null,
"size": "16172192"
},
{
"id": "1736139107008513",
"name": "reid_net.om",
"url": null,
"size": "22616799"
}
],
"omOfflineModelLink": "",
"releaseTime": "2026-03-26",
"boardOs": "Linux",
"modelLicense": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/tracking/deepsort/LICENSE",
"modelPerformance": [
{
"performanceValue": "14.186",
"unit": "耗时(ms)",
"desc": ""
},
{
"performanceValue": "70.49",
"unit": "性能(fps)",
"desc": ""
},
{
"performanceValue": "157.676",
"unit": "内存(MB)",
"desc": ""
}
],
"deleted": 0
}
],
"deleted": 0
}
],
"saveType": null,
"deleteType": null,
"latest": "Y",
"deleted": 0,
"modelPhase": "released",
"remark": null,
"fileInfo": null,
"reviewType": null,
"owner": "0e900d99dee8461b8",
"ownerBy": 137441035408492,
"optional": null,
"optionalList": null,
"optionalBy": null,
"downloadNum": 82,
"collectNum": null,
"isCollect": null
}
}