Upload folder using huggingface_hub
Browse files- .gitattributes +34 -0
- .gitignore +228 -0
- README.md +95 -0
- assets/logo.webp +3 -0
- mock_pictures/00001.webp +3 -0
- mock_pictures/00002.webp +3 -0
- mock_pictures/00003.webp +3 -0
- mock_pictures/00004.webp +3 -0
- mock_pictures/00005.webp +3 -0
- mock_pictures/00006.webp +3 -0
- mock_pictures/00007.webp +3 -0
- mock_pictures/00008.webp +3 -0
- mock_pictures/00009.webp +3 -0
- mock_pictures/00010.webp +3 -0
- mock_pictures/00011.webp +3 -0
- mock_pictures/00012.webp +3 -0
- mock_pictures/00013.webp +3 -0
- mock_pictures/00014.webp +3 -0
- mock_pictures/00015.webp +3 -0
- mock_pictures/00016.webp +3 -0
- mock_pictures/00017.webp +3 -0
- mock_pictures/00018.webp +3 -0
- mock_pictures/00019.webp +3 -0
- mock_pictures/00020.webp +3 -0
- mock_pictures/00021.webp +3 -0
- mock_pictures/00022.webp +3 -0
- mock_pictures/00023.webp +3 -0
- mock_pictures/00024.webp +3 -0
- mock_pictures/00025.webp +3 -0
- mock_pictures/00026.webp +3 -0
- mock_pictures/00027.webp +3 -0
- mock_pictures/00028.webp +3 -0
- mock_pictures/00029.webp +3 -0
- mock_pictures/00030.webp +3 -0
- mock_pictures/00031.webp +3 -0
- mock_pictures/00032.webp +3 -0
- mock_pictures/00033.webp +3 -0
- models/detect_y26l_v1.2.pt +3 -0
- models/embedder_v3.0.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,37 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
assets/logo.webp filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
mock_pictures/00001.webp filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
mock_pictures/00002.webp filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
mock_pictures/00003.webp filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
mock_pictures/00004.webp filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
mock_pictures/00005.webp filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
mock_pictures/00006.webp filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
mock_pictures/00007.webp filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
mock_pictures/00008.webp filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
mock_pictures/00009.webp filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
mock_pictures/00010.webp filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
mock_pictures/00011.webp filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
mock_pictures/00012.webp filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
mock_pictures/00013.webp filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
mock_pictures/00014.webp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
mock_pictures/00015.webp filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
mock_pictures/00016.webp filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
mock_pictures/00017.webp filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
mock_pictures/00018.webp filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
mock_pictures/00019.webp filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
mock_pictures/00020.webp filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
mock_pictures/00021.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
mock_pictures/00022.webp filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
mock_pictures/00023.webp filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
mock_pictures/00024.webp filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
mock_pictures/00025.webp filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
mock_pictures/00026.webp filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
mock_pictures/00027.webp filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
mock_pictures/00028.webp filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
mock_pictures/00029.webp filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
mock_pictures/00030.webp filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
mock_pictures/00031.webp filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
mock_pictures/00032.webp filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
mock_pictures/00033.webp filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
|
@@ -0,0 +1,228 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Byte-compiled / optimized / DLL files
|
| 2 |
+
__pycache__/
|
| 3 |
+
*.py[codz]
|
| 4 |
+
*$py.class
|
| 5 |
+
|
| 6 |
+
# C extensions
|
| 7 |
+
*.so
|
| 8 |
+
|
| 9 |
+
# Distribution / packaging
|
| 10 |
+
.Python
|
| 11 |
+
build/
|
| 12 |
+
develop-eggs/
|
| 13 |
+
dist/
|
| 14 |
+
downloads/
|
| 15 |
+
eggs/
|
| 16 |
+
.eggs/
|
| 17 |
+
lib/
|
| 18 |
+
lib64/
|
| 19 |
+
parts/
|
| 20 |
+
sdist/
|
| 21 |
+
var/
|
| 22 |
+
wheels/
|
| 23 |
+
share/python-wheels/
|
| 24 |
+
*.egg-info/
|
| 25 |
+
.installed.cfg
|
| 26 |
+
*.egg
|
| 27 |
+
MANIFEST
|
| 28 |
+
|
| 29 |
+
# PyInstaller
|
| 30 |
+
# Usually these files are written by a python script from a template
|
| 31 |
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
| 32 |
+
*.manifest
|
| 33 |
+
*.spec
|
| 34 |
+
|
| 35 |
+
# Installer logs
|
| 36 |
+
pip-log.txt
|
| 37 |
+
pip-delete-this-directory.txt
|
| 38 |
+
|
| 39 |
+
# Unit test / coverage reports
|
| 40 |
+
htmlcov/
|
| 41 |
+
.tox/
|
| 42 |
+
.nox/
|
| 43 |
+
.coverage
|
| 44 |
+
.coverage.*
|
| 45 |
+
.cache
|
| 46 |
+
nosetests.xml
|
| 47 |
+
coverage.xml
|
| 48 |
+
*.cover
|
| 49 |
+
*.py.cover
|
| 50 |
+
*.lcov
|
| 51 |
+
.hypothesis/
|
| 52 |
+
.pytest_cache/
|
| 53 |
+
cover/
|
| 54 |
+
|
| 55 |
+
# Translations
|
| 56 |
+
*.mo
|
| 57 |
+
*.pot
|
| 58 |
+
|
| 59 |
+
# Django stuff:
|
| 60 |
+
*.log
|
| 61 |
+
local_settings.py
|
| 62 |
+
db.sqlite3
|
| 63 |
+
db.sqlite3-journal
|
| 64 |
+
|
| 65 |
+
# Flask stuff:
|
| 66 |
+
instance/
|
| 67 |
+
.webassets-cache
|
| 68 |
+
|
| 69 |
+
# Scrapy stuff:
|
| 70 |
+
.scrapy
|
| 71 |
+
|
| 72 |
+
# Sphinx documentation
|
| 73 |
+
docs/_build/
|
| 74 |
+
|
| 75 |
+
# PyBuilder
|
| 76 |
+
.pybuilder/
|
| 77 |
+
target/
|
| 78 |
+
|
| 79 |
+
# Jupyter Notebook
|
| 80 |
+
.ipynb_checkpoints
|
| 81 |
+
|
| 82 |
+
# IPython
|
| 83 |
+
profile_default/
|
| 84 |
+
ipython_config.py
|
| 85 |
+
|
| 86 |
+
# pyenv
|
| 87 |
+
# For a library or package, you might want to ignore these files since the code is
|
| 88 |
+
# intended to run in multiple environments; otherwise, check them in:
|
| 89 |
+
# .python-version
|
| 90 |
+
|
| 91 |
+
# pipenv
|
| 92 |
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
| 93 |
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
| 94 |
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
| 95 |
+
# install all needed dependencies.
|
| 96 |
+
# Pipfile.lock
|
| 97 |
+
|
| 98 |
+
# UV
|
| 99 |
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
| 100 |
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
| 101 |
+
# commonly ignored for libraries.
|
| 102 |
+
# uv.lock
|
| 103 |
+
|
| 104 |
+
# poetry
|
| 105 |
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
| 106 |
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
| 107 |
+
# commonly ignored for libraries.
|
| 108 |
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
| 109 |
+
# poetry.lock
|
| 110 |
+
# poetry.toml
|
| 111 |
+
|
| 112 |
+
# pdm
|
| 113 |
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
| 114 |
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
| 115 |
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
| 116 |
+
# pdm.lock
|
| 117 |
+
# pdm.toml
|
| 118 |
+
.pdm-python
|
| 119 |
+
.pdm-build/
|
| 120 |
+
|
| 121 |
+
# pixi
|
| 122 |
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
| 123 |
+
# pixi.lock
|
| 124 |
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
| 125 |
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
| 126 |
+
.pixi/*
|
| 127 |
+
!.pixi/config.toml
|
| 128 |
+
|
| 129 |
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
| 130 |
+
__pypackages__/
|
| 131 |
+
|
| 132 |
+
# Celery stuff
|
| 133 |
+
celerybeat-schedule*
|
| 134 |
+
celerybeat.pid
|
| 135 |
+
|
| 136 |
+
# Redis
|
| 137 |
+
*.rdb
|
| 138 |
+
*.aof
|
| 139 |
+
*.pid
|
| 140 |
+
|
| 141 |
+
# RabbitMQ
|
| 142 |
+
mnesia/
|
| 143 |
+
rabbitmq/
|
| 144 |
+
rabbitmq-data/
|
| 145 |
+
|
| 146 |
+
# ActiveMQ
|
| 147 |
+
activemq-data/
|
| 148 |
+
|
| 149 |
+
# SageMath parsed files
|
| 150 |
+
*.sage.py
|
| 151 |
+
|
| 152 |
+
# Environments
|
| 153 |
+
.env
|
| 154 |
+
.envrc
|
| 155 |
+
.venv
|
| 156 |
+
env/
|
| 157 |
+
venv/
|
| 158 |
+
ENV/
|
| 159 |
+
env.bak/
|
| 160 |
+
venv.bak/
|
| 161 |
+
|
| 162 |
+
# Spyder project settings
|
| 163 |
+
.spyderproject
|
| 164 |
+
.spyproject
|
| 165 |
+
|
| 166 |
+
# Rope project settings
|
| 167 |
+
.ropeproject
|
| 168 |
+
|
| 169 |
+
# mkdocs documentation
|
| 170 |
+
/site
|
| 171 |
+
|
| 172 |
+
# mypy
|
| 173 |
+
.mypy_cache/
|
| 174 |
+
.dmypy.json
|
| 175 |
+
dmypy.json
|
| 176 |
+
|
| 177 |
+
# Pyre type checker
|
| 178 |
+
.pyre/
|
| 179 |
+
|
| 180 |
+
# pytype static type analyzer
|
| 181 |
+
.pytype/
|
| 182 |
+
|
| 183 |
+
# Cython debug symbols
|
| 184 |
+
cython_debug/
|
| 185 |
+
|
| 186 |
+
# PyCharm
|
| 187 |
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
| 188 |
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
| 189 |
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
| 190 |
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
| 191 |
+
.idea/
|
| 192 |
+
|
| 193 |
+
# Abstra
|
| 194 |
+
# Abstra is an AI-powered process automation framework.
|
| 195 |
+
# Ignore directories containing user credentials, local state, and settings.
|
| 196 |
+
# Learn more at https://abstra.io/docs
|
| 197 |
+
.abstra/
|
| 198 |
+
|
| 199 |
+
# Visual Studio Code
|
| 200 |
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
|
| 201 |
+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
| 202 |
+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
|
| 203 |
+
# you could uncomment the following to ignore the entire vscode folder
|
| 204 |
+
.vscode/
|
| 205 |
+
# Temporary file for partial code execution
|
| 206 |
+
tempCodeRunnerFile.py
|
| 207 |
+
|
| 208 |
+
# Ruff stuff:
|
| 209 |
+
.ruff_cache/
|
| 210 |
+
|
| 211 |
+
# PyPI configuration file
|
| 212 |
+
.pypirc
|
| 213 |
+
|
| 214 |
+
# Marimo
|
| 215 |
+
marimo/_static/
|
| 216 |
+
marimo/_lsp/
|
| 217 |
+
__marimo__/
|
| 218 |
+
|
| 219 |
+
# Streamlit
|
| 220 |
+
.streamlit/secrets.toml
|
| 221 |
+
|
| 222 |
+
# ai
|
| 223 |
+
|
| 224 |
+
.claude/
|
| 225 |
+
.gemini/
|
| 226 |
+
.qwen/
|
| 227 |
+
.pi/
|
| 228 |
+
|
README.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- watermark-detection
|
| 4 |
+
- image-embedding
|
| 5 |
+
- yolo
|
| 6 |
+
- dinov2
|
| 7 |
+
- computer-vision
|
| 8 |
+
- pytorch
|
| 9 |
+
license: mit
|
| 10 |
+
pipeline_tag: object-detection
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
<p align="center">
|
| 14 |
+
<img src="assets/logo.webp" width="320" alt="MimiLens logo">
|
| 15 |
+
</p>
|
| 16 |
+
|
| 17 |
+
# MimiLens-Models
|
| 18 |
+
|
| 19 |
+
This repository contains models for **[MimiLens](https://github.com/MinthyBasis/mimilens)** — a toolkit for automatic detection of consistent artifacts and watermarks in image datasets.
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
High-quality training data is essential for generative models, because persistent artifacts, watermarks and repeated visual patterns in training images tend to leak into generated outputs. Manual inspection of large datasets is expensive and impractical, and even large multimodal models are costly and imperfect — especially when modern generators can produce text, speech bubbles and other objects that must be preserved.
|
| 23 |
+
|
| 24 |
+
MimiLens solves this by looking for **consistency** across images instead of matching fixed templates. The pipeline runs in two stages:
|
| 25 |
+
|
| 26 |
+
1. A fast YOLO-based detector proposes candidate regions across all images.
|
| 27 |
+
2. A custom DINO-based embedder vectorizes these regions, and HDBSCAN clustering finds groups of visually similar detections.
|
| 28 |
+
|
| 29 |
+
This separates repeating artifacts, watermarks, logos, and signatures from irregular, one-off objects.
|
| 30 |
+
|
| 31 |
+
The models are lightweight and work on CPU, while a GPU significantly speeds up large-scale processing.
|
| 32 |
+
|
| 33 |
+
# Models
|
| 34 |
+
|
| 35 |
+
| File | Size | Format | Purpose |
|
| 36 |
+
| --- | --- | --- | --- |
|
| 37 |
+
| `models/detect_y26l_v1.2.pt` | ~50.7 MB | Ultralytics/PyTorch checkpoint | Detector |
|
| 38 |
+
| `models/embedder_v3.0.safetensors` | ~84.7 MB | `safetensors` | Region embedder |
|
| 39 |
+
|
| 40 |
+
## Detection
|
| 41 |
+
|
| 42 |
+
The detection model is based on **YOLOv26** (`YOLO26l`). It was chosen as a recent architecture that offers a good balance between accuracy and inference speed.
|
| 43 |
+
|
| 44 |
+
The training dataset combined real labeled images (the main part) with procedurally generated samples. The detector recognizes 5 classes:
|
| 45 |
+
|
| 46 |
+
1. Signatures
|
| 47 |
+
2. Watermarks
|
| 48 |
+
3. Regular text
|
| 49 |
+
4. Speech bubbles
|
| 50 |
+
5. Comic / manga effects
|
| 51 |
+
|
| 52 |
+
## Embeddings
|
| 53 |
+
|
| 54 |
+
The embedder is built on top of **DINOv2-Small**. Its output embedding size was reduced to 128 dimensions for efficient clustering, and additional output layers perform the required transformations.
|
| 55 |
+
|
| 56 |
+
The off-the-shelf DINOv2 is not directly suitable for this task because it focuses on foreground/background semantics rather than fine object-level shapes. To obtain the required behavior, this model was modified and trained on a combined dataset (50% procedural generation from templates, 50% real data) using supervised-contrastive loss with cross-batch memory. This achieved high accuracy on the embedding task while keeping the model small.
|
| 57 |
+
|
| 58 |
+
# Test data
|
| 59 |
+
|
| 60 |
+
`mock_pictures/` contains stock photos and generated images with synthetic watermarks and signatures. They can be used to check how MimiLens behaves on typical cases.
|
| 61 |
+
|
| 62 |
+
# Download
|
| 63 |
+
|
| 64 |
+
Download the files manually and copy them into the `./models` folder of the MimiLens application, or use the Hugging Face CLI:
|
| 65 |
+
|
| 66 |
+
```bash
|
| 67 |
+
huggingface-cli download Minthy/MimiLens-Models --local-dir .
|
| 68 |
+
```
|
| 69 |
+
|
| 70 |
+
# Intended use
|
| 71 |
+
|
| 72 |
+
These models are designed to be used through the MimiLens application and its pipeline (detection → embedding → clustering → review). For installation, GUI/CLI usage and configuration, please refer to the [MimiLens repository](https://github.com/MinthyBasis/mimilens).
|
| 73 |
+
|
| 74 |
+
# Feedback
|
| 75 |
+
|
| 76 |
+
Join the [Discord server](https://discord.gg/ZXHENAhqE9).
|
| 77 |
+
|
| 78 |
+
Your examples can help the project improve.
|
| 79 |
+
|
| 80 |
+
# Acknowledgments
|
| 81 |
+
|
| 82 |
+
Drac, NeuroSenko, Sv1.
|
| 83 |
+
|
| 84 |
+
# Donations
|
| 85 |
+
|
| 86 |
+
BTC: `bc1qwv83ggq8rvv07uk6dv4njs0j3yygj3aax4wg6c`
|
| 87 |
+
|
| 88 |
+
ETH/USDT(e): `0x04C8a749F49aE8a56CB84cF0C99CD9E92eDB17db`
|
| 89 |
+
|
| 90 |
+
XMR: `47F7JAyKP8tMBtzwxpoZsUVB8wzg2VrbtDKBice9FAS1FikbHEXXPof4PAb42CQ5ch8p8Hs4RvJuzPHDtaVSdQzD6ZbA5TZ`
|
| 91 |
+
|
| 92 |
+
# License
|
| 93 |
+
|
| 94 |
+
The MimiLens project code, documentation and the `embedder_v3.0.safetensors` model are licensed under the **MIT License**.
|
| 95 |
+
The `detect_y26l_v1.2.pt` detection model is based on YOLOv26 and is therefore licensed under **AGPL-3.0**.
|
assets/logo.webp
ADDED
|
Git LFS Details
|
mock_pictures/00001.webp
ADDED
|
Git LFS Details
|
mock_pictures/00002.webp
ADDED
|
Git LFS Details
|
mock_pictures/00003.webp
ADDED
|
Git LFS Details
|
mock_pictures/00004.webp
ADDED
|
Git LFS Details
|
mock_pictures/00005.webp
ADDED
|
Git LFS Details
|
mock_pictures/00006.webp
ADDED
|
Git LFS Details
|
mock_pictures/00007.webp
ADDED
|
Git LFS Details
|
mock_pictures/00008.webp
ADDED
|
Git LFS Details
|
mock_pictures/00009.webp
ADDED
|
Git LFS Details
|
mock_pictures/00010.webp
ADDED
|
Git LFS Details
|
mock_pictures/00011.webp
ADDED
|
Git LFS Details
|
mock_pictures/00012.webp
ADDED
|
Git LFS Details
|
mock_pictures/00013.webp
ADDED
|
Git LFS Details
|
mock_pictures/00014.webp
ADDED
|
Git LFS Details
|
mock_pictures/00015.webp
ADDED
|
Git LFS Details
|
mock_pictures/00016.webp
ADDED
|
Git LFS Details
|
mock_pictures/00017.webp
ADDED
|
Git LFS Details
|
mock_pictures/00018.webp
ADDED
|
Git LFS Details
|
mock_pictures/00019.webp
ADDED
|
Git LFS Details
|
mock_pictures/00020.webp
ADDED
|
Git LFS Details
|
mock_pictures/00021.webp
ADDED
|
Git LFS Details
|
mock_pictures/00022.webp
ADDED
|
Git LFS Details
|
mock_pictures/00023.webp
ADDED
|
Git LFS Details
|
mock_pictures/00024.webp
ADDED
|
Git LFS Details
|
mock_pictures/00025.webp
ADDED
|
Git LFS Details
|
mock_pictures/00026.webp
ADDED
|
Git LFS Details
|
mock_pictures/00027.webp
ADDED
|
Git LFS Details
|
mock_pictures/00028.webp
ADDED
|
Git LFS Details
|
mock_pictures/00029.webp
ADDED
|
Git LFS Details
|
mock_pictures/00030.webp
ADDED
|
Git LFS Details
|
mock_pictures/00031.webp
ADDED
|
Git LFS Details
|
mock_pictures/00032.webp
ADDED
|
Git LFS Details
|
mock_pictures/00033.webp
ADDED
|
Git LFS Details
|
models/detect_y26l_v1.2.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8326c1aa821439ae24bcfbbf8643281d397c04d58bdc0e17819b7fceef7a25e5
|
| 3 |
+
size 53142117
|
models/embedder_v3.0.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22685ff791e3f6d52189b2f4aa10a90f702e40ec29c60d6312d77cc77650e9a8
|
| 3 |
+
size 88782608
|