InvokeAI/ldm
blessedcoolant 69cc0993f8
Add Embedding Parsing (#1973)
* Add Embedding Parsing

* Add Embedding Parsing

* Return token_dim in embedding_info

* fixes to handle other variants

1. Handle the case of a .bin file being mislabeled .pt (seen in the
wild at https://cyberes.github.io/stable-diffusion-textual-inversion-models/)

2. Handle the "broken" .pt files reported by https://github.com/invoke-ai/InvokeAI/issues/1829

3. When token name is not available, use the basename of the pt or bin file rather than the
   whole path.

fixes #1829

* remove whitespace

Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
2022-12-15 17:26:36 -05:00
..
data Textual Inversion for M1 2022-09-27 01:39:17 +02:00
invoke Correct timestep for img2img initial noise addition (#1946) 2022-12-15 15:59:19 -05:00
models fix for crash with inpainting model introduced by #1866 (#1922) 2022-12-11 13:48:12 -05:00
modules Add Embedding Parsing (#1973) 2022-12-15 17:26:36 -05:00
__init__.py Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
generate.py Load model in inpaint when using free_gpu_mem option (#1938) 2022-12-12 09:14:30 -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