-
Notifications
You must be signed in to change notification settings - Fork 6
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
Background and Layout Evaluation #10
Comments
Also in the following command, I can not see the usage of "generator_path" param python pipeline.py |
For the layout generation training, remove the |
Thanks for the response. Let me try |
Evaluation ScriptEXP=swin python eval.py webui logs/$DATASET/$EXP/generated_layout_$COMMAND.pth Training Scriptpython main.py --dataset webui --exp layout
Thank you for your assistance with my questions. I appreciate your support and look forward to your response. |
Training Scriptpython main.py --dataset webui --exp layout Evaluation CommandEXP=layout python eval.py webui /logs/$DATASET/$EXP/generated_layout_$COMMAND.pth Evaluation Resultsusing device: cuda:0 Still the results are not satisfactory, am I doing something wrong? |
Am I doing something wrong? I am unable to generate a harmonized layout
Background Training
export MODEL_NAME="CompVis/stable-diffusion-v1-4"
export INSTANCE_DIR="./../data/background/train"
export OUTPUT_DIR="./../logs/background"
accelerate launch train_background.py
--pretrained_model_name_or_path=$MODEL_NAME
--train_text_encoder
--instance_data_dir=$INSTANCE_DIR
--output_dir=$OUTPUT_DIR
--resolution=512
--train_batch_size=1
--gradient_checkpointing
--learning_rate=1e-5
--lr_scheduler="constant"
--lr_warmup_steps=500
--num_train_epochs=50
--resume_from_checkpoint=latest
--with_spatial_loss
--checkpointing_steps=10000
Background Evaluation Results
Layout Training
python main.py --dataset webui --exp layout
--data_dir ../data
--epoch 100 --lr 1.5e-5 --lr_decay
--encode_backbone swin --encode_embd 1024
--finetune_vb --pretrain_vb --debug
Layout Evaluation Results
The text was updated successfully, but these errors were encountered: