1 系统环境
硬件环境(Ascend/GPU/CPU): Ascend910
MindSpore版本: MindSpore=2.2.10、MindCV=0.3.0、CANN=7.0
执行模式(PyNative/ Graph): 不限
Python版本: Python=3.9.2
操作系统平台: linux
2 报错信息
2.1 问题描述
在昇腾910上运行如下指令,出现报错。
2.2 报错信息:
3 根因分析
******此处由用户填写******
4 解决方案
******此处由用户填写******
包含文字方案和最终脚本代码
请将正确的脚本打包并上传附件
1 系统环境
硬件环境(Ascend/GPU/CPU): Ascend910
MindSpore版本: MindSpore=2.2.10、MindCV=0.3.0、CANN=7.0
执行模式(PyNative/ Graph): 不限
Python版本: Python=3.9.2
操作系统平台: linux
2 报错信息
2.1 问题描述
在昇腾910上运行如下指令,出现报错。
2.2 报错信息:
Traceback (most recent call last): File "/home/ma-user/work/arxiv/train.py", line 321, in <module> main() File "/home/ma-user/work/arxiv/train. py",line 33, in main ms.set_context(jit_config={"jit_level": "02"}) File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore/_checkparam.py", line 1313, in wrapper return func(*args, **kwargs) File "/home/ma-user/anaconda3/envs/Mindspore/lib/python3.9/site-packages/mindspore/context.py", line 1499, in set_context raise ValueError(f"For 'context.set_context', thekeyword argument {key} is not recognized!For detailed ValueError: For 'context.set_context', the keyword argument jit_config is notrecognized! For detailed usage of'set_context'. please refer to the Mindspore official website.3 根因分析
******此处由用户填写******
4 解决方案
******此处由用户填写******
包含文字方案和最终脚本代码
请将正确的脚本打包并上传附件