| { |
| "name": "CRNN", |
| "id": "ip92pbfkp400", |
| "description": "CRNN是卷积循环网络,本模型是一个基于其的中文 OCR 模型。", |
| "category": "计算机视觉", |
| "framework": [ |
| "PyTorch" |
| ], |
| "supportOs": [ |
| "OpenHarmony", |
| "Linux" |
| ], |
| "computingPower": [ |
| "Hi3403V100 SVP_NNN", |
| "Hi3403V100 NNN" |
| ], |
| "tags": [ |
| "OCR" |
| ], |
| "repositoryUrl": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/ocr/CRNN/", |
| "licenseUrl": "https://github.com/meijieru/crnn.pytorch/blob/master/LICENSE.md", |
| "downloads": [ |
| { |
| "fileName": "mixed_second_finetune_acc_97P7.pth", |
| "variants": [ |
| "源模型 / 源模型下载", |
| "源模型 / 源模型元数据" |
| ] |
| }, |
| { |
| "fileName": "crnn.onnx", |
| "variants": [ |
| "源模型 / 源模型下载", |
| "源模型 / 源模型元数据" |
| ] |
| }, |
| { |
| "fileName": "crnn.om", |
| "variants": [ |
| "编译模型 / OM 元数据 / a8w8" |
| ] |
| } |
| ], |
| "apiDetail": { |
| "createdBy": 139036723332644, |
| "creationDate": "2026-02-12 10:58:59", |
| "creationUserCN": "y-0089", |
| "lastUpdatedBy": null, |
| "lastUpdateDate": "2026-03-04 16:06:24", |
| "lastUpdateUserCN": "y-0089", |
| "rowIdx": -1, |
| "id": "ip92pbfkp400", |
| "name": "CRNN", |
| "isBeta": 1, |
| "betaVersionDesc": "Hi3403V100 SVP_NNN 和 NNN 引擎上模型性能待进一步优化", |
| "description": "CRNN是卷积循环网络,本模型是一个基于其的中文 OCR 模型。", |
| "parentId": "i9knai95ec00", |
| "coverImageId": 1719628489359362, |
| "coverImageUrl": "https://openxinhuo-board-image.obs.cn-east-3.myhuaweicloud.com/1719628489359362%2FCRNN.png", |
| "modelEffectId": null, |
| "modelEffectUrl": "", |
| "computerVersion": [ |
| "OCR" |
| ], |
| "naturalLanguageProcess": [], |
| "multimodal": [], |
| "video": [], |
| "framework": [ |
| "PyTorch" |
| ], |
| "modelRepository": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/ocr/CRNN/", |
| "originModel": [ |
| { |
| "id": "1719628564856834", |
| "name": "mixed_second_finetune_acc_97P7.pth", |
| "url": null, |
| "size": "47088712" |
| }, |
| { |
| "id": "1728431788261377", |
| "name": "crnn.onnx", |
| "url": null, |
| "size": "47067386" |
| } |
| ], |
| "originModelLink": "", |
| "dataSet": "https://github.com/Sierkinhane/CRNN_Chinese_Characters_Rec?tab=readme-ov-file#synthetic-chinese-string-dataset", |
| "modelLicense": "https://github.com/meijieru/crnn.pytorch/blob/master/LICENSE.md", |
| "detailParams": [ |
| { |
| "name": "输入", |
| "value": "32x160" |
| }, |
| { |
| "name": "参数量", |
| "value": "11.765M" |
| }, |
| { |
| "name": "计算量", |
| "value": "2.550GFLOPs" |
| } |
| ], |
| "quickStart": { |
| "url": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/ocr/CRNN/", |
| "markDownUrl": null, |
| "developLanguage": [ |
| { |
| "language": "C++", |
| "context": "{\"ops\":[{\"insert\":\"CRNN模型可以通过以下代码完成快速推理\\n#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\\\"; // CRNN模型文件路径 \"},{\"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::CRNN) != 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\":{\"code-block\":\"plain\"},\"insert\":\"\\n\"},{\"insert\":\"备注:头文件和动态库位于\"},{\"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/ocr/CRNN/src/CMakeLists.txt\"},\"insert\":\"文件\"},{\"insert\":\"\\n\"}]}" |
| } |
| ] |
| }, |
| "status": "released", |
| "currentHandler": "", |
| "currentHandlerName": "", |
| "jsonPath": "https://gitee.com/HiSpark/modelzoo-dev/blob/master/samples/built-in/super_resolution/VDSR/vdsr.json", |
| "modelAdaptor": [ |
| { |
| "createdBy": null, |
| "creationDate": null, |
| "creationUserCN": null, |
| "lastUpdatedBy": null, |
| "lastUpdateDate": null, |
| "lastUpdateUserCN": null, |
| "rowIdx": -1, |
| "id": "i8ttm5k1tc00", |
| "name": "Hi3403V100 SVP_NNN", |
| "modelId": "ip92pbfkp400", |
| "modelName": "CRNN", |
| "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", |
| "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 19:48:58", |
| "creationUserCN": "liaoshibin", |
| "lastUpdatedBy": 132241120926760, |
| "lastUpdateDate": "2026-03-26 19:48:58", |
| "lastUpdateUserCN": "liaoshibin", |
| "rowIdx": -1, |
| "id": "j6tert80tk00", |
| "name": "a8w8", |
| "computingId": "i8ttm5k1tc00", |
| "computingName": "Hi3403V100 SVP_NNN", |
| "omOfflineModelUrl": null, |
| "omOfflineModelId": 1719628717948931, |
| "omOfflineModelSize": "12208309", |
| "omOfflineModelName": "crnn.om", |
| "omOfflineModel": [ |
| { |
| "id": "1719628717948931", |
| "name": "crnn.om", |
| "url": null, |
| "size": "12208309" |
| } |
| ], |
| "omOfflineModelLink": null, |
| "releaseTime": "2025-12-25", |
| "boardOs": null, |
| "modelLicense": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/ocr/CRNN/LICENSE", |
| "modelPerformance": [ |
| { |
| "performanceValue": "12.31", |
| "unit": "耗时(ms)", |
| "desc": "" |
| }, |
| { |
| "performanceValue": "81.26", |
| "unit": "性能(fps)", |
| "desc": "" |
| }, |
| { |
| "performanceValue": "124.114", |
| "unit": "单帧内存带宽(MB)", |
| "desc": "" |
| }, |
| { |
| "performanceValue": "184.258", |
| "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": "ip92pbfkp400", |
| "modelName": "CRNN", |
| "supportNames": [ |
| "fp16" |
| ], |
| "toolkit": [ |
| { |
| "name": "CANN工具", |
| "url": "", |
| "desc": "5.30.t11.7.b110; (请联系FAE获取)", |
| "imgId": "tool" |
| }, |
| { |
| "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 19:48:58", |
| "creationUserCN": "liaoshibin", |
| "lastUpdatedBy": 132241120926760, |
| "lastUpdateDate": "2026-03-26 19:48:58", |
| "lastUpdateUserCN": "liaoshibin", |
| "rowIdx": -1, |
| "id": "j6tertactk00", |
| "name": "fp16", |
| "computingId": "i8ttm5k1tc01", |
| "computingName": "Hi3403V100 NNN", |
| "omOfflineModelUrl": null, |
| "omOfflineModelId": 1719628839583746, |
| "omOfflineModelSize": "24023689", |
| "omOfflineModelName": "crnn.om", |
| "omOfflineModel": [ |
| { |
| "id": "1719628839583746", |
| "name": "crnn.om", |
| "url": null, |
| "size": "24023689" |
| } |
| ], |
| "omOfflineModelLink": null, |
| "releaseTime": "2025-12-25", |
| "boardOs": null, |
| "modelLicense": "https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/ocr/CRNN/LICENSE", |
| "modelPerformance": [ |
| { |
| "performanceValue": "100.6", |
| "unit": "耗时(ms)", |
| "desc": "" |
| }, |
| { |
| "performanceValue": "9.94", |
| "unit": "性能(fps)", |
| "desc": "" |
| }, |
| { |
| "performanceValue": "477.985", |
| "unit": "单帧内存带宽(MB)", |
| "desc": "" |
| }, |
| { |
| "performanceValue": "100.082", |
| "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": 20, |
| "collectNum": null, |
| "isCollect": null |
| } |
| } |
|
|