背景:mindspore框架下Resnet50网络训练导出为ONNX格式文件。
问题:
在贵阳一modelarts-notebook当中利用atc进行模型转换失败。
命令:atc --model=best_model.onnx --framework=5 --output=best_model --input_format=NCHW --input_shape="x:1,3,224,224" --log=error --soc_version=Ascend910 --insert_op_conf=./insert_op_conf.cfg
报错:The op[45Conv] input parameter[pads] should be [positive], actual the input is [-1, 0, -1, 0]
但是在北京四下的modelarts-AI应用管理-模型转换下进行模型转换,成功。
模型文件:https://hql-ai3.obs.cn-north-4.myhuaweicloud.com/resnet50.zip
背景:mindspore框架下Resnet50网络训练导出为ONNX格式文件。
问题:
在贵阳一modelarts-notebook当中利用atc进行模型转换失败。
命令:atc --model=best_model.onnx --framework=5 --output=best_model --input_format=NCHW --input_shape="x:1,3,224,224" --log=error --soc_version=Ascend910 --insert_op_conf=./insert_op_conf.cfg
报错:The op[45Conv] input parameter[pads] should be [positive], actual the input is [-1, 0, -1, 0]
但是在北京四下的modelarts-AI应用管理-模型转换下进行模型转换,成功。
模型文件:https://hql-ai3.obs.cn-north-4.myhuaweicloud.com/resnet50.zip