【ATC转换模型onnx->om】E10001: Value [high_performance ] for parameter [--op_select_implmode] is invalid
收藏回复举报
【ATC转换模型onnx->om】E10001: Value [high_performance ] for parameter [--op_select_implmode] is invalid
t('forum.solved') 已解决
发表于2025-02-05 16:10:33
0 查看

atc --model=./coop_model.onnx --framework=5 --output=./coop_model_high_performance --soc_version=Ascend310P3 --input_shape="input1:1,64,512,512;input2:1,64,512,512" --op_select_implmode=high_performance  --optypelist_for_implmode=ScatterNdUpdate,BEVPool,AutomaticBufferFusionOp,IsInf,Transpose,Conv2D,Cast,TransData,BatchMatMulV2,TopKD,Voxelization --precision_mode=force_fp32 

* 执行上面的命令,错误信息看起来参数不正确:

E10001: Value [high_performance ] for parameter [--op_select_implmode] is invalid. Reason: The value is not within the range of values: [high_performance] [high_performance_for_all] [high_precision] [high_precision_for_all]

* 对应的ATC版本号:

(py2.1-zyd) [ma-user om0116]$head /home/ma-user/work/y00456615/cann/ascend-toolkit/latest/version.cfg  

# version: 1.0 

runtime_running_version=[7.3.0.1.231:8.0.RC2]

* 执行环境:131服务器 /home/ma-user/work/zhongyunde/app29_lidar_npu/om0116

* 去掉上述的--op_select_implmode、--optypelist_for_implmode选项,则运行提示ATC run success, welcome to the next use

   参考 https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Appendices/ttmutat/atctool_000098.html

我要发帖子