how to display a picture with deep learning
print('Validation accuracy test: {:.4f}%'.format(float(accuracy_score(val_y, predictions)) * 100))
conf_matrix  = confusion_matrix(val_y, predictions)
print(conf_matrix)
plt.imshow(torchvision.utils.make_grid(predictions))  

Error :
TypeError                                 Traceback (most recent call last)
<ipython-input-8-767abd2c3c6d> in <module>()
    402 
    403 print(conf_matrix)
--> 404 plt.imshow(torchvision.utils.make_grid(predictions))

1 frames
/usr/local/lib/python3.7/dist-packages/torchvision/utils.py in make_grid(tensor, nrow, padding, normalize, value_range, scale_each, pad_value, **kwargs)
     44     if not (torch.is_tensor(tensor) or
     45             (isinstance(tensor, list) and all(torch.is_tensor(t) for t in tensor))):
---> 46         raise TypeError(f'tensor or list of tensors expected, got {type(tensor)}')
     47 
     48     if "range" in kwargs.keys():

TypeError: tensor or list of tensors expected, got <class 'numpy.ndarray'>

Help me plzzz