| { |
| "name": "CrowdCount", |
| "id": "i9i4tr9hec00", |
| "description": "CrowdCount是一种基于多尺度卷积神经网络(MSCNN)的高精度人群计数模型。相比传统多列 / 多网络方法,它通过单列网络中的多尺度特征块(MSB)与尺度自适应密度图回归技术,能有效应对透视畸变导致的人物尺度差异问题,兼顾计数精度与模型轻量化,适用于监控图像、公共场所等密集人群计数场景。", |
| "category": "计算机视觉", |
| "framework": [ |
| "PyTorch" |
| ], |
| "supportOs": [ |
| "OpenHarmony", |
| "Linux" |
| ], |
| "computingPower": [ |
| "Hi3403V100 SVP_NNN", |
| "Hi3403V100 NNN" |
| ], |
| "tags": [ |
| "人群计数" |
| ], |
| "repositoryUrl": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/count/CrowdCount", |
| "licenseUrl": "https://github.com/zzubqh/CrowdCount/blob/master/LICENSE", |
| "downloads": [ |
| { |
| "fileName": "mscnn_model.onnx", |
| "variants": [ |
| "源模型 / 源模型下载", |
| "源模型 / 源模型元数据" |
| ] |
| }, |
| { |
| "fileName": "SVP_NNN_PC_V1.0.6.0.tgz", |
| "variants": [ |
| "附加资源 / 附加资源" |
| ] |
| } |
| ], |
| "apiDetail": { |
| "createdBy": 139318985286440, |
| "creationDate": "2025-12-25 15:03:50", |
| "creationUserCN": "sloanqin", |
| "lastUpdatedBy": null, |
| "lastUpdateDate": "2025-12-30 21:27:21", |
| "lastUpdateUserCN": "sloanqin", |
| "rowIdx": -1, |
| "id": "i9i4tr9hec00", |
| "name": "CrowdCount", |
| "isBeta": 0, |
| "betaVersionDesc": "", |
| "description": "CrowdCount是一种基于多尺度卷积神经网络(MSCNN)的高精度人群计数模型。相比传统多列 / 多网络方法,它通过单列网络中的多尺度特征块(MSB)与尺度自适应密度图回归技术,能有效应对透视畸变导致的人物尺度差异问题,兼顾计数精度与模型轻量化,适用于监控图像、公共场所等密集人群计数场景。", |
| "parentId": "i9i4tr9hec00", |
| "coverImageId": 1719967754027009, |
| "coverImageUrl": "https://openxinhuo-board-image.obs.cn-east-3.myhuaweicloud.com/1719967754027009%2Fcombined_plot.jpg", |
| "modelEffectId": null, |
| "modelEffectUrl": "", |
| "computerVersion": [ |
| "人群计数" |
| ], |
| "naturalLanguageProcess": [], |
| "multimodal": [], |
| "video": [], |
| "framework": [ |
| "PyTorch" |
| ], |
| "modelRepository": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/count/CrowdCount", |
| "originModel": [ |
| { |
| "id": "1719582624645123", |
| "name": "mscnn_model.onnx", |
| "url": null, |
| "size": "138968748" |
| } |
| ], |
| "originModelLink": null, |
| "dataSet": "https://pan.baidu.com/s/1T5EfBovMnpe4meIYcXSa8w", |
| "modelLicense": "https://github.com/zzubqh/CrowdCount/blob/master/LICENSE", |
| "detailParams": [ |
| { |
| "name": "输入", |
| "value": "224x224" |
| }, |
| { |
| "name": "参数量", |
| "value": "34.738M" |
| }, |
| { |
| "name": "计算量", |
| "value": "587.807GFLOPs" |
| } |
| ], |
| "quickStart": { |
| "url": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/count/CrowdCount", |
| "markDownUrl": null, |
| "developLanguage": [ |
| { |
| "language": "C++", |
| "context": "{\"ops\":[{\"attributes\":{\"background\":\"#ffffff\",\"size\":\"16px\",\"color\":\"#40485b\",\"line-height\":\"1.6\"},\"insert\":\"模型可以通过以下代码完成快速推理\"},{\"attributes\":{\"text-indent\":\"0px\"},\"insert\":\"\\n\"},{\"insert\":\"#include \\\"model.h\\\"\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"#include \\\"log.h\\\"\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\\n\"},{\"insert\":\"using namespace Infer;\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\\n\"},{\"insert\":\"int main()\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"{\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" EnvInit();\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" std::string omModelPath = \\\"/path/to/model.om\\\"; // 模型文件路径 \"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" std::string imagePath = \\\"/path/to/image.jpg\\\"; // 输入图片路径\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" std::unique_ptr<Model> model = std::make_unique<Model>();\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" if (model->Load(omModelPath, ModelType::CrowdCount) != 0) {\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" LOG(ERROR) << \\\"fail to load model\\\";\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" return -1;\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" }\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" auto ret = model->Infer(imagePath, FileType::SingelImageFile);\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" if (ret.size() == 0) {\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" LOG(ERROR) << \\\"fail to infer model\\\";\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" model->Unload();\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" return -1;\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" }\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" if (model->Unload() != 0) {\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" LOG(ERROR) << \\\"fail to unload model\\\";\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" return -1;\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" }\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" EnvDeinit();\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" return 0;\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"}\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"备注:上述C++代码依赖的动态库与头文件位于\"},{\"attributes\":{\"link\":\"https://gitee.com/HiSpark/modelzoo/tree/master/samples/common\"},\"insert\":\"/samples/common\"},{\"insert\":\"目录下,编译相关配置参考\"},{\"attributes\":{\"link\":\"https://gitee.com/HiSpark/modelzoo/blob/master/samples/built-in/count/CrowdCount/src/CMakeLists.txt\"},\"insert\":\"CMakeLists.txt\"},{\"insert\":\"。\\n\"}]}" |
| } |
| ] |
| }, |
| "status": "released", |
| "currentHandler": "", |
| "currentHandlerName": "", |
| "jsonPath": "https://gitee.com/HiSpark/modelzoo-dev/blob/master/samples/built-in/count/CrowdCount/crowdcount.json", |
| "modelAdaptor": [ |
| { |
| "createdBy": null, |
| "creationDate": null, |
| "creationUserCN": null, |
| "lastUpdatedBy": null, |
| "lastUpdateDate": null, |
| "lastUpdateUserCN": null, |
| "rowIdx": -1, |
| "id": "i8ttm5k1tc00", |
| "name": "Hi3403V100 SVP_NNN", |
| "modelId": "i9i4tr9hec00", |
| "modelName": "CrowdCount", |
| "supportNames": [ |
| "a16w8" |
| ], |
| "toolkit": [ |
| { |
| "name": "CANN工具", |
| "url": "https://hispark-obs.obs.cn-east-3.myhuaweicloud.com/SVP_NNN_PC_V1.0.6.0.tgz", |
| "desc": "Al异构计算架构;提升计算效率的关键平台", |
| "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": 132241120926760, |
| "creationDate": "2026-03-26 20:22:57", |
| "creationUserCN": "liaoshibin", |
| "lastUpdatedBy": 132241120926760, |
| "lastUpdateDate": "2026-03-26 20:22:57", |
| "lastUpdateUserCN": "liaoshibin", |
| "rowIdx": -1, |
| "id": "j6tmkobsi000", |
| "name": "a16w8", |
| "computingId": "i8ttm5k1tc00", |
| "computingName": "Hi3403V100 SVP_NNN", |
| "omOfflineModelUrl": null, |
| "omOfflineModelId": 1719582666588163, |
| "omOfflineModelSize": "34998884", |
| "omOfflineModelName": "mscnn_model_dpico.om", |
| "omOfflineModel": [ |
| { |
| "id": "1719582666588163", |
| "name": "mscnn_model_dpico.om", |
| "url": null, |
| "size": "34998884" |
| } |
| ], |
| "omOfflineModelLink": null, |
| "releaseTime": "2025-12-31", |
| "boardOs": null, |
| "modelLicense": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/count/CrowdCount/LICENSE", |
| "modelPerformance": [ |
| { |
| "performanceValue": "217.01", |
| "unit": "耗时(ms)", |
| "desc": null |
| }, |
| { |
| "performanceValue": "4.61", |
| "unit": "性能(fps)", |
| "desc": "" |
| }, |
| { |
| "performanceValue": "322.604", |
| "unit": "单帧内存带宽(MB)", |
| "desc": "" |
| }, |
| { |
| "performanceValue": "67.703", |
| "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": "i9i4tr9hec00", |
| "modelName": "CrowdCount", |
| "supportNames": [ |
| "f16" |
| ], |
| "toolkit": [ |
| { |
| "name": "CANN工具包", |
| "url": "", |
| "desc": "5.30.t11.7.b110; (请联系FAE获取)", |
| "imgId": "cann" |
| }, |
| { |
| "name": "编译工具链", |
| "url": "", |
| "desc": "aarch64-mix210-linux-gcc;(请联系FAE获取)", |
| "imgId": "tool" |
| }, |
| { |
| "name": "SDK", |
| "url": "", |
| "desc": "SS928 V100R001C02SPC022; (请联系FAE获取)", |
| "imgId": "sdk" |
| } |
| ], |
| "supportOs": [ |
| "Linux" |
| ], |
| "supportQuantify": [ |
| { |
| "createdBy": 132241120926760, |
| "creationDate": "2026-03-26 20:22:57", |
| "creationUserCN": "liaoshibin", |
| "lastUpdatedBy": 132241120926760, |
| "lastUpdateDate": "2026-03-26 20:22:57", |
| "lastUpdateUserCN": "liaoshibin", |
| "rowIdx": -1, |
| "id": "j6tmkod8i000", |
| "name": "f16", |
| "computingId": "i8ttm5k1tc01", |
| "computingName": "Hi3403V100 NNN", |
| "omOfflineModelUrl": null, |
| "omOfflineModelId": 1719583465603074, |
| "omOfflineModelSize": "70287392", |
| "omOfflineModelName": "mscnn_model_dlite.om", |
| "omOfflineModel": [ |
| { |
| "id": "1719583465603074", |
| "name": "mscnn_model_dlite.om", |
| "url": null, |
| "size": "70287392" |
| } |
| ], |
| "omOfflineModelLink": null, |
| "releaseTime": "2025-12-31", |
| "boardOs": null, |
| "modelLicense": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/count/CrowdCount/LICENSE", |
| "modelPerformance": [ |
| { |
| "performanceValue": "349.99", |
| "unit": "耗时(ms)", |
| "desc": null |
| }, |
| { |
| "performanceValue": "2.86", |
| "unit": "性能(fps)", |
| "desc": "" |
| }, |
| { |
| "performanceValue": "1677.176", |
| "unit": "单帧内存带宽(MB)", |
| "desc": "" |
| }, |
| { |
| "performanceValue": "243.684", |
| "unit": "内存(MB)", |
| "desc": "" |
| } |
| ], |
| "deleted": 0 |
| } |
| ], |
| "deleted": 0 |
| } |
| ], |
| "saveType": null, |
| "deleteType": null, |
| "latest": "Y", |
| "deleted": 0, |
| "modelPhase": "released", |
| "remark": null, |
| "fileInfo": null, |
| "reviewType": null, |
| "owner": "sloanqin", |
| "ownerBy": 139318985286440, |
| "optional": null, |
| "optionalList": [ |
| "0e900d99dee8461b8", |
| "whalenowings" |
| ], |
| "optionalBy": null, |
| "downloadNum": 7, |
| "collectNum": null, |
| "isCollect": null |
| } |
| } |
|
|