| { |
| "name": "DenseNet121", |
| "id": "j3mmucroso00", |
| "description": "DenseNet 针对 ResNet 的冗余结构提出了改进:让网络中的每一层和前面的所有层相连,同时把每一层设计的比较窄,使每一层学到的特征变少从而降低冗余。除了减少参数量之外,该结构还有减轻梯度消失问题、增强特征传播等优点。", |
| "category": "计算机视觉", |
| "framework": [ |
| "PyTorch" |
| ], |
| "supportOs": [ |
| "OpenHarmony", |
| "Linux" |
| ], |
| "computingPower": [ |
| "Hi3403V100 SVP_NNN", |
| "Hi3403V100 NNN" |
| ], |
| "tags": [ |
| "分类" |
| ], |
| "repositoryUrl": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/classification/DenseNet121", |
| "licenseUrl": "https://github.com/pytorch/vision/blob/v0.14.0/LICENSE", |
| "downloads": [ |
| { |
| "fileName": "densenet121_om-A8W8.om", |
| "variants": [ |
| "编译模型 / A8W8" |
| ] |
| }, |
| { |
| "fileName": "densenet121.om", |
| "variants": [ |
| "编译模型 / FP16", |
| "编译模型 / OM 元数据 / A8W8" |
| ] |
| }, |
| { |
| "fileName": "densenet121.onnx", |
| "variants": [ |
| "源模型 / 源模型下载", |
| "源模型 / 源模型元数据" |
| ] |
| }, |
| { |
| "fileName": "densenet121-a639ec97.pth", |
| "variants": [ |
| "源模型 / 源模型下载", |
| "源模型 / 源模型元数据" |
| ] |
| }, |
| { |
| "fileName": "SVP_NNN_PC_V1.0.6.0.tgz", |
| "variants": [ |
| "附加资源 / 附加资源" |
| ] |
| } |
| ], |
| "apiDetail": { |
| "createdBy": 139036723332644, |
| "creationDate": "2026-03-16 20:23:49", |
| "creationUserCN": "y-0089", |
| "lastUpdatedBy": null, |
| "lastUpdateDate": "2026-03-26 09:35:38", |
| "lastUpdateUserCN": "y-0089", |
| "rowIdx": -1, |
| "id": "j3mmucroso00", |
| "name": "DenseNet121", |
| "isBeta": 0, |
| "betaVersionDesc": "", |
| "description": "DenseNet 针对 ResNet 的冗余结构提出了改进:让网络中的每一层和前面的所有层相连,同时把每一层设计的比较窄,使每一层学到的特征变少从而降低冗余。除了减少参数量之外,该结构还有减轻梯度消失问题、增强特征传播等优点。", |
| "parentId": "h3km53t8to00", |
| "coverImageId": 1700942504460291, |
| "coverImageUrl": "https://openxinhuo-board-image.obs.cn-east-3.myhuaweicloud.com/1700942504460291%2Fdes.png", |
| "modelEffectId": null, |
| "modelEffectUrl": "", |
| "computerVersion": [ |
| "分类" |
| ], |
| "naturalLanguageProcess": [], |
| "multimodal": [], |
| "video": [], |
| "framework": [ |
| "PyTorch" |
| ], |
| "modelRepository": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/classification/DenseNet121", |
| "originModel": [ |
| { |
| "id": "1706937360121858", |
| "name": "densenet121.onnx", |
| "url": null, |
| "size": "32228458" |
| }, |
| { |
| "id": "1706937343344643", |
| "name": "densenet121-a639ec97.pth", |
| "url": null, |
| "size": "32342954" |
| } |
| ], |
| "originModelLink": "", |
| "dataSet": "https://image-net.org/", |
| "modelLicense": "https://github.com/pytorch/vision/blob/v0.14.0/LICENSE", |
| "detailParams": [ |
| { |
| "name": "输入", |
| "value": "224x224" |
| }, |
| { |
| "name": "参数量", |
| "value": "8.04M" |
| }, |
| { |
| "name": "计算量", |
| "value": "6.369GFLOPs" |
| } |
| ], |
| "quickStart": { |
| "url": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/classification/DenseNet121", |
| "markDownUrl": "", |
| "developLanguage": [ |
| { |
| "language": "C++", |
| "context": "{\"ops\":[{\"attributes\":{\"background\":\"#ffffff\",\"size\":\"13px\",\"color\":\"#080808\"},\"insert\":\"DenseNet121可以通过以下代码完成快速推理, 该代码仅展示主要流程,完整实现参考src/main.cpp文件和readme\"},{\"attributes\":{\"text-indent\":\"0px\"},\"insert\":\"\\n\"},{\"insert\":\"#include \\\"model.h\\\"\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"#include \\\"log.h\\\"\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\\n\"},{\"insert\":\"using namespace Infer;\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\\n\"},{\"insert\":\"int main()\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"{\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" EnvInit();\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" std::string omModelPath = \\\"/path/to/model.om\\\"; // DenseNet121 模型文件路径 \"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" std::string imagePath = \\\"/path/to/image.jpg\\\"; // 输入图片路径\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" std::unique_ptr<Model> model = std::make_unique<Model>();\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" if (model->Load(omModelPath, ModelType::DenseNet121) != 0) {\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" LOG(ERROR) << \\\"fail to load model\\\";\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" return -1;\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" }\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" auto ret = model->Infer(imagePath, FileType::SingelImageFile);\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" if (ret.size() == 0) {\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" LOG(ERROR) << \\\"fail to infer model\\\";\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" model->Unload();\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" return -1;\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" }\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" if (model->Unload() != 0) {\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" LOG(ERROR) << \\\"fail to unload model\\\";\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" return -1;\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" }\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" EnvDeinit();\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" return 0;\"},{\"attributes\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"}\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"attributes\":{\"background\":\"#ffffff\",\"size\":\"13px\",\"color\":\"#080808\"},\"insert\":\"备注:头文件和动态库位于\"},{\"attributes\":{\"background\":\"#ffffff\",\"size\":\"13px\",\"color\":\"#315fbd\",\"link\":\"https://gitee.com/HiSpark/modelzoo/tree/master/samples/common\"},\"insert\":\"/samples/common\"},{\"attributes\":{\"background\":\"#ffffff\",\"size\":\"13px\",\"color\":\"#080808\"},\"insert\":\"目录下,编译配置参考\"},{\"attributes\":{\"background\":\"#ffffff\",\"size\":\"13px\",\"color\":\"#315fbd\",\"link\":\"https://gitee.com/HiSpark/modelzoo/blob/master/samples/built-in/classification/DenseNet121/src/CMakeLists.txt\"},\"insert\":\"文件\"},{\"attributes\":{\"text-indent\":\"0px\"},\"insert\":\"\\n\\n\"}]}" |
| } |
| ] |
| }, |
| "status": "released", |
| "currentHandler": "", |
| "currentHandlerName": "", |
| "jsonPath": "https://gitee.com/HiSpark/modelzoo-dev/blob/master/samples/built-in/classification/DenseNet121/DenseNet121.json", |
| "modelAdaptor": [ |
| { |
| "createdBy": null, |
| "creationDate": null, |
| "creationUserCN": null, |
| "lastUpdatedBy": null, |
| "lastUpdateDate": null, |
| "lastUpdateUserCN": null, |
| "rowIdx": -1, |
| "id": "i8ttm5k1tc00", |
| "name": "Hi3403V100 SVP_NNN", |
| "modelId": "j3mmucroso00", |
| "modelName": "DenseNet121", |
| "supportNames": [ |
| "A8W8" |
| ], |
| "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#241%E5%AE%89%E8%A3%85clang%E4%BA%A4%E5%8F%89%E7%BC%96%E8%AF%91%E5%99%A8", |
| "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": 139036723332644, |
| "creationDate": "2026-03-24 16:19:24", |
| "creationUserCN": "y-0089", |
| "lastUpdatedBy": 139036723332644, |
| "lastUpdateDate": "2026-03-24 16:19:24", |
| "lastUpdateUserCN": "y-0089", |
| "rowIdx": -1, |
| "id": "j67bn6rpvs00", |
| "name": "A8W8", |
| "computingId": "i8ttm5k1tc00", |
| "computingName": "Hi3403V100 SVP_NNN", |
| "omOfflineModelUrl": null, |
| "omOfflineModelId": null, |
| "omOfflineModelSize": null, |
| "omOfflineModelName": null, |
| "omOfflineModel": [ |
| { |
| "id": "1734300701687811", |
| "name": "densenet121.om", |
| "url": null, |
| "size": "10386522" |
| } |
| ], |
| "omOfflineModelLink": "", |
| "releaseTime": "2025-11-12", |
| "boardOs": "OpenHarmony", |
| "modelLicense": "", |
| "modelPerformance": [ |
| { |
| "performanceValue": "5.935", |
| "unit": "耗时(ms)", |
| "desc": "" |
| }, |
| { |
| "performanceValue": "168.49", |
| "unit": "性能(fps)", |
| "desc": "" |
| }, |
| { |
| "performanceValue": "20.391", |
| "unit": "内存(MB)", |
| "desc": "" |
| }, |
| { |
| "performanceValue": "47.986", |
| "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": "j3mmucroso00", |
| "modelName": "DenseNet121", |
| "supportNames": [ |
| "A8W8", |
| "FP16" |
| ], |
| "toolkit": [ |
| { |
| "name": "CANN工具", |
| "url": "", |
| "desc": "SS928 V100R001C02SPC022; (请联系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": 139036723332644, |
| "creationDate": "2026-03-24 16:19:24", |
| "creationUserCN": "y-0089", |
| "lastUpdatedBy": 139036723332644, |
| "lastUpdateDate": "2026-03-24 16:19:24", |
| "lastUpdateUserCN": "y-0089", |
| "rowIdx": -1, |
| "id": "j67bn6t1vs00", |
| "name": "FP16", |
| "computingId": "i8ttm5k1tc01", |
| "computingName": "Hi3403V100 NNN", |
| "omOfflineModelUrl": null, |
| "omOfflineModelId": 1706937412616194, |
| "omOfflineModelSize": "19243624", |
| "omOfflineModelName": "densenet121.om", |
| "omOfflineModel": [ |
| { |
| "id": "1734300613607427", |
| "name": "densenet_dlite.om", |
| "url": null, |
| "size": "19243606" |
| } |
| ], |
| "omOfflineModelLink": null, |
| "releaseTime": "2025-12-23", |
| "boardOs": "Linux", |
| "modelLicense": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/classification/DenseNet121/LICENSE", |
| "modelPerformance": [ |
| { |
| "performanceValue": "9.26", |
| "unit": "耗时(ms)", |
| "desc": "" |
| }, |
| { |
| "performanceValue": "108.01", |
| "unit": "性能(fps)", |
| "desc": "" |
| }, |
| { |
| "performanceValue": "147.608", |
| "unit": "带宽(MB)", |
| "desc": "" |
| }, |
| { |
| "performanceValue": "99.133", |
| "unit": "内存(MB)", |
| "desc": "" |
| } |
| ], |
| "deleted": 0 |
| } |
| ], |
| "deleted": 0 |
| } |
| ], |
| "saveType": null, |
| "deleteType": null, |
| "latest": "Y", |
| "deleted": 0, |
| "modelPhase": "released", |
| "remark": null, |
| "fileInfo": null, |
| "reviewType": null, |
| "owner": "y-0089", |
| "ownerBy": 139036723332644, |
| "optional": null, |
| "optionalList": [ |
| "0e900d99dee8461b8" |
| ], |
| "optionalBy": null, |
| "downloadNum": 19, |
| "collectNum": null, |
| "isCollect": null |
| } |
| } |
|
|