multiprobing, json db, simple ui
You may have to remove the presets/default.json and save a new one.witth your desired defaults. Otherwise checkboxes may not have the right default values.
General changes:
Weights, when enabled, are not printed in the tags list. Weights are displayed in the list below already as bars, so they do not add information, only obfuscate the list IMO.
There is an settings entry for the tagger, several options have been moved there.
The list of tags weights stops at a number specified on the settings tab (the slider)
There is both an included and excluded rags tab
tags in the tags list on top are clickable.
Tags below are also clickable. There is a difference if you click on the dotted line or on the actual word. a click on the word will add it to a search/kept tag (dependent on which was last active) on the dotted line will add it to the input box next to it.
interrogations can be combined (checkbox), also for a single image.
Make the labels listed clickable again, a click will add it to the selected listbox. This also functions when you are on the discarded tags tab.
Added search and replace input lists.
Changed behavior: when clicking on the dotted line, inserted is in the exclude/replace input list, if not the tag is inserted in the additional/search input list
Added a Mininmum fraction for tags slider. This filters tags based on the fraction of images and interrogations per image that has this tag with the selected weight threshold. I find this kind of filtering makes more sense than limiting the tags list to a number, though that is ok to prevent cluttering up the view,
Added a string search selected tags input field (top right) and two buttons:
Move visible tags to keep tags
Move visible tags to exclude tags
For batch processing:
After each update a db.json is written in the images folder. The db contains the weights for queries, a rerun of the same images using an interrogator just rereads this db.json. This also works after a stable diffusion reload or a reboot, as long as this db.json is there.
There is a huge batch implementation, but I was unable to test, not the right tensorflow version. EXPERIMENTAL. It is only enabled if you have the right tf version, but it's likely buggy due to my lack of testing. feel free to send me a patch if you can improve it. also see here
pre- or appending weights to weighed tag files, i.e. with weights enabled, will instead have the weights averaged
After batch processing the combined tag count average is listed, for all processed files, and the corrected average when combining the weighed tags. This is not limited to the tag_count_threshold, as it relates to the weights of all tag files. Conversely, the already existing threshold slider does affect this list length.
search tag can be a single regex or as many as replacements, comma separated. Currently a single regex or multiple as many strings in search an replace are allowed, but this is going to change in the near future, to allow all regexes and back referencing per replacements as in a re.sub().
added a 'verbose setting'.
a comma was previously missing when appending tags
several of the interrogators have been fixed.
I think that's it.