Alternative dataset

#13
by multimodalart HF staff - opened

Given the current legal status of this dataset, @linoyts created this very cool dataset with 251 creative commons and open source creatures https://huggingface.co/datasets/linoyts/Tuxemon

For those using following https://huggingface.co/blog/lora and using https://github.com/huggingface/diffusers/blob/main/examples/text_to_image/train_text_to_image_lora.py, you will need to set --caption_column="prompt" 👍

I reported the following error while using this dataset. What is the reason?
Traceback (most recent call last):
File "/data/zq/diffusers/examples/text_to_image/train_text_to_image.py", line 1153, in
main()
File "/data/zq/diffusers/examples/text_to_image/train_text_to_image.py", line 767, in main
raise ValueError(
ValueError: --caption_column' value 'prompt' needs to be one of: image
Traceback (most recent call last):
File "/home/zq/miniconda3/envs/SD3/bin/accelerate", line 8, in
sys.exit(main())
File "/home/zq/miniconda3/envs/SD3/lib/python3.9/site-packages/accelerate/commands/accelerate_cli.py", line 48, in main
args.func(args)
File "/home/zq/miniconda3/envs/SD3/lib/python3.9/site-packages/accelerate/commands/launch.py", line 1174, in launch_command
simple_launcher(args)
File "/home/zq/miniconda3/envs/SD3/lib/python3.9/site-packages/accelerate/commands/launch.py", line 769, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/home/zq/miniconda3/envs/SD3/bin/python', 'train_text_to_image.py', '--pretrained_model_name_or_path=stabilityai/stable-diffusion-2', '--dataset_name=/data/zq/mmdetection/data/coco/train', '--use_ema', '--resolution=768', '--center_crop', '--random_flip', '--train_batch_size=1', '--gradient_accumulation_steps=4', '--gradient_checkpointing', '--max_train_steps=15000', '--learning_rate=1e-05', '--max_grad_norm=1', '--lr_scheduler=constant', '--lr_warmup_steps=0', '--output_dir=/data/zq/diffusers/polyp_model', '--caption_column=prompt']' returned non-zero exit status 1.

Sign up or log in to comment