Wrong indexing in plot function

Wrong indexing in plot function

by Oriol Barbany Mayor -
Number of replies: 1

Hi everyone,

There's a small error in the given plot_some_samples function because in the following line, there's a shifting of a unit that is not needed (since both MNIST and fashion MNIST are defined {0,...,9} and not {1,...,9,0}). Thus the red part can be deleted.

thisax.text(0, 0, (label_mapping[j]+1)%10, color='green', verticalalignment='top',                                              transform=thisax.transAxes)