A tool for downloading from public image boards (which allow scraping) / preview your images & tags / edit your images & tags. Additional tabs for downloading other desired code repositories as well as S.O.T.A. diffusion and clips models for your purposes. Custom datasets can be added!
If augmentation is selected, then image copies are provided to the user as possible augmented data with tags that could be used as valid data in the future.
Currently the resize augmentation that "must" happen prior the image being fed to the auto-tagging model, is interfering with the copy that is supposed to be saved with the "new" augmentation that is selected.
Valid tags are e621 tags that exist in the csv with a count over 1 on the site.
Currently there are two features to add invalid tags to the dataset as post-process steps to editing tags.
I.e. edit valid tags & then use the post-process functions on the custom data tab or download tab to insert invalid tags
The Planned Changes
Create a new supported Invalid Tag/s Category, CSV, Statistics, etc. : this allows the user to add invalid tags directly to the tag editor
Additional considerations to let the invalid tags be re-ordered however the user desires it to be (this may be it's own feature) : Custom gradio component to let the user restructure the final tags placement in the string easily (Custom Gradio Component for Tag Editor)
Tested on both linux & windows. Only getting this issue on windows. It loops when calling functions from instantiated objects from other local files with the respective classes.
Reproduction
Either downloading any data and/or trying to run inference with the captioning model creates this looping behavior with code in the webui.py script.
Tried upgrading it to gradio==3.32.0, but on windows10 the issue persists
the issue is OS related using gradio, but the loop behavior specifically happens when a function is called from a previously instantiated object in the webui.py.
so with the batch_downloader class, running the download button
as well as the the auto_tag class, running the interrogate button
I plan to change this to have the User simply use a checkbox that uses the same folder that is mandatory for the user to provide which is to the original data directory.
Use Case/s:
single image upload:
upload single image & provide path
batch upload:
provide path & check that it is (also) for the batch of images
batch upload (NON-Interact):
images/s uploaded from Tag Editor via a selection & use the tag editor path as default for this feature
Auto-tag model not detected, preventing different functions of the Custom Data Tab` from functioning properly
User tries to import data with invalid tags
Another (just failing to copy files; no error) : i.e. no image/s nor tag files are copying over <-> I'll update this as I find out more information
I may have to split up the tab functionality to reduce a lot of the overhead; since there's a lot of moving parts regarding that Tab alone.
Possibly moving some feature/s currently on that Tab to another "new" Tab, and/or reformat the existing layout of that Tab. #15
A feature designed to allow for more configurable augmentation methods for various use cases.
( can be combined with model presets and available tag combination presets )
A UI of color categorized tags all represented as buttons and from which can be dragged into different placements to the user's requirements.
This will initially show all the tags grouped w.r.t. the different categories and in the order set on the download tab. The user can then edit the tag/s and their ordering from there as well.
Edge Case Considerations:
If the user already edits the tags in this new section, their changes must persist as opposed to the default setting as to how the tag/s would otherwise be displayed initially
The confidence values provided alongside the predicted tags to convey information implicitly about which model/s were used for each corresponding fragment of the score.
likely to be a custom gradio component to allow for that behavior in svlete