Skip to content

Commit a23053e

Browse files
Update plots.py
1 parent 76a7f23 commit a23053e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/plots.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def show_sample_images(data_loader, classes, mean=.5, std=.5, num_of_images = 10
2424
print(f'Displaying {num_of_images} images')
2525
for i in range(num):
2626
if is_norm:
27-
img = im[i].squeeze().permute(1,2,0)*std+mean
27+
img = im[i].squeeze().permute(1,2,0)*std+mean
2828
plt.subplot(10,10,i+1)
2929
plt.imshow(img)
3030
plt.axis('off')

0 commit comments

Comments
 (0)