InvokeAI/ldm/invoke
Damian Stewart 786b8878d6
Save and display per-token attention maps (#1866)
* attention maps saving to /tmp

* tidy up diffusers branch backporting of cross attention refactoring

* base64-encoding the attention maps image for generationResult

* cleanup/refactor conditioning.py

* attention maps and tokens being sent to web UI

* attention maps: restrict count to actual token count and improve robustness

* add argument type hint to image_to_dataURL function

Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>

Co-authored-by: damian <git@damianstewart.com>
Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
2022-12-10 15:57:41 +01:00
..
generator Save and display per-token attention maps (#1866) 2022-12-10 15:57:41 +01:00
restoration 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
args.py Eventually update APP_VERSION to 2.2.3 2022-12-04 14:33:16 -05:00
CLI.py Save and display per-token attention maps (#1866) 2022-12-10 15:57:41 +01:00
concepts_lib.py fix startup messages and a startup crash 2022-12-01 07:42:31 -05:00
conditioning.py Save and display per-token attention maps (#1866) 2022-12-10 15:57:41 +01:00
devices.py rename all modules from ldm.dream to ldm.invoke 2022-10-08 11:37:23 -04:00
globals.py (config) fix permissions on configure_invokeai.py, improve documentation in globals.py comment 2022-12-03 14:33:21 -05:00
image_util.py Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
log.py rename all modules from ldm.dream to ldm.invoke 2022-10-08 11:37:23 -04:00
model_cache.py Account for flat models 2022-12-07 12:11:37 -05:00
pngwriter.py fix a few more metadata bugs 2022-10-25 00:31:43 -04:00
prompt_parser.py Save and display per-token attention maps (#1866) 2022-12-10 15:57:41 +01:00
readline.py Save and display per-token attention maps (#1866) 2022-12-10 15:57:41 +01:00
seamless.py Split seamless config into separate file 2022-10-17 19:31:20 -04:00
server_legacy.py Add back old dream.py as legacy_api.py 2022-10-12 20:35:56 -04:00
server.py Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
txt2mask.py Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00