There is a Humpback Whale thread:.
I strongly suspect that my approach is terrible/naive but all I did was take a data frame of the classes that have less than 5 entries, and then start looping through them and applying a transform/saving them with a new image name. I then appended those image names / class entries to a copy of train.csv.
Probably bad practice but it did let me complete model training