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

ModuleNotFoundError: No module named 'mindspore.ops._grad' #5

Open
Simon-ssp opened this issue May 23, 2024 · 2 comments
Open

ModuleNotFoundError: No module named 'mindspore.ops._grad' #5

Simon-ssp opened this issue May 23, 2024 · 2 comments

Comments

@Simon-ssp
Copy link

When I installed the environment and executed python val.py, I encountered an error——ModuleNotFoundError: No module named 'mindspore.ops._grad'
why? and how to solve it

@SemyonBevzuk
Copy link

Hi! Try reinstalling MindSpore: https://www.mindspore.cn/install/en

@Sarahsus
Copy link

Sarahsus commented Jul 10, 2024

try this: from mindspore.ops._grad_experimental.grad_base import bprop_getters
refer:https://github.com/mindspore-ai/mindspore/blob/master/mindspore/python/mindspore/ops/_grad_experimental/grad_base.py

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

3 participants