Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError #5

Open
iamjinchen opened this issue Jul 2, 2024 · 1 comment
Open

FileNotFoundError #5

iamjinchen opened this issue Jul 2, 2024 · 1 comment

Comments

@iamjinchen
Copy link

[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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant