Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev(narugo): add convert function from embeddings to understandable result of taggers #123

Merged
merged 5 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/source/api_doc/tagging/wd14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@ get_wd14_tags
.. autofunction:: get_wd14_tags



convert_wd14_emb_to_prediction
----------------------------------------------

.. autofunction:: convert_wd14_emb_to_prediction



14 changes: 14 additions & 0 deletions docs/source/api_doc/utils/func.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
imgutils.utils.func
====================================

.. currentmodule:: imgutils.utils.func

.. automodule:: imgutils.utils.func


sigmoid
-------------------------

.. autofunction:: sigmoid


1 change: 1 addition & 0 deletions docs/source/api_doc/utils/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ imgutils.utils
.. toctree::
:maxdepth: 3

func
onnxruntime
2 changes: 1 addition & 1 deletion imgutils/tagging/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
from .mldanbooru import get_mldanbooru_tags
from .order import sort_tags
from .overlap import drop_overlap_tags
from .wd14 import get_wd14_tags
from .wd14 import get_wd14_tags, convert_wd14_emb_to_prediction
Loading
Loading