Skip to content

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

@Ling-Luo

Description

@Ling-Luo

I have installed mindspore by the following command:
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/2.2.14/MindSpore/cpu/x86_64/mindspore-2.2.14-cp39-cp39-win_amd64.wbhl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple

And I run the following command:
python -c "import mindspore;mindspore.set_context(device_target='CPU');mindspore.run_check()"

Then I got the following output:
MindSpore version: 2.2.14
The result of multiplication calculation is correct, MindSpore has been installed on platform [CPU] successful!

But when I run :python val.py --config_path .\configs\ipt\denoise\val_denoise_50.yaml
I got this error .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions