运行WarpAffineHiper或WarpPerspective接口出现Synchronize stream execution failed错误
2025/01/06
26
问题信息
问题来源 | 产品大类 | 产品子类 | 关键字 |
---|---|---|---|
官方 | 模型推理 | Vision SDK | WarpAffineHiper;WarpPerspective;Synchronize stream execution failed错误 |
问题现象描述
运行WarpAffineHiper或WarpPerspective接口,出现Synchronize stream execution failed. (Calling Function = aclrtSynchronizeStream, Code = 507014, Message = "ACL error, please refer to the document of CANN.") 的错误(错误码507014)。
原因分析
输入shape过大或使用转换矩阵的计算量过大,导致aicore执行超时。
解决措施
使用数据切分方式拆分shape或改变转换矩阵以减少数据量。
本页内容