# Generating Croissant Metadata for Custom Image Dataset

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fgenerating-croissant-metadata-for-custom-image-dataset%2F150255%3E%5C
**Category:** 🤗Datasets\
**Created:** [April 14, 2025, 2:17am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fgenerating-croissant-metadata-for-custom-image-dataset%2F150255 "2025-04-14T02:17:00Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![lhoestq](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lhoestq/32/64813_2.png) [@lhoestq](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Flhoestq)%5C
**Post date:** [April 14, 2025, 12:58pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fgenerating-croissant-metadata-for-custom-image-dataset%2F150255%2F6 "2025-04-14T12:58:51Z")

</div>

The croissant metadata on HF are generated automatically for datasets in supported formats like Parquet or [ImageFolder (folder of images and a metadata file )](https://huggingface.co/docs/datasets/v3.5.0/en/image_dataset#imagefolder). If you convert your dataset to Parquet, or if you structure your dataset as a ImageFolder, the croissant metadata will be available.

There is no way to automatically get a croissant metadata file for a dataset based on a python script.

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fgenerating-croissant-metadata-for-custom-image-dataset%2F150255)._
