Configuring Metadata for Training ControlNet with Custom Datasets
I want to train a ControlNet using my custom dataset, structured as follows:train
├── conditioning_images
│   ├── 00001.png
│   └── 00002.png
└── images
    ├── 00001.jpg
    └── 00002.jpgFor themetadata.jsonlfile, I understand it needs afile_namecolumn linking to image files. However, when I provided ametadata.jsonlfile like this:{"file_name": "images/00001.jpg", "conditioning_image": "conditioning_images/00001.png", "text": "a man in a suit and tie speaking into a microphone"}
{"file_name": "images/00002.jpg", "conditioning_image": "conditioning_images/00002.png", "text": "a bald man in a suit and tie giving a speech"}theload_datasetfunction raised an error:ValueError: image at conditioning_images/00001.png doesn't have metadata in metadata.jsonlI am wondering if there’s an issue with mymetadata.jsonlfile.