@ptrblck
For the keras code, batch size for training is 64.
For validation, it should be (64//10)*10 = 60
My dataset has:
Training:
X = (1600, 1, 66650, 1) for testing #(samples, hight, width, channels)
Y = (1600, 50)
For Testing:
X = (4000, 1, 66650, 1) # Every 10 samples are randomly cropped from the same sample
Y = (4000, 50)
The original dataset has 400 test samples.
Thus, I reshape the test output like this: (samples/crops, crops, nClass)
Hence, a output (4000, 50) becomes (4000/10, 10, 50) = (400, 10, 40)
I hope it is clear now