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

Numpy issue in encode_dataset notebook #326

Open
AstrodreamerStudio opened this issue Mar 22, 2023 · 0 comments
Open

Numpy issue in encode_dataset notebook #326

AstrodreamerStudio opened this issue Mar 22, 2023 · 0 comments

Comments

@AstrodreamerStudio
Copy link

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!

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

1 participant