Shape and Type of X_train and Y_valid for Googlenet

Hello, i am trying to develop a googlenet model. but getting some issues with the x size and y size as follows:

ValueError: Data cardinality is ambiguous:
x sizes: 27
y sizes: 54, 54, 54
Make sure all arrays contain the same number of samples.

i wish to know what does x and y sizes represent as i found no information about same and how to change my training and validation arrays so that i dnt get that error.
please note that i have developped my code inspired from the tutorial
https://www.analyticsvidhya.com/blog/2018/10/understanding-inception-network-from-scratch/?

Thanks for helping

© Copyright 2013-2021 Analytics Vidhya