Hi,
I’m also facing with this problem when I’m using torch.utils.tensorboard with tensorboard 2

The left picture is the image on tensorboard. It’s bad.
The right picture is when I save the numpy array by using the imageio.imwrite(image)
Previous I used this code 8 to plot image in tensorboard 1.13.1 and the quality was good just like the right picture above.
Does anyone have the best practice for this situation?