Notice that this dataset has only 43 sample files:
In[5]:=
Length[trainingSet]
Out[5]=
43
Training a neural net on a small number of data samples is a challenge. Transfer learning and data augmentation can be used to cope with this situation. Create a function using