Plot_top_losses returns images with weird flashing light

For lesson 2, I implemented a classifier for horse color breeds and when plotting the images with top loss I get images with a weird purple flashing light. I thought at first it had to do with augmentation transforms, but it happens even after i set ds_tfms to None when creating image data bunch. I checked the original images and none have this aspect.
You can see the images at the end of the Kernel here. Any help willl be appreciated. Thanks!

This is the new heatmap feature recently added to plot_top_losses that shows you which parts of the image most contributed to the prediction it made.

You can turn if off by passing False For the heatmap parameter.

5 Likes