lora-training / kazusa /tagging methodology.md
khanon's picture
adds new Kazusa LoRA
1bc103d
|
raw
history blame
No virus
4.3 kB

Tagging methodology for Kazusa (blue archive)

Start with WD1.4 Swinv2 at 0.25 confidence.

  • Tag unique features
    • halo / demon horns / low wings
    • Remove when not present or out of view. WD1.4 likes putting halo even on images where no halo is visible.
    • Kazusa: halo / animal ears
      • Pruned extra ears as it seems redundant.
  • Tag outfit variants with a single master tag
    • Kazusa:
      • Uniform: school uniform / black jacket
        • Sometimes the jacket appears without anything else, which was not tagged school uniform
      • Non-canon costumes
        • Add alternate costume
    • Nudity (WD1.4 usually does this accurately)
      • nude / completely nude
  • Prune eye colors
    • Keep tags which describe unusual eye features (multicolored eyes, heterochromia, slit pupils) as they can otherwise be too subtle and inconsistently drawn for the AI to learn
  • Prune hair colors
    • This includes two-toned hair, gradiant hair, etc. The AI learns all of these very consistently without the tags, likely because artists tend to draw them consistently
  • Partially prune hair styles
    • Leave key style tags like twintails, ponytail, short hair with long locks.
    • Prune exceedingly common tags like bangs / sidelocks / eyebrows visible through hair / hair between eyes, etc.
    • Prune length, except for images which differ from the character's usual length
      • Add alternate hairstyle and/or alternate hair length for these
    • Kazusa: short hair, colored inner hair -- while I would usually prune these, they're really her only defining hairstyle traits
  • Fixup hair ornaments
    • Prune generic hair ornament in favor of more specificity
      • hairclip / black headband / hair flower / hair ribbon, etc.
    • Consolidate tags that have color variants (headband >> black headband)
    • Kazusa: hairclip
  • Consolidate outfits
    • Only tag an item when it is actually visible. If it is only barely visible along the edge of an image, keep in mind it may be cropped during bucketing.
    • Danbooru's wiki entry for a character often provides a good list of tags commonly used to describe a character's outfits.
    • Kazusa outfits:
      • School Uniform
        • black choker
        • hooded jacket
        • black jacket
        • green sailor collar
        • pink neckerchief
        • miniskirt
        • pleated skirt
        • white skirt
        • black pantyhose
        • sneakers
  • Fixup sleeves
    • ie. long sleeves / puffy long sleeves / detached sleeves
    • You only need one, but pick one and be consistent. If sleeves aren't tagged properly the tends to add them inappropriately (such as when prompting for sleeveless outfits or nudity)
  • Fixup collars
    • ie. detached collar / collared shirt / choker / etc.
    • Same deal as sleeves, they tend to appear when unwanted if not consistently tagged according to visibility in the training data.
  • Fixup clothing state
    • ie. open jacket / open shirt / partially undressed / off shoulder
    • The tagger is generally pretty good at this.
  • Tag expressions
    • WD1.4 rarely tags these, but doing them manually can help the AI reproduce a character's iconic expressions well.
    • Start by searching for images without one of these, and add them.
      • open mouth
      • closed mouth
      • parted lips
    • Add less common expressions
    • smile / light smile / :d
    • wavy mouth / embarrassed
    • flustered / panicked / swirly eyes / @_@
    • surprised / o_o / wide-eyed
    • upset / annoyed / frustrated / v-shaped eyebrows
    • naughty face / seductive smile
    • smug / :3
    • eyes closed / one eye closed
      • WD1.4 usually gets these for you.
  • Tag camera angles/composition
    • cowboy shot
    • upper body
    • full body
    • portrait
    • cropped torso / cropped legs
    • feet out of frame
    • from side / from above / from below / from behind
  • Tag iconic poses/actions
    • ie. v / standing on one leg
    • Kazusa
      • mouth hold
      • eating
      • macaroon
  • Flip through each image and use Hydrus's "related tags" feature to quickly identify important tags that might be missing.
    • This feature looks at other images with similar tags to provide suggestions.