img = Image.open("/content/XNOR-Net-PyTorch/ImageNet/networks/data/val/n01440764/ILSVRC2012_val_00002138.JPEG")

    a = np.array(img)

    print(np.max(a),np.min(a),a.dtype) -> (255, 0, dtype('uint8'))