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

Where is the /data #124

Open
LazyChild opened this issue Mar 31, 2024 · 1 comment
Open

Where is the /data #124

LazyChild opened this issue Mar 31, 2024 · 1 comment

Comments

@LazyChild
Copy link

When I attempt to train the Adapter (main branch) using the following terminal command, executed in the background:

nohup accelerate launch train_sketch.py --pretrained_model_name_or_path stabilityai/stable-diffusion-xl-base-1.0 --output_dir experiments/adapter_sketch_xl --config configs/train/Adapter-XL-sketch.yaml --mixed_precision="fp16" --resolution=1024 --learning_rate=1e-5 --max_train_steps=10 --train_batch_size=1 --gradient_accumulation_steps=4 --report_to="wandb" --seed=42 --num_train_epochs 1 > pre_experiment.out &

The script reports that several files located in the /data directory cannot be found, thus causing the script to fail to run properly. However, there is no /data directory within the project files, as shown in the image below.
image

Could you please clarify the original purpose of these files located in the /data directory? Are they the datasets used for training? Additionally, how can I modify the script to successfully load these files and enable the training to proceed smoothly? If the data directory indeed contains the datasets, considering that the script directly accesses them by name (with error messages like 'No such file or directory', 'data/LAION_6plus/train_00000/00039.tar'), do I need to adjust the relevant script code to ensure that the model can load the data properly if I choose to train it with my own dataset?

@Yonghao-Yu
Copy link

i have the same question...

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

2 participants