datasets
Training and evaluation data, with the modality, task and licence stated up front. Listed live from the Hugging Face Hub.
ControlNet_ade20kcontrolnet_traintrain_controlnetfrom datasets import load_dataset, Features, Value, Image
dataset = load_dataset('json', data_files='YMING222/train_controlnet/train.jsonl')
features = Features({
'condition_images': Image(),
'images': Image(),
'text': Value('string')
})
dataset = dataset.cast(features)
inha_controlnet
