diffusers
diffusers copied to clipboard
🤗 Diffusers: State-of-the-art diffusion models for image and audio generation in PyTorch and FLAX.
This PR shows how to generate images with custom height and width, for example can be used to generate recatngular images. ```python pipe(prompt, height=512, width=256, guidance_scale=7.5)["sample"] ```
Thanks for open-sourcing this great repo! I have been using this code with stable diffusion checkpoints. There are 2 key features that https://github.com/CompVis/stable-diffusion supports, but seem to be missing here:...
This is mostly a question. I find it a little weird that the output of `encode` in `AutoencoderKL` is the diagonal Gaussian distribution from which the hidden states are obtained,...
### Describe the bug https://github.com/huggingface/diffusers/blob/92b6dbba1a25ed27b0bae38b089715132c7e6bcc/examples/train_unconditional.py#L168 This is a minor thing, but I think this should be `torch.Generator().manual_seed(0)`. In my understanding, if `torch.manual_seed` is called, it sets the seed globally and...
### Describe the bug Following this section of the diffuser's training example: ``` # Or just load images from a local folder! config.dataset = "imagefolder" dataset = load_dataset(config.dataset, data_dir="path/to/folder") ```...
### Describe the bug The readme file in pipelines describes glide but the link is broken as glide folder does not exist, was it removed? ### Reproduction _No response_ ###...
**Is your feature request related to a problem? Please describe.** The `ModelMixin.from_pretrained` has a keyword argument `subfolder`, but it's not documented in its docstring and it's hard for newcomers to...
Hi, 2 quick questions around this: - Is there any colab / guiding doc around leveraging this model for image inpainting? - Given a source person + t-shirt image, how...
**Is your feature request related to a problem? Please describe.** This is a minor thing, but I find the progress bar annoying when I run inference with pipeline successively. See...