imaginAIry/imaginairy/enhancers
Jiaming Sun a338902ab5
fix: add png handling for LazyLoadingImage (#203)
Loading png images for captioning will cause the following error since PIL loads png images in RGBA mode.

```python
  File "./miniconda3/lib/python3.8/site-packages/torchvision/transforms/functional_tensor.py", line 940, in normalize
    return tensor.sub_(mean).div_(std)
RuntimeError: The size of tensor a (4) must match the size of tensor b (3) at non-singleton dimension 0
```
2023-01-25 22:20:31 -08:00
..
phraselists feature: prompt expansion (#51) 2022-10-08 18:34:35 -07:00
__init__.py feature: face enhancement and upscaling!! 2022-09-13 00:27:53 -07:00
blur_detect.py fix: don't report a safety issue when a black image is generated 2023-01-16 14:51:31 -08:00
bool_masker.py feature: dilation and erosion of masks 2022-10-17 23:47:26 -07:00
clip_masking.py fix: use py3.7 compat lru_cache 2023-01-22 18:24:57 -08:00
describe_image_blip.py fix: add png handling for LazyLoadingImage (#203) 2023-01-25 22:20:31 -08:00
describe_image_clip.py fix: use py3.7 compat lru_cache 2023-01-22 18:24:57 -08:00
face_restoration_codeformer.py fix: use py3.7 compat lru_cache 2023-01-22 18:24:57 -08:00
facecrop.py feature: finetuning 2023-01-16 01:35:59 -08:00
prompt_expansion.py fix: use py3.7 compat lru_cache 2023-01-22 18:24:57 -08:00
upscale_realesrgan.py fix: use py3.7 compat lru_cache 2023-01-22 18:24:57 -08:00