BoxDiff icon indicating copy to clipboard operation
BoxDiff copied to clipboard

[ICCV 2023] BoxDiff: Text-to-Image Synthesis with Training-Free Box-Constrained Diffusion

Results 3 BoxDiff issues
Sort by recently updated
recently updated
newest added

will you add it on the sdxl model?

Feel free to check out https://github.com/huggingface/diffusers/tree/main/examples/community#stable-diffusion-boxdiff Example use case: ```python import torch from PIL import Image, ImageDraw from copy import deepcopy from examples.community.pipeline_stable_diffusion_boxdiff import StableDiffusionBoxDiffPipeline def draw_box_with_text(img, boxes, names): colors...

ptp_utils.py imports CrossAttention from diffusers/models/cross_attention.py: ```from diffusers.models.cross_attention import CrossAttention``` But as of July 26 2023, cross_attention.py is deprecated; attention_processor.py should be used instead: https://github.com/huggingface/diffusers/pull/4299