256 Star 916 Fork 294

MindSpore / docs

ModuleNotFoundError: No module named 'mindspore.dataset.vision'

Bug-Report
DONE
jackshao  Opened this issue
name about labels
Bug Report Use this template for reporting a bug kind/bug

Environment

  • Hardware Environment(Ascend/GPU/CPU):

Uncomment only one /device <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/device cpu

  • Software Environment:
    -- MindSpore version (source or binary): 0.7.0-beta
    -- Python version (e.g., Python 3.7.5): anaconda - python 3.7.9
    -- OS platform and distribution (e.g., Linux Ubuntu 16.04): Win10
    -- GCC/Compiler version (if compiled from source):

Related testcase

Steps to reproduce the issue

  1. 下载代码
  2. 在Anaconda中执行python lenet.py --device_target=CPU

Describe the current behavior

Traceback (most recent call last):
File "lenet.py", line 13, in
import mindspore.dataset.vision.c_transforms as CV
ModuleNotFoundError: No module named 'mindspore.dataset.vision'

Describe the expected behavior

Related log / screenshot

Special notes for this issue

Attachments
5518576 mindspore ci 1587902139 total 4 participants

Comments (3)

5518576 mindspore ci 1587902139
mindspore-ci-bot 2020-09-15 16:16 member

Hey jackshao, Welcome to MindSpore Community.
All of the projects in MindSpore Community are maintained by @mindspore-ci-bot .
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/mindspore/community/blob/master/command.md to find the details.

xiaotianci 2020-09-24 11:12

This interface has changed. Please update MindSpore to 1.0.0 at https://www.mindspore.cn/install .

leiyuning 2020-09-24 15:05 owner

This API has been updated in the latest tutorials. The version of MindSpore does not match the version of the tutorial.
You can find the tutorial following the steps, or upgrade the MindSpore version.
输入图片说明

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
1
https://gitee.com/mindspore/docs.git
git@gitee.com:mindspore/docs.git
mindspore
docs
docs

Search