training_set.class_indices
That is a dictionary, showing you whether 0 or 1 is cat or dog.
If you want to see whether 0 or 1 is cat or dog, you can print out the dictionary.
print(training_set.class_indices)
Otherwise, delete that line and everything will still works.