In my dataset i have folders as follows :
['c7', 'c1', 'c4', 'c0', 'c6', 'c9', 'c8', 'c2', 'c5', 'c3']
i have found length of each folder using:
for i in os.listdir('../Project/Dataset/imgs/train'):
print(len(os.listdir('../Project/Dataset/imgs/train/'+i)))
I need to display each folder size with corresponding folder name
Ex: c7 : 2000 c3 : 2000