diffusers/tests/pipelines
Victor Schmidt 3bec90ff2c
Handle batches and Tensors in `pipeline_stable_diffusion_inpaint.py:prepare_mask_and_masked_image` (#1003)
* Handle batches and Tensors in `prepare_mask_and_masked_image`

* `blackfy`
upgrade `black`

* handle mask as `np.array`

* add docstring

* revert `black` changes with smaller line length

* missing ValueError in docstring

* raise `TypeError` for image as tensor but not mask

* typo in mask shape selection

* check for batch dim

* fix: wrong indentation

* add tests

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
2022-11-20 19:33:09 +01:00
..
altdiffusion [AltDiffusion] add tests (#1311) 2022-11-16 15:40:26 +01:00
dance_diffusion Add UNet 1d for RL model for planning + colab (#105) 2022-11-14 13:48:48 -08:00
ddim Add Scheduler.from_pretrained and better scheduler changing (#1286) 2022-11-15 18:15:13 +01:00
ddpm Add Scheduler.from_pretrained and better scheduler changing (#1286) 2022-11-15 18:15:13 +01:00
karras_ve default fast model loading 🔥 (#1115) 2022-11-03 17:25:57 +01:00
latent_diffusion Add improved handling of pil (#1309) 2022-11-16 15:58:22 +01:00
pndm default fast model loading 🔥 (#1115) 2022-11-03 17:25:57 +01:00
repaint Add Scheduler.from_pretrained and better scheduler changing (#1286) 2022-11-15 18:15:13 +01:00
score_sde_ve Add Scheduler.from_pretrained and better scheduler changing (#1286) 2022-11-15 18:15:13 +01:00
stable_diffusion Handle batches and Tensors in `pipeline_stable_diffusion_inpaint.py:prepare_mask_and_masked_image` (#1003) 2022-11-20 19:33:09 +01:00
vq_diffusion vq diffusion classifier free sampling (#1294) 2022-11-16 17:51:43 +01:00
__init__.py Reorganize pipeline tests (#963) 2022-10-24 16:34:01 +02:00