LgQu / DPT-T2I

Official code for CVPR 2024 paper: Discriminative Probing and Tuning for Text-to-Image Generation
Apache License 2.0
18 stars 0 forks source link

FileNotFoundError #5

Open iamjinchen opened 1 week ago

iamjinchen commented 1 week ago

[Errno 2] No such file or directory: '../dataset/ReC/mdetr/OpenSource/finetune_refall_train.json' when i run command accelerate launch --mixed_precision="fp16" --gpu_ids='all' --multi_gpu --main_process_port=25487 train_stage1.py \ --pretrained_model_name_or_path='stabilityai/stable-diffusion-2-1-base' \ --dataset_name refall\ --enable_xformers_memory_efficient_attention \ --gradient_checkpointing \ --unet_feature='up1' \ --dataloader_num_workers=4 \ --center_crop --random_flip \ --lr_scheduler="constant" \ --checkpointing_steps=500 \ --train_batch_size=48 \ --val_batch_size=16 \ --gradient_accumulation_steps=1 \ --max_train_steps=60000 \ --learning_rate=1e-4 \ --run_name='dpt_stage1' \ --report_to=wandb where should i find this json file?

iamjinchen commented 1 week ago

I add dataset_name in the command, else the output reminds me train_stage1.py: error: the following arguments are required: --dataset_name. However, the instruction on dataset setting is missing.