Skip to content

Error: 'OfficialImageClassification' object has no attribute 'train' #5

Description

@apitts

In the Intro to Scikit Data (skdata) notebook, I receive the following error message when running the below code:
from skdata.mnist.views import OfficialImageClassification
task = OfficialImageClassification()
print 'Digit shape', task.train.x[0].shape
imshow(task.train.x[0][:,:,0], cmap=cm.gray, interpolation='nearest')


AttributeError Traceback (most recent call last)
in ()
1 from skdata.mnist.views import OfficialImageClassification
2 task = OfficialImageClassification()
----> 3 print 'Digit shape', task.train.x[0].shape
4 imshow(task.train.x[0][:,:,0], cmap=cm.gray, interpolation='nearest')

AttributeError: 'OfficialImageClassification' object has no attribute 'train'

The other two datasets work fine.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions