diffusers/examples/research_projects
Isamu Isozaki 8552fd7efa
Added multitoken training for textual inversion. Issue 369 (#661)
* Added multitoken training for textual inversion

* Updated assertion

* Removed duplicate save code

* Fixed undefined bug

* Fixed save

* Added multitoken clip model +util helper

* Removed code splitting

* Removed class

* Fixed errors

* Fixed errors

* Added loading functionality

* Loading via dict instead

* Fixed bug of invalid index being loaded

* Fixed adding placeholder token only adding 1 token

* Fixed bug when initializing tokens

* Fixed bug when initializing tokens

* Removed flawed logic

* Fixed vector shuffle

* Fixed tokenizer's inconsistent __call__ method

* Fixed tokenizer's inconsistent __call__ method

* Handling list input

* Added exception for adding invalid tokens to token map

* Removed unnecessary files and started working on progressive tokens

* Set at minimum load one token

* Changed to global step

* Added method to load automatic1111 tokens

* Fixed bug in load

* Quality+style fixes

* Update quality/style fixes

* Cast embeddings to fp16 when loading

* Fixed quality

* Started moving things over

* Clearing diffs

* Clearing diffs

* Moved everything

* Requested changes
2023-03-07 12:09:36 +01:00
..
colossalai Replace flake8 with ruff and update black (#2279) 2023-02-07 23:46:23 +01:00
dreambooth_inpaint checkpointing_steps_total_limit->checkpoints_total_limit (#2374) 2023-02-16 00:28:58 -08:00
intel_opts Replace flake8 with ruff and update black (#2279) 2023-02-07 23:46:23 +01:00
mulit_token_textual_inversion Added multitoken training for textual inversion. Issue 369 (#661) 2023-03-07 12:09:36 +01:00
multi_subject_dreambooth checkpointing_steps_total_limit->checkpoints_total_limit (#2374) 2023-02-16 00:28:58 -08:00
onnxruntime [Copyright] 2023 (#2524) 2023-03-01 10:31:00 +01:00
README.md Research folder (#1553) 2022-12-05 17:58:35 +01:00

README.md

Research projects

This folder contains various research projects using 🧨 Diffusers. They are not really maintained by the core maintainers of this library and often require a specific version of Diffusers that is indicated in the requirements file of each folder. Updating them to the most recent version of the library will require some work.

To use any of them, just run the command

pip install -r requirements.txt

inside the folder of your choice.

If you need help with any of those, please open an issue where you directly ping the author(s), as indicated at the top of the README of each folder.