I want to get the class number by printing the shape of it. There are four classes, so I want to get the number of this by doing this - n_classes = test_data.shape[1]?
I have print this - print(len(test_data)) and giving me 32 and printing this - print(test_data[0][0].shape) gicing me this error -
OSError: cannot identify image file <_io.BufferedReader name='/content/drive/My Drive/AMD_new/val/CNV/CNV-6294785-1.jpeg'>
Can you please tell me is my concept right that I can get the class number by printing shape of the first colomn of the test_data, which has four folder in drive?