├── IP_Adapter ├── __init__.py ├── attention_processor.py ├── ip_adapter.py ├── resampler.py └── utils.py ├── README.md ├── assets ├── age │ ├── kid.png │ └── old.png ├── emotions │ ├── joyful.png │ └── sad.png ├── objects │ ├── mug.png │ └── plate.png ├── patterns │ ├── pebble.png │ └── splash.png ├── people │ ├── boy.png │ └── woman.png └── teaser.jpg ├── create_grids.py ├── demo.py ├── example_configs ├── age_emotions.yaml └── patterns.yaml ├── generate_compositions.py ├── generate_text_embeddings.py ├── perform_swap.py ├── requirements.txt ├── text_datasets ├── age_descriptions.csv ├── dog_descriptions.csv ├── emotion_descriptions.csv ├── flower_descriptions.csv ├── fruit_vegetable_descriptions.csv ├── fur_descriptions.csv ├── material_descriptions.csv ├── outfit_color_descriptions.csv ├── outfit_descriptions.csv ├── outfit_pattern_descriptions.csv ├── pattern_descriptions.csv ├── pattern_descriptions_with_colors.csv ├── person_poses_descriptions.csv ├── season_descriptions.csv ├── times_of_day_descriptions.csv ├── vehicle_descriptions.csv └── vehicle_descriptions_with_color.csv └── text_embeddings ├── age_descriptions.npy ├── dog_descriptions.npy ├── emotion_descriptions.npy ├── flower_descriptions.npy ├── fruit_vegetable_descriptions.npy ├── fur_descriptions.npy ├── material_descriptions.npy ├── outfit_color_descriptions.npy ├── outfit_descriptions.npy ├── outfit_pattern_descriptions.npy ├── pattern_descriptions.npy ├── pattern_descriptions_with_colors.npy ├── person_poses_descriptions.npy ├── season_descriptions.npy ├── times_of_day_descriptions.npy ├── vehicle_descriptions.npy └── vehicle_descriptions_with_color.npy /IP_Adapter/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/IP_Adapter/__init__.py -------------------------------------------------------------------------------- /IP_Adapter/attention_processor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/IP_Adapter/attention_processor.py -------------------------------------------------------------------------------- /IP_Adapter/ip_adapter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/IP_Adapter/ip_adapter.py -------------------------------------------------------------------------------- /IP_Adapter/resampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/IP_Adapter/resampler.py -------------------------------------------------------------------------------- /IP_Adapter/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/IP_Adapter/utils.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/README.md -------------------------------------------------------------------------------- /assets/age/kid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/assets/age/kid.png -------------------------------------------------------------------------------- /assets/age/old.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/assets/age/old.png -------------------------------------------------------------------------------- /assets/emotions/joyful.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/assets/emotions/joyful.png -------------------------------------------------------------------------------- /assets/emotions/sad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/assets/emotions/sad.png -------------------------------------------------------------------------------- /assets/objects/mug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/assets/objects/mug.png -------------------------------------------------------------------------------- /assets/objects/plate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/assets/objects/plate.png -------------------------------------------------------------------------------- /assets/patterns/pebble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/assets/patterns/pebble.png -------------------------------------------------------------------------------- /assets/patterns/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/assets/patterns/splash.png -------------------------------------------------------------------------------- /assets/people/boy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/assets/people/boy.png -------------------------------------------------------------------------------- /assets/people/woman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/assets/people/woman.png -------------------------------------------------------------------------------- /assets/teaser.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/assets/teaser.jpg -------------------------------------------------------------------------------- /create_grids.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/create_grids.py -------------------------------------------------------------------------------- /demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/demo.py -------------------------------------------------------------------------------- /example_configs/age_emotions.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/example_configs/age_emotions.yaml -------------------------------------------------------------------------------- /example_configs/patterns.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/example_configs/patterns.yaml -------------------------------------------------------------------------------- /generate_compositions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/generate_compositions.py -------------------------------------------------------------------------------- /generate_text_embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/generate_text_embeddings.py -------------------------------------------------------------------------------- /perform_swap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/perform_swap.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/requirements.txt -------------------------------------------------------------------------------- /text_datasets/age_descriptions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_datasets/age_descriptions.csv -------------------------------------------------------------------------------- /text_datasets/dog_descriptions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_datasets/dog_descriptions.csv -------------------------------------------------------------------------------- /text_datasets/emotion_descriptions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_datasets/emotion_descriptions.csv -------------------------------------------------------------------------------- /text_datasets/flower_descriptions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_datasets/flower_descriptions.csv -------------------------------------------------------------------------------- /text_datasets/fruit_vegetable_descriptions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_datasets/fruit_vegetable_descriptions.csv -------------------------------------------------------------------------------- /text_datasets/fur_descriptions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_datasets/fur_descriptions.csv -------------------------------------------------------------------------------- /text_datasets/material_descriptions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_datasets/material_descriptions.csv -------------------------------------------------------------------------------- /text_datasets/outfit_color_descriptions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_datasets/outfit_color_descriptions.csv -------------------------------------------------------------------------------- /text_datasets/outfit_descriptions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_datasets/outfit_descriptions.csv -------------------------------------------------------------------------------- /text_datasets/outfit_pattern_descriptions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_datasets/outfit_pattern_descriptions.csv -------------------------------------------------------------------------------- /text_datasets/pattern_descriptions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_datasets/pattern_descriptions.csv -------------------------------------------------------------------------------- /text_datasets/pattern_descriptions_with_colors.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_datasets/pattern_descriptions_with_colors.csv -------------------------------------------------------------------------------- /text_datasets/person_poses_descriptions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_datasets/person_poses_descriptions.csv -------------------------------------------------------------------------------- /text_datasets/season_descriptions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_datasets/season_descriptions.csv -------------------------------------------------------------------------------- /text_datasets/times_of_day_descriptions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_datasets/times_of_day_descriptions.csv -------------------------------------------------------------------------------- /text_datasets/vehicle_descriptions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_datasets/vehicle_descriptions.csv -------------------------------------------------------------------------------- /text_datasets/vehicle_descriptions_with_color.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_datasets/vehicle_descriptions_with_color.csv -------------------------------------------------------------------------------- /text_embeddings/age_descriptions.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_embeddings/age_descriptions.npy -------------------------------------------------------------------------------- /text_embeddings/dog_descriptions.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_embeddings/dog_descriptions.npy -------------------------------------------------------------------------------- /text_embeddings/emotion_descriptions.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_embeddings/emotion_descriptions.npy -------------------------------------------------------------------------------- /text_embeddings/flower_descriptions.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_embeddings/flower_descriptions.npy -------------------------------------------------------------------------------- /text_embeddings/fruit_vegetable_descriptions.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_embeddings/fruit_vegetable_descriptions.npy -------------------------------------------------------------------------------- /text_embeddings/fur_descriptions.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_embeddings/fur_descriptions.npy -------------------------------------------------------------------------------- /text_embeddings/material_descriptions.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_embeddings/material_descriptions.npy -------------------------------------------------------------------------------- /text_embeddings/outfit_color_descriptions.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_embeddings/outfit_color_descriptions.npy -------------------------------------------------------------------------------- /text_embeddings/outfit_descriptions.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_embeddings/outfit_descriptions.npy -------------------------------------------------------------------------------- /text_embeddings/outfit_pattern_descriptions.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_embeddings/outfit_pattern_descriptions.npy -------------------------------------------------------------------------------- /text_embeddings/pattern_descriptions.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_embeddings/pattern_descriptions.npy -------------------------------------------------------------------------------- /text_embeddings/pattern_descriptions_with_colors.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_embeddings/pattern_descriptions_with_colors.npy -------------------------------------------------------------------------------- /text_embeddings/person_poses_descriptions.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_embeddings/person_poses_descriptions.npy -------------------------------------------------------------------------------- /text_embeddings/season_descriptions.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_embeddings/season_descriptions.npy -------------------------------------------------------------------------------- /text_embeddings/times_of_day_descriptions.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_embeddings/times_of_day_descriptions.npy -------------------------------------------------------------------------------- /text_embeddings/vehicle_descriptions.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_embeddings/vehicle_descriptions.npy -------------------------------------------------------------------------------- /text_embeddings/vehicle_descriptions_with_color.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saradorfman1/IP_Composer/HEAD/text_embeddings/vehicle_descriptions_with_color.npy --------------------------------------------------------------------------------