You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
see src/run_individual.sh for a sample training script.
Individual concepts
see src/run_large.sh for a sample training script.
Sample
see src/sample.py for refernce.
Evaluation
FID
install clean-fid via pip install clean-fid then refer to src/eval/fid/eval_fid.py for FID evaluation.
BLIP score
We adopt the implementation from A&E. See src/eval/blip/eval_blip.py for BLIP similarity score evaluation.
Detection score
Clone and build Detic from their official repo. Then move the Python files under src/eval/detic to the cloned folder. See src/eval/detic/eval_detic.py for details.
Large-scale concepts and prompts
The 220 concepts we used for the large-scale experiment is at src/concepts/large_scale.py.
The 200 evaluation prompts are at src/concepts/large_test.txt.
@inproceedings{bao2024sepen,
Author = {Bao, Zhipeng and Li, Yijun and Singh, Krishna Kumar and Wang, Yu-Xiong and Hebert, Martial},
Title = {Separate-and-Enhance: Compositional Finetuning for Text2Image Diffusion Models},
Booktitle = {SIGGRAPH},
Year = {2024},
}
About
Code of Separate and Enhance work for better compositional generation from prompt