you can look at my notebook here, but yea seems like no standard solution.
Basically, I do:
%matplotlib inline
def show(img):
npimg = img.numpy()
plt.imshow(np.transpose(npimg, (1,2,0)), interpolation='nearest')
you can look at my notebook here, but yea seems like no standard solution.
Basically, I do:
%matplotlib inline
def show(img):
npimg = img.numpy()
plt.imshow(np.transpose(npimg, (1,2,0)), interpolation='nearest')