New to tensorboard and was testing out some basic functionality.
Displaying the image in matplotlib shows the image expected
print(torch.__version__)
1.2.0


image.png595×588 45.8 KB

However, adding the image to tensorboard gives a degraded image:
tb = SummaryWriter()
tb.add_image('image_indiv',dcm[0].unsqueeze(0))
tb.close()


image.png556×595 20.2 KB