I want to print the number of images for each class for training

I want to print the no. of images for each class

We would need some more information about what’s not working.
E.g. how are you loading the data, how did you store it, and what kind of data are you trying to use?

Image type of data using data loader