Datasets:
Size:
10M<n<100M
License:
Duplicate images
#10
by
pshishodia
- opened
Hey, the dataset has around 1351 images that occur twice with the same filename (image contents are same as well)
Reproduce
from datasets import load_dataset
from datasets import Image
from PIL import Image as PILImage
from io import BytesIO
from tqdm import tqdm
vaani_images = load_dataset("ARTPARK-IISc/VAANI", "images", token=os.environ.get("HF_TOKEN"), cache_dir="/mnt/hf_cache")
vaani_images = vaani_images.cast_column("image", Image(decode=False))
print(len(vaani_images)) ## prints 130158
print(len(set(([img['path'] for img in tqdm(vaani_images['train']['image'])])))) ## prints 128807
this is a non-issue but just an fyi
Thanks for bringing this to our attention! We will review and resolve it in the next release.