1 min readMar 5, 2019
Hi,Looks like you’re using 12 outputs, instead of 1 Dense layer, if that’s the case you have to wrap your generator with a custom function, you can refer “Multi-label image classification Tutorial with Keras ImageDataGenerator” blog that I wrote(You can copy paste that function and I think it should work).