How to run this model and get embeddings?
#1
by
lumenggan
- opened
Could you provide example of code how to run it?
use this: https://deepghs.github.io/imgutils/main/api_doc/tagging/wd14.html#get-wd14-tags
from imgutils.tagging import get_wd14_tags
embeddings = get_wd14_tags(
'waifu_image.png',
# model_name='EVA02_Large',
fmt='embedding',
)
print(embeddings.shape, embeddings.dtype)
library's readme: https://github.com/deepghs/imgutils
lumenggan
changed discussion status to
closed