please would anyone help with codes for grayscale image count in TensorFlow? This is what I have tried and I am getting smaller count (say 48) compare with more than a thousand images in the folder.
My data in DATADIR:
image_count = len(list(DATADIR))
print("No of Images =", image_count)