plot_images
plot_images(images, labels=None, cls_true=None, cls_pred=None, space=(0.3, 0.3), mxn=None, size=(5, 5), dpi=300, max_w=1500, out_file=None, cmap='binary')
images
labels
None
cls_true
cls_pred
space
(0.3, 0.3)
mxn
size
(5, 5)
dpi
300
max_w
1500
out_file
cmap
'binary'
show
show(inp, size=10, dpi=300, cmap='gray', out_file=None)
inp
10
'gray'
Input: either a path or image
tensor2imgs
tensor2imgs(tensor, mode='bhwc', mean=(123.675, 116.28, 103.53), std=(58.395, 57.120000000000005, 57.375), **kwargs)
tensor
mode
'bhwc'
mean
(123.675, 116.28, 103.53)
std
(58.395, 57.120000000000005, 57.375)
kwargs