-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
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!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels