Open LucaMarconato opened 4 years ago
Hi, My guess would be that this error is caused by the presence of an alpha channel in your image file. You can check this with imagemagick by running
magick identify -format "%[channels]\n" /path/to/image
If the image has an alpha channel, the command will output something like "srgba". You can strip the alpha channel by running
magick convert /path/to/image -alpha off /path/to/new_image
Verify by running magick identify
on the new image. It should now output something like "srgb", without an "a" at the end.
The xfuse convert
command currently doesn't check the image mode. We should probably remove the alpha channel if it's present. I will label this as a bug and implement a fix in a future release. Thanks for reporting!
Thanks @ludvb, the image had an alpha channel indeed! Removing it as you suggested fixed the issue.
Hello, I am trying running XFuse on 8 Visium slides using GPUs. The training proceeds until epoch 499. Then at epoch 500 the session panics and I get this error. It seems to involve TensorBoard. Any idea on how to fix it?