Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

训练报错 #420

Open
20040206dfhDFH opened this issue Feb 10, 2025 · 3 comments
Open

训练报错 #420

20040206dfhDFH opened this issue Feb 10, 2025 · 3 comments

Comments

@20040206dfhDFH
Copy link

Traceback (most recent call last):
File "train.py", line 339, in
train(args)
File "train.py", line 97, in train
set_default(args)
File "E:\mindyolo-master\mindyolo-master\mindyolo\utils\utils.py", line 26, in set_default
ms.set_context(jit_config={"jit_level": "O2"})
File "D:\Program Files\anaconda3\envs\myenv\lib\site-packages\mindspore_checkparam.py", line 1313, in wrapper
return func(*args, **kwargs)
File "D:\Program Files\anaconda3\envs\myenv\lib\site-packages\mindspore\context.py", line 1529, in set_context
raise ValueError(f"For 'context.set_context', the keyword argument {key} is not recognized! For detailed "
ValueError: For 'context.set_context', the keyword argument jit_config is not recognized! For detailed usage of 'set_context', please refer to the Mindspore official website.
这是因为啥

@WongGawa
Copy link
Collaborator

您好,请提供一下mindspore的版本信息。另外可以请参考主页的版本匹配信息进行安装及使用。

@20040206dfhDFH
Copy link
Author

您好,请提供一下mindspore的版本信息。另外可以请参考主页的版本匹配信息进行安装及使用。

'2.2.14'

@WongGawa
Copy link
Collaborator

请参考主页的版本匹配信息进行安装及使用。建议使用v0.3.0分支

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants