Replies: 3 comments
-
Hey @JoshK68, Here |
Beta Was this translation helpful? Give feedback.
-
Hi @gaurxvreddy, What do you mean with: 'While indexing a list we cannot you a tensor.' ? Thank you! |
Beta Was this translation helpful? Give feedback.
-
Hey Josh, Did you try without I think you might find an error - |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Quick question...Why do we need to call .numpy() here:
Plot an image tensor
import matplotlib.pyplot as plt
plt.imshow(image)
plt.title(class_names[label.numpy()]) # HERE
plt.axis(False);
Trying to understand why it's necessary.
Thank you,
Josh
Beta Was this translation helpful? Give feedback.
All reactions