InvokeAI/ldm
wfng92 d2026d0509 Fix error when init_mask=None and invert_mask=True
In the event where no `init_mask` is given and `invert_mask` is set to True, the script will raise the following error:

```bash
AttributeError: 'NoneType' object has no attribute 'mode'
```

The new implementation will only run inversion when both variables are valid.
2022-12-08 22:37:11 -05:00
..
data Textual Inversion for M1 2022-09-27 01:39:17 +02:00
invoke Update CLI.py 2022-12-08 22:34:49 -05:00
models Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
modules Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
__init__.py Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
generate.py Fix error when init_mask=None and invert_mask=True 2022-12-08 22:37:11 -05:00
lr_scheduler.py prettified all the code using "blue" at the urging of @tildebyte 2022-08-26 03:15:42 -04:00
simplet2i.py Squashed commit of the following: 2022-09-12 14:31:48 -04:00
util.py Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00