atc模型转换工具转换后的模型无法使用
收藏回复举报
atc模型转换工具转换后的模型无法使用
t('forum.solved') 已解决
新人帖
发表于2024-04-26 15:05:46
0 查看

我仿照resnet50那个案例将我自己训练的onnx格式的resnet50模型转换为om模型后,执行模型初始化过程出现报错

E20240426 14:58:50.587396 317306 MxOmModelDesc.cpp:1367] Failed to load offline model data. (Calling Function = aclmdlLoadWithConfig, Code = 545002, Message = "ACL error, please refer to the document of CANN.") 

E20240426 14:58:50.594339 317306 MxOmModelDesc.cpp:319] Failed to load model. (Code = -1, Message = "ACL: general failure") 

E20240426 14:58:50.594450 317306 Model.cpp:58] MxModel init failed. (Code = -1, Message = "ACL: general failure") 

E20240426 14:58:50.594916 317306 MxOmModelDesc.cpp:340] Failed to unload model. (Calling Function = aclmdlUnload, Code = 145003, Message = "ACL error, please refer to the document of CANN.") 

E20240426 14:58:50.595024 317306 PyModel.cpp:31] Failed to create model_ object. (Code = 1007, Message = "memory allocation error") 

有没有大佬能帮下忙。

我要发帖子