This implementation utilizes the pre-existing DatasetTagEditor.sort_tags method.
Currently sorting is hardcoded as ascending alphabetical ("123abc"), but
it should be trivial to provide a UI for the various other options
provided by the method if anyone particularly wants alternative sorting.
Tags may be sorted as a batch for all filtered tags via a new button
- Found under: Batch Edit Captions > Extras > Sort selected tags
- The "Extras" menu was created as part of this commit
There is also an option to automatically sort tags upon clicking the
"Apply changes to selected image" button when editing tags via the
"Edit Caption of Selected Image" menu
- Disabled by default
- Enabled via: "Sort caption on save" checkbox (same menu)
commit d445c1e15ded70cb511dfbf46ad414063d877294
Author: toshiaki1729 <116595002+toshiaki1729@users.noreply.github.com>
Date: Sat Feb 18 01:28:26 2023 +0900
Update dataset_tag_editor.py
commit 08342e87eb0501b2bd793ed91df0c2bc9e3ad9c9
Author: toshiaki1729 <116595002+toshiaki1729@users.noreply.github.com>
Date: Sat Feb 18 01:27:30 2023 +0900
Add file path info to image not for gallery to make temp file (#38)
commit 106b43466a15f9eca6241eedf77fd4a414f5a148
Author: toshiaki1729 <116595002+toshiaki1729@users.noreply.github.com>
Date: Sun Dec 11 18:15:12 2022 +0900
add method to score manually
commit 1b1d94f7879c73fce259ee8ad3c7bd34023b19ac
Author: toshiaki1729 <116595002+toshiaki1729@users.noreply.github.com>
Date: Sun Dec 11 18:06:11 2022 +0900
save tag scores on loading
commit 2abade6c4925c0797bad21fdfaa6b9bb4a1f1486
Author: toshiaki1729 <116595002+toshiaki1729@users.noreply.github.com>
Date: Sun Dec 11 17:57:16 2022 +0900
fix wrong params, wrong clip
commit 4ca3da6a47d951979e70079eefcc032512813cc5
Author: toshiaki1729 <116595002+toshiaki1729@users.noreply.github.com>
Date: Sun Dec 11 17:46:17 2022 +0900
allow using wdv1.4 tagger when loading
#21
commit 3df922552e503612826300e44ff25da4df260b0a
Author: toshiaki1729 <116595002+toshiaki1729@users.noreply.github.com>
Date: Sun Dec 11 16:32:28 2022 +0900
implement wdv1.4 tagger (on the way)
wdv1.4 tagger now available only in selected image
commit e4062bb79f31543bbe675e2e119e346b26efcb0c
Author: toshiaki1729 <116595002+toshiaki1729@users.noreply.github.com>
Date: Sun Dec 11 16:07:18 2022 +0900
implement interrogator to test wdv1.4 tagger
commit 07067ea79569b5869e94e5fa42eadee30cfd33b4
Author: toshiaki1729 <116595002+toshiaki1729@users.noreply.github.com>
Date: Sun Dec 11 15:35:39 2022 +0900
just rearrange importing
commit ee3710237eb4beeb6332c660293a30b7913d8e0d
Author: toshiaki1729 <116595002+toshiaki1729@users.noreply.github.com>
Date: Sun Dec 11 15:33:09 2022 +0900
implement tag scorer (not tested)