WD-Taggers
Collection
12 items • Updated
How to use Bercraft/wd-v1-4-convnext-tagger-v2 with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy)
# See https://github.com/keras-team/tf-keras for more details.
from huggingface_hub import from_pretrained_keras
model = from_pretrained_keras("Bercraft/wd-v1-4-convnext-tagger-v2")
Supports ratings, characters and general tags.
Trained using https://github.com/SmilingWolf/SW-CV-ModelZoo.
TPUs used for training kindly provided by the TRC program.
Last image id: 5944504
Trained on Danbooru images with IDs modulo 0000-0899.
Validated on images with IDs modulo 0950-0999.
Images with less than 10 general tags were filtered out.
Tags with less than 600 images were filtered out.
P=R: threshold = 0.3685, F1 = 0.6810
Subject to change and updates.
Downstream users are encouraged to use tagged releases rather than relying on the head of the repo.