8000 Numpy issue in encode_dataset notebook · Issue #326 · borisdayma/dalle-mini · GitHub
[go: up one dir, main page]

Skip to content

Numpy issue in encode_dataset notebook #326

Open

Description

@AstrodreamerStudio

I am attempting to run the notebook to encode a custom dataset to train dalle-mini using the journal.
Journal trips up at step 8
T.ToPILImage()(images[0].permute(2, 0, 1))

throwing this error


AttributeError Traceback (most recent call last)
Cell In[25], line 1
----> 1 T.ToPILImage()(images[0].permute(2, 0, 1))

AttributeError: 'numpy.ndarray' object has no attribute 'permute'

Any help will be appreciated!

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

      0