{ "name": "EfficientNetV2", "id": "hs4fr0150o00", "description": "EfficientNetV2是一系列图像分类模型,与现有技术相比,其实现了更好的参数效率和更快的训练速度。基于EfficientNetV1,Efficient NetV2模型使用神经架构搜索(NAS)来联合优化模型大小和训练速度,并以更快的训练和推理速度进行扩展。", "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/EfficientNetV2", "licenseUrl": "https://github.com/huggingface/pytorch-image-models/blob/main/LICENSE", "downloads": [ { "fileName": "efficientnetv2.onnx", "variants": [ "源模型 / 源模型下载", "源模型 / 源模型元数据" ] }, { "fileName": "efficientnetv2_t_agc-3620981a.pth", "variants": [ "源模型 / 源模型下载", "源模型 / 源模型元数据" ] }, { "fileName": "vit_base_patch16_224.om", "variants": [ "编译模型 / OM 元数据 / f16" ] }, { "fileName": "SVP_NNN_PC_V1.0.6.0.tgz", "variants": [ "附加资源 / 附加资源" ] } ], "apiDetail": { "createdBy": 137441035408492, "creationDate": "2025-11-13 21:53:09", "creationUserCN": "0e900d99dee8461b8", "lastUpdatedBy": null, "lastUpdateDate": "2025-11-29 14:49:58", "lastUpdateUserCN": "0e900d99dee8461b8", "rowIdx": -1, "id": "hs4fr0150o00", "name": "EfficientNetV2", "isBeta": 1, "betaVersionDesc": "Hi3403V100 SVP_NNN引擎上模型性能待进一步优化", "description": "EfficientNetV2是一系列图像分类模型,与现有技术相比,其实现了更好的参数效率和更快的训练速度。基于EfficientNetV1,Efficient NetV2模型使用神经架构搜索(NAS)来联合优化模型大小和训练速度,并以更快的训练和推理速度进行扩展。", "parentId": "h8ei3b756c00", "coverImageId": 1700943102148611, "coverImageUrl": "https://openxinhuo-board-image.obs.cn-east-3.myhuaweicloud.com/1700943102148611%2Feff.png", "modelEffectId": null, "modelEffectUrl": "", "computerVersion": [ "分类" ], "naturalLanguageProcess": [], "multimodal": [], "video": [], "framework": [ "PyTorch" ], "modelRepository": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/classification/EfficientNetV2", "originModel": [ { "id": "1706935376281603", "name": "efficientnetv2.onnx", "url": null, "size": "54407550" }, { "id": "1706935344824322", "name": "efficientnetv2_t_agc-3620981a.pth", "url": null, "size": "55190269" } ], "originModelLink": null, "dataSet": "https://image-net.org/", "modelLicense": "https://github.com/huggingface/pytorch-image-models/blob/main/LICENSE", "detailParams": [ { "name": "输入", "value": "288x288" }, { "name": "参数量", "value": "25.530M" }, { "name": "计算量", "value": "8.235GFLOPs" } ], "quickStart": { "url": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/classification/EfficientNetV2", "markDownUrl": "", "developLanguage": [ { "language": "C++", "context": "{\"ops\":[{\"attributes\":{\"background\":\"#ffffff\",\"size\":\"13px\",\"color\":\"#080808\"},\"insert\":\"EfficientNetV2模型可以通过以下代码完成快速推理\"},{\"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\\\"; // EfficientNetV2模型文件路径 \"},{\"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::EfficientNet) != 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/EfficientNetV2/src/CMakeLists.txt\"},\"insert\":\"CMakeLists.txt\"},{\"attributes\":{\"background\":\"#ffffff\",\"size\":\"13px\",\"color\":\"#080808\"},\"insert\":\"。\"},{\"attributes\":{\"text-indent\":\"0px\"},\"insert\":\"\\n\\n\"}]}" } ] }, "status": "released", "currentHandler": "", "currentHandlerName": null, "jsonPath": "https://gitee.com/HiSpark/modelzoo-dev/blob/master/samples/built-in/classification/EfficientNetV2/EfficientNetV2.json", "modelAdaptor": [ { "createdBy": null, "creationDate": null, "creationUserCN": null, "lastUpdatedBy": null, "lastUpdateDate": null, "lastUpdateUserCN": null, "rowIdx": -1, "id": "i8ttm5k1tc00", "name": "Hi3403V100 SVP_NNN", "modelId": "hs4fr0150o00", "modelName": "EfficientNetV2", "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": 132241120926760, "creationDate": "2026-03-26 20:28:49", "creationUserCN": "liaoshibin", "lastUpdatedBy": 132241120926760, "lastUpdateDate": "2026-03-26 20:28:49", "lastUpdateUserCN": "liaoshibin", "rowIdx": -1, "id": "j6tnvo90tk00", "name": "a8w8", "computingId": "i8ttm5k1tc00", "computingName": "Hi3403V100 SVP_NNN", "omOfflineModelUrl": null, "omOfflineModelId": 1712879799762947, "omOfflineModelSize": "16091832", "omOfflineModelName": "efficientnetv2.om", "omOfflineModel": [ { "id": "1712879799762947", "name": "efficientnetv2.om", "url": null, "size": "16091832" } ], "omOfflineModelLink": null, "releaseTime": "2025-11-18", "boardOs": null, "modelLicense": "https://gitee.com/HiSpark/modelzoo-dev/tree/master/samples/built-in/classification/EfficientNetV2/LICENSE", "modelPerformance": [ { "performanceValue": "27.35", "unit": "耗时(ms)", "desc": "" }, { "performanceValue": "36.57", "unit": "性能(fps)", "desc": "" }, { "performanceValue": "55.91", "unit": "单帧内存带宽(MB)", "desc": "" }, { "performanceValue": "20.441", "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": "hs4fr0150o00", "modelName": "EfficientNetV2", "supportNames": [ "f16" ], "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": 132241120926760, "creationDate": "2026-03-26 20:28:49", "creationUserCN": "liaoshibin", "lastUpdatedBy": 132241120926760, "lastUpdateDate": "2026-03-26 20:28:49", "lastUpdateUserCN": "liaoshibin", "rowIdx": -1, "id": "j6tnvoa8tk00", "name": "f16", "computingId": "i8ttm5k1tc01", "computingName": "Hi3403V100 NNN", "omOfflineModelUrl": null, "omOfflineModelId": 1712914614583297, "omOfflineModelSize": "176647820", "omOfflineModelName": "vit_base_patch16_224.om", "omOfflineModel": [ { "id": "1712914614583297", "name": "vit_base_patch16_224.om", "url": null, "size": "176647820" } ], "omOfflineModelLink": null, "releaseTime": "2025-11-18", "boardOs": null, "modelLicense": "https://gitee.com/HiSpark/modelzoo-dev/tree/master/samples/built-in/classification/EfficientNetV2/LICENSE", "modelPerformance": [ { "performanceValue": "36.512", "unit": "耗时(ms)", "desc": "" }, { "performanceValue": "27.388", "unit": "性能(fps)", "desc": "" }, { "performanceValue": "150.156", "unit": "单帧内存带宽(MB)", "desc": "" }, { "performanceValue": "131.914", "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": 18, "collectNum": null, "isCollect": null } }