onnx转om出现问题
收藏回复举报
onnx转om出现问题
t('forum.solved') 已解决
新人帖
发表于2024-07-15 22:06:18
0 查看

在板子上将yolov5s.onnx转化为om格式的过程时间巨长然后报错进程方面的错误,我转移到自己另外的Ubuntu系统上进行转换,报如下错误

run stack spill compile error:  In file included from <built-in>:1: 

In file included from /home/lh/Ascend/ascend-toolkit/7.0.RC1/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_runtime_wrapper.h:39: 

/home/lh/Ascend/ascend-toolkit/7.0.RC1/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_vector_types.h:19:2: warning: The vector size is manually reset. [-W#warnings] 

#warning The vector size is manually reset. 

 ^ 

In file included from <built-in>:1: 

In file included from /home/lh/Ascend/ascend-toolkit/7.0.RC1/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_runtime_wrapper.h:68: 

/home/lh/Ascend/ascend-toolkit/7.0.RC1/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_vector_intrinsics.h:20:10: fatal error: 'type_traits' file not found 

#include <type_traits> 

         ^~~~~~~~~~~~~ 

1 warning and 1 error generated.

cke_954.png
atc --model=yolov5s.onnx --framework=5 --output=aa --soc_version=Ascend310B4
这是我执行的指令

本帖最后由 匿名用户2024/07/16 11:25:55 编辑

我要发帖子