aboutsummaryrefslogtreecommitdiffstats
path: root/modules/textual_inversion
AgeCommit message (Collapse)AuthorLines
2023-05-11Autofix Ruff W (not W605) (mostly whitespace)Aarni Koskela-11/+11
2023-05-11Reindent autocrop with 4 spacesAarni Koskela-100/+102
2023-05-11Deduplicate get_font codeAarni Koskela-7/+2
2023-05-10suggestions and fixes from the PRAUTOMATIC-2/+1
2023-05-10fixes for B007AUTOMATIC-6/+6
2023-05-10ruff manual fixesAUTOMATIC-3/+3
2023-05-10ruff auto fixesAUTOMATIC-1/+1
2023-05-10imports cleanup for ruffAUTOMATIC-9/+2
2023-05-10manual fixes for ruffAUTOMATIC-1/+1
2023-05-10autofixes from ruffAUTOMATIC-1/+1
2023-05-09Fix up string formatting/concatenation to f-strings where feasibleAarni Koskela-13/+13
2023-04-29Merge pull request #8924 from kurilee/masterAUTOMATIC1111-3/+7
Add option "keep original size" to textual inversion images preprocess
2023-04-29Merge pull request #9407 from GoulartNogueira/masterAUTOMATIC1111-1/+3
Fix orientation bug on preprocess
2023-04-13sort self.word_embeddings without instantiating it a new dictBrad Smith-3/+6
2023-04-08sort embeddings by name (case insensitive)Brad Smith-2/+5
2023-04-05Pythonic way to achieve itAndre Ubuntu-17/+1
2023-04-05fix preprocess orientationAndre Ubuntu-1/+19
2023-03-25Add option "keep original size" to textual inversion images preprocesskurilee-3/+7
2023-03-25Fix None type error for TI modulebutaixianran-1/+5
When user using model_name.png as a preview image, textural_inversion.py still treat it as an embeding, and didn't handle its error, just let python throw out an None type error like following: ```bash File "D:\Work\Dev\AI\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 155, in load_from_file name = data.get('name', name) AttributeError: 'NoneType' object has no attribute 'get' ``` With just a simple `if data:` checking as following, there will be no error, breaks nothing, and now this module can works fine with user's preview images. Old code: ```python data = extract_image_data_embed(embed_image) name = data.get('name', name) ``` New code: ```python data = extract_image_data_embed(embed_image) if data: name = data.get('name', name) else: # if data is None, means this is not an embeding, just a preview image return ``` Also, since there is no more errors on textual inversion module, from now on, extra network can set "model_name.png" as preview image for embedings.
2023-02-19fix for #6700AUTOMATIC-1/+1
2023-02-15Add ability to choose using weighted loss or notShondoit-9/+19
2023-02-15Call weighted_forward during trainingShondoit-1/+2
2023-02-15Add PNG alpha channel as weight maps to data entriesShondoit-13/+38
2023-01-29do not display the message for TI unless the list of loaded embeddings changedAUTOMATIC-3/+7
2023-01-27add data-dir flag and set all user data directories based on itMax Audron-3/+2
2023-01-25allow symlinks in the textual inversion embeddings folderAlex "mcmonkey" Goodwin-1/+1
2023-01-21extra networks UIAUTOMATIC-0/+2
rework of hypernets: rather than via settings, hypernets are added directly to prompt as <hypernet:name:weight>
2023-01-19Merge pull request #6844 from guaneec/crop-uiAUTOMATIC1111-4/+34
Add auto-sized cropping UI
2023-01-19Fix of fixdan-2/+2
2023-01-19Simplification and bugfixdan-7/+5
2023-01-18add option to show/hide warningsAUTOMATIC-1/+5
removed hiding warnings from LDSR fixed/reworked few places that produced warnings
2023-01-17Add auto-sized cropping UIdan-3/+35
2023-01-15add fields to settings fileVladimir Mandic-1/+1
2023-01-15big rework of progressbar/preview system to allow multiple users to prompts ↵AUTOMATIC-4/+4
at the same time and do not get previews of each other
2023-01-14change hash to sha256AUTOMATIC-3/+3
2023-01-13fix a bug caused by mergeAUTOMATIC-0/+1
2023-01-13Merge branch 'master' into tensorboardAUTOMATIC1111-338/+1128
2023-01-13Merge pull request #6689 from Poktay/add_gradient_settings_to_logging_fileAUTOMATIC1111-1/+1
add gradient settings to training settings log files
2023-01-13print bucket sizes for training without resizing images #6620AUTOMATIC-3/+19
fix an error when generating a picture with embedding in it
2023-01-13Merge pull request #6620 from guaneec/varsize_batchAUTOMATIC1111-4/+32
Enable batch_size>1 for mixed-sized training
2023-01-12add gradient settings to training settings log filesJosh R-1/+1
2023-01-12Allow creation of zero vectors for TIShondoit-3/+6
2023-01-11set descriptionsVladimir Mandic-2/+9
2023-01-10Support loading textual inversion embeddings from safetensors filesLee Bousfield-0/+3
2023-01-11Enable batch_size>1 for mixed-sized trainingdan-4/+32
2023-01-09make a dropdown for prompt template selectionAUTOMATIC-8/+27
2023-01-09remove/simplify some changes from #6481AUTOMATIC-11/+7
2023-01-09Merge branch 'master' into varsizeAUTOMATIC1111-62/+103
2023-01-08make it possible for extensions/scripts to add their own embedding directoriesAUTOMATIC-66/+104
2023-01-08skip images in embeddings dir if they have a second .preview extensionAUTOMATIC-0/+4