skiars / sd-tagtool

A stable diffusion training dataset tag editor.
54 stars 1 forks source link

Feature Request: Sort order of images #11

Open tchrischan opened 3 weeks ago

tchrischan commented 3 weeks ago

What is the default sort order of the images? It would be helpful to have an option to sort them by filename.

skiars commented 2 weeks ago

It looks like no sorting was applied. This is easy to fix, got any other requests?

Cerfanim commented 2 weeks ago

It would be cool if you could search for tags by their names. It would also be great if you could sort tags by frequency/alphabetical order. 

tchrischan commented 2 weeks ago

[like] Chris Chan reacted to your message:


From: Cerfanim @.> Sent: Friday, July 12, 2024 9:21:21 PM To: skiars/sd-tagtool @.> Cc: Chris Chan @.>; Author @.> Subject: Re: [skiars/sd-tagtool] Feature Request: Sort order of images (Issue #11)

CAUTION: This email originated from outside your organization. Exercise caution when opening attachments or clicking links, especially from unknown senders.

It would be cool if you could search for tags by their names. It would also be great if you could sort tags by frequency/alphabetical order.

— Reply to this email directly, view it on GitHubhttps://github.com/skiars/sd-tagtool/issues/11#issuecomment-2226370088, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHPX5H5P4NYOQ66PMISUV33ZMBCFDAVCNFSM6AAAAABKF46BDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRWGM3TAMBYHA. You are receiving this because you authored the thread.Message ID: @.***>

tchrischan commented 2 weeks ago

It would be good in the master list of tags to be able to see the frequency, as @Cerfanim suggested. I don't know that sorting the image tags by alpha order is good because the order matters in training.

It would be nice to be able to sort the image's tags by the frequency they appear in the total list. For example, tags like "1girl" that are used often in the set of images would get moved to the top.

I noticed that when you lookup a tag there is number, but there's no explanation what that number means other than the bigger numbers seem to be more popular.

One bug I see is if you have a tag in the image, and there's another tag that the tool wants to replace it with, it won't let you put the current tag in the search box so you can replace it with the suggested one.