Visualize¶
-
tinder.visualize.
show_imgs
(imgs, rows=None, cols=None, cmaps: [] = None, minmax=None, imshows=None)[source]¶ Show an image grid in a popup window.
imgs can be a list of
torch.Tensor or numpy.ndarray
0~1 or 0~255
HWC or CWH
None (skip the grid cell for alignmentt)
- Parameters
imgs –
rows –
cols –
cmaps ([objects]) – a list of matplot ListedColormaps or booleans. If True, use the default cmap. If False, colormap is not used. If ListedColormap is provided, use it.