wandb.log_image renders black when image.min() != 0

wandb.log(image) logs completely black images ,when the image dtype is uint8 & the min value isn’t 0. Please fix this.