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`
3c289794
`blackfy`
c6f6dc3e
handle mask as `np.array`
8bb5b354
add docstring
b77273cd
revert `black` changes with smaller line length
6fd06a39
missing ValueError in docstring
c63c0871
raise `TypeError` for image as tensor but not mask
336c0c25
typo in mask shape selection
5ed37961
check for batch dim
a277097c
fix: wrong indentation
847921ba
add tests
04f36ad0
Merge branch 'main' into main
80b5f6dc
Login to write a write a comment.
Login via GitHub