You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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))
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!
The text was updated successfully, but these errors were encountered: