{ "name": "ResNet101", "id": "h8eivmf56c00", "description": "ResNet是ImageNet竞赛中分类问题效果较好的网络,它引入了残差学习的概念,通过增加直连通道来保护信息的完整性,解决信息丢失、梯度消失、梯度爆炸等问题,让很深的网络也得以训练。ResNet有不同的网络层数,常用的有18-layer、34-layer、50-layer、101-layer、152-layer。", "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/ResNet101", "licenseUrl": "https://github.com/pytorch/vision/blob/v0.14.0/LICENSE", "downloads": [ { "fileName": "resnet101.om", "variants": [ "编译模型 / A8W8 / A8W8" ] }, { "fileName": "resnet101_fp16_Hi3403V100-NNN.om", "variants": [ "编译模型 / FP16 / FP16" ] }, { "fileName": "resnet101.onnx", "variants": [ "源模型 / 源模型下载" ] }, { "fileName": "resnet101-63fe2227.pth", "variants": [ "源模型 / 源模型下载" ] }, { "fileName": "SVP_NNN_PC_V1.0.6.0.tgz", "variants": [ "工具链 / 工具链" ] } ], "apiDetail": { "createdBy": 137441035408492, "creationDate": "2025-09-13 18:06:31", "creationUserCN": "0e900d99dee8461b8", "lastUpdatedBy": null, "lastUpdateDate": null, "lastUpdateUserCN": "0e900d99dee8461b8", "rowIdx": -1, "id": "h8eivmf56c00", "name": "ResNet101", "isBeta": 0, "betaVersionDesc": "", "description": "ResNet是ImageNet竞赛中分类问题效果较好的网络,它引入了残差学习的概念,通过增加直连通道来保护信息的完整性,解决信息丢失、梯度消失、梯度爆炸等问题,让很深的网络也得以训练。ResNet有不同的网络层数,常用的有18-layer、34-layer、50-layer、101-layer、152-layer。", "parentId": "h8eivmf56c00", "coverImageId": 1700943569813507, "coverImageUrl": "https://openxinhuo-board-image.obs.cn-east-3.myhuaweicloud.com/1700943569813507%2Fres101.png", "modelEffectId": null, "modelEffectUrl": "", "computerVersion": [ "分类" ], "naturalLanguageProcess": [], "multimodal": [], "video": [], "framework": [ "PyTorch" ], "modelRepository": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/classification/ResNet101", "originModel": [ { "id": "1706935845978113", "name": "resnet101.onnx", "url": null, "size": "178034618" }, { "id": "1706935808229378", "name": "resnet101-63fe2227.pth", "url": null, "size": "178793939" } ], "originModelLink": null, "dataSet": "https://image-net.org/", "modelLicense": "https://github.com/pytorch/vision/blob/v0.14.0/LICENSE", "detailParams": [ { "name": "输入", "value": "224x224" }, { "name": "参数量", "value": "44.496M" }, { "name": "计算量", "value": "15.686GFLOPs" } ], "quickStart": { "url": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/classification/ResNet101", "markDownUrl": "xxx", "developLanguage": [ { "language": "C++", "context": "{\"ops\":[{\"attributes\":{\"background\":\"#ffffff\",\"size\":\"13px\",\"color\":\"#080808\"},\"insert\":\"ResNet101模型可以通过以下代码完成快速推理\"},{\"attributes\":{\"text-indent\":\"0px\"},\"insert\":\"\\n\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"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\\\"; // ResNet101模型文件路径 \"},{\"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 = std::make_unique();\"},{\"attributes\":{\"text-indent\":\"0px\",\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\" if (model->Load(omModelPath, ModelType::ResNet101) != 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\"},{\"attributes\":{\"background\":\"#ffffff\",\"size\":\"13px\",\"color\":\"#080808\"},\"insert\":\"备注:上述C++代码依赖的动态库与头文件位于\"},{\"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/ResNet101/src/CMakeLists.txt\"},\"insert\":\"CMakeLists.txt\"},{\"attributes\":{\"background\":\"#ffffff\",\"size\":\"13px\",\"color\":\"#080808\"},\"insert\":\"。\"},{\"attributes\":{\"text-indent\":\"0px\"},\"insert\":\"\\n\"},{\"insert\":\"\\n\"}]}" } ] }, "status": "released", "currentHandler": "", "currentHandlerName": null, "jsonPath": "https://gitee.com/HiSpark/modelzoo-dev/blob/master/samples/built-in/classification/ResNet101/ResNet101.json", "modelAdaptor": [ { "createdBy": null, "creationDate": null, "creationUserCN": null, "lastUpdatedBy": null, "lastUpdateDate": null, "lastUpdateUserCN": null, "rowIdx": -1, "id": "i8ttm5k1tc00", "name": "Hi3403V100 SVP_NNN", "modelId": "h8eivmf56c00", "modelName": "ResNet101", "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异构计算架构,承上启下\r\n提升计算效率的关键平台", "imgId": "tool" }, { "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": "高效编译,精准适配\r\nAI性能优化,应用流畅运行", "imgId": "tool" }, { "name": "SDK", "url": "https://gitee.com/HiSpark/ss928v100_clang/tree/Beta-v0.9.1/ ", "desc": "稳定、易用的设计\r\n支撑客户快速产品量产", "imgId": "sdk" } ], "supportOs": [ "OpenHarmony", "Linux" ], "supportQuantify": [ { "createdBy": 132241120926760, "creationDate": "2026-03-26 20:33:34", "creationUserCN": "liaoshibin", "lastUpdatedBy": 132241120926760, "lastUpdateDate": "2026-03-26 20:33:34", "lastUpdateUserCN": "liaoshibin", "rowIdx": -1, "id": "j6tp2geotk00", "name": "a8w8", "computingId": "i8ttm5k1tc00", "computingName": "Hi3403V100 SVP_NNN", "omOfflineModelUrl": null, "omOfflineModelId": 1706935911055363, "omOfflineModelSize": "90570588", "omOfflineModelName": "resnet101.om", "omOfflineModel": [ { "id": "1706935911055363", "name": "resnet101.om", "url": null, "size": "90570588" } ], "omOfflineModelLink": null, "releaseTime": "2025-09-13", "boardOs": null, "modelLicense": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/classification/ResNet101/LICENSE", "modelPerformance": [ { "performanceValue": "4.76", "unit": "耗时(ms)", "desc": "" }, { "performanceValue": "210.03", "unit": "性能(fps)", "desc": "" }, { "performanceValue": "45.933", "unit": "单帧内存带宽(MB)", "desc": "" }, { "performanceValue": "46.348", "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": "h8eivmf56c00", "modelName": "ResNet101", "supportNames": [ "fp16" ], "toolkit": [ { "name": "CANN工具", "url": "", "desc": "SPC022 (请联系FAE获取)", "imgId": "tool" }, { "name": "编译工具链", "url": "", "desc": "aarch64-mix210-linux-gcc (请联系FAE获取)", "imgId": "tool" }, { "name": "SDK", "url": "", "desc": "SPC022 (请联系FAE获取)", "imgId": "sdk" } ], "supportOs": [ "Linux" ], "supportQuantify": [ { "createdBy": 132241120926760, "creationDate": "2026-03-26 20:33:34", "creationUserCN": "liaoshibin", "lastUpdatedBy": 132241120926760, "lastUpdateDate": "2026-03-26 20:33:34", "lastUpdateUserCN": "liaoshibin", "rowIdx": -1, "id": "j6tp2gg0tk00", "name": "fp16", "computingId": "i8ttm5k1tc01", "computingName": "Hi3403V100 NNN", "omOfflineModelUrl": null, "omOfflineModelId": 1706935885889538, "omOfflineModelSize": "90570588", "omOfflineModelName": "resnet101.om", "omOfflineModel": [ { "id": "1706935885889538", "name": "resnet101.om", "url": null, "size": "45561433" } ], "omOfflineModelLink": null, "releaseTime": "2025-09-16", "boardOs": null, "modelLicense": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/classification/ResNet101/LICENSE", "modelPerformance": [ { "performanceValue": "12.033", "unit": "耗时(ms)", "desc": "" }, { "performanceValue": "83.102", "unit": "性能(fps)", "desc": "" }, { "performanceValue": "172.169", "unit": "单帧内存带宽(MB)", "desc": "" }, { "performanceValue": "220.055", "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": 46, "collectNum": null, "isCollect": null } }