Skip to content

Automatically tag images with booru tags

Notifications You must be signed in to change notification settings

yutian24130/WD14Tagger

This branch is 2 commits ahead of KutsuyaYuki/WD14Tagger:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9aabf39 · Apr 26, 2024

History

12 Commits
Dec 20, 2022
Dec 19, 2022
Dec 19, 2022
Dec 19, 2022
Dec 19, 2022
Dec 19, 2022
Dec 19, 2022
Dec 19, 2022
Dec 19, 2022
Dec 19, 2022
Dec 19, 2022
Apr 26, 2024

Repository files navigation

WD14Tagger

Automatically tag images with booru tags.

Requirements

This project requires cudnn 8 to properly use the GPU.

On Arch:

  sudo pacman -S cudnn

Installation

  git clone https://github.com/KutsuyaYuki/WD14Tagger
  cd WD14Tagger
  conda env create -f environment.yaml
  conda activate wd14tagger
  pip install -r requirements.txt

Usage/Examples

  python tag_images_by_wd14_tagger.py \
  input \
  --batch_size 4 \
  --caption_extension .txt

Change input to the folder where your images are located. For example, if they are located in a folder called images on your desktop:

  python tag_images_by_wd14_tagger.py \
  ~/Desktop/images \
  --batch_size 4 \
  --caption_extension .txt

About

Automatically tag images with booru tags

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%