298 Коммитов

Автор SHA1 Сообщение Дата
pre-commit-ci[bot]
3f9e855aeb
[pre-commit.ci] pre-commit autoupdate (#269)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.13.1 → v0.13.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.13.1...v0.13.3)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-09 09:26:18 +02:00
pre-commit-ci[bot]
8cad60b976
[pre-commit.ci] pre-commit autoupdate (#267)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.13.0 → v0.13.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.13.0...v0.13.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-23 09:53:38 +02:00
pre-commit-ci[bot]
f0cd69286a
[pre-commit.ci] pre-commit autoupdate (#265)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.12.10 → v0.13.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.10...v0.13.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-19 10:33:59 +02:00
Inga Ulusoy
c28937b373
Remove outdated functionality (#262)
* maintain: remove text analysis with transformers and topic analysis

* maintain: remove text analysis from display function

* maintain: remove summary module (VQA)

* maintain: remove summary module (VQA)

* maintain: remove cropposts, update pyproject.toml

* maintain: removed obsolete functionality

* maintain: update CI workflow

* maintain: run all tests together in CI, remove version restrictions

* maintain: fix tf version for deepface/retinaface restrictions

* mainatin: remove more obsolete files, restructure pyproject.toml

* fix: do not run gcv tests on CI

* CI: test compatibility with Python versions

* maintain+bug: fix python version due to deepface, fix deepface memory leak

* maintain: switch to ruff

* fix: correct remaining ruff issues, is_interactive probably obsolete..?

* CI: bump actions and python versions, run checks on all os

* maintain&fix: blis do not compile from source, use uv for installs, update dockerfile

* fix: uv install system-wide

* fix: try with only pip to force blis binary install

* fix: try now with mixed pip and uv for better performance while preserving blis binary

* fix: revert to pip since uv installs different numpy version, unfortunately

* fix: other python version
2025-09-12 14:26:38 +02:00
Inga Ulusoy
8a20b7ef43
update citation information (#252) 2025-09-08 14:37:54 +02:00
Inga Ulusoy
efe1851fea
Find multiple source (#251)
* feat: create space in demo notebook for multiple image search

* added multiple reference images, re #241. Separated notebooks for #248

* Update ci.yml

added nbval test for notebook

* Update ci.yml

more descriptive test name

* Update pyproject.toml

added typing_extensions

* Update pyproject.toml

typo

* Update pyproject.toml

fixing dependencies, hopefully

* Update ci.yml

fixing dependencies hopefully part 2

* Update ci.yml

typo (again)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update DemoNotebook_ammico.ipynb

cleanup

* Update DemoNotebook_ammico_MultimodalSearch.ipynb

added df to save

* Update DemoNotebook_ammico_MultimodalSearch.ipynb

typo

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update notebook to include proper paths for sample data

* update paths in demo notebook

---------

Co-authored-by: ChristineSchulz <aq354@uni-heidelberg.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-10 22:18:39 +02:00
pre-commit-ci[bot]
1a629836db
[pre-commit.ci] pre-commit autoupdate (#246)
updates:
- [github.com/pycqa/flake8: 7.1.1 → 7.1.2](https://github.com/pycqa/flake8/compare/7.1.1...7.1.2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
v0.2.6
2025-02-19 14:15:20 +01:00
Inga Ulusoy
14ae93063e
keep original text length (#247)
* keep original text length, skip analysis if not translated

* bump version, remove debug
2025-02-19 11:23:27 +01:00
Inga Ulusoy
09d009c464
bump version and skip automatic release to GH due to duplication (#245) v0.2.5 2025-02-06 09:54:59 +01:00
pre-commit-ci[bot]
e073202cde
[pre-commit.ci] pre-commit autoupdate (#242)
updates:
- [github.com/psf/black: 24.10.0 → 25.1.0](https://github.com/psf/black/compare/24.10.0...25.1.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-06 09:46:46 +01:00
Inga Ulusoy
3cf1b5466a
improve handling of exceptions for googletrans (#244)
* truncate text to max length for googletrans, skip translation in case of error

* restrict peft version for backwards compatibility with old transformers required by lavis
2025-02-05 13:52:25 +01:00
Inga Ulusoy
e12929a909
manage occurence of full stops in a better way (#229)
* manage occurence of full stops in a better way

* bump version

* cleanup
v0.2.4
2024-12-02 15:01:50 +01:00
Inga Ulusoy
403525aa46
bump version (#228) v0.2.3 2024-11-30 12:39:18 +01:00
Inga Ulusoy
9be02706e5
correct typo in documentation demo notebook (#227)
* fix typo on image and notebook

* remove full stop after google colab button

* remove full stop in documentation notebook
2024-11-29 22:30:20 +01:00
Inga Ulusoy
ab484abbd9
fix typo on image and notebook (#226)
* fix typo on image and notebook

* remove full stop after google colab button
2024-11-29 15:11:40 +01:00
Inga Ulusoy
4add286d7d merge 2024-11-29 08:27:01 +01:00
Inga Ulusoy
8057153e60
fix missing whitespace for links and names (#225)
* fix missing whitespace for links and names

* remove comments in notebook

* cleanup
2024-11-22 20:03:00 +01:00
pre-commit-ci[bot]
dc6c904ec8
[pre-commit.ci] pre-commit autoupdate (#223)
updates:
- [github.com/kynan/nbstripout: 0.7.1 → 0.8.1](https://github.com/kynan/nbstripout/compare/0.7.1...0.8.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-22 14:58:10 +01:00
Inga Ulusoy
ac560ded38 test 2024-11-22 10:43:39 +01:00
dependabot[bot]
725d3858f7
Update torch requirement from <2.4.0 to <2.6.0 (#220)
Updates the requirements on [torch](https://github.com/pytorch/pytorch) to permit the latest version.
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md)
- [Commits](https://github.com/pytorch/pytorch/compare/v0.1.1...v2.5.0)

---
updated-dependencies:
- dependency-name: torch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-29 14:02:32 +01:00
pre-commit-ci[bot]
a85481a03b
[pre-commit.ci] pre-commit autoupdate (#219)
updates:
- [github.com/psf/black: 24.8.0 → 24.10.0](https://github.com/psf/black/compare/24.8.0...24.10.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-29 13:30:46 +01:00
dependabot[bot]
3e50689246
Update deepface requirement from <=0.0.92 to <=0.0.93 (#217)
Updates the requirements on [deepface](https://github.com/serengil/deepface) to permit the latest version.
- [Release notes](https://github.com/serengil/deepface/releases)
- [Commits](https://github.com/serengil/deepface/compare/v0.0.81...v0.0.93)

---
updated-dependencies:
- dependency-name: deepface
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-29 09:11:17 +01:00
Inga Ulusoy
6edff8e12e
bump sigstore version (#215) 2024-10-28 16:09:46 +01:00
Inga Ulusoy
5aad059710
Update README.md (#221)
* Update README.md

* restrict hf-hub version
2024-10-28 16:09:15 +01:00
Inga Ulusoy
f3af3de7dc
re-put runtime requirements (#213) v.0.2.2 2024-10-09 14:31:33 +02:00
Inga Ulusoy
65531c6204
minor changes for revision 2 (#212)
* fix typos

* add buttons for google colab everywhere

* update readme, separate out FAQ

* add privacy disclosure statement

* do not install using uv

* update docs notebook

* explicit install of libopenblas

* explicit install of libopenblas

* explicit install of libopenblas

* try to get scipy installed using uv

* use ubuntu 24.04

* go back to pip

* try with scipy only

* try with a few others

* use hatchling

* wording changes, install all requirements

* fix offending spacy version

* run all tests

* include faq in documentation, fix link

* make readme links point to documentation

* load model safely

* correct edit on GH link and bump version

* remove comments
2024-10-08 10:00:31 +02:00
Inga Ulusoy
174054f465
revision 2 (#210)
* fix typos

* add buttons for google colab everywhere

* update readme, separate out FAQ

* add privacy disclosure statement

* do not install using uv

* update docs notebook

* explicit install of libopenblas

* explicit install of libopenblas

* explicit install of libopenblas

* try to get scipy installed using uv

* use ubuntu 24.04

* go back to pip

* try with scipy only

* try with a few others

* use hatchling

* wording changes, install all requirements

* fix offending spacy version

* run all tests

* include faq in documentation, fix link
2024-10-07 15:02:32 +02:00
dependabot[bot]
2af03546f5
Update deepface requirement from <=0.0.92 to <=0.0.93 (#209)
Updates the requirements on [deepface](https://github.com/serengil/deepface) to permit the latest version.
- [Release notes](https://github.com/serengil/deepface/releases)
- [Commits](https://github.com/serengil/deepface/compare/v0.0.81...v0.0.93)

---
updated-dependencies:
- dependency-name: deepface
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-26 09:19:54 +02:00
pre-commit-ci[bot]
186e2c6727
[pre-commit.ci] pre-commit autoupdate (#206)
updates:
- [github.com/psf/black: 24.4.2 → 24.8.0](https://github.com/psf/black/compare/24.4.2...24.8.0)
- [github.com/pycqa/flake8: 7.0.0 → 7.1.1](https://github.com/pycqa/flake8/compare/7.0.0...7.1.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-26 08:17:59 +02:00
Inga Ulusoy
8db4a399df
update thresholds in notebook and empty actions list (#205) 2024-06-17 12:56:47 +02:00
dependabot[bot]
b3ba545e4f
Bump googletrans from 3.1.0a0 to 4.0.0rc1 (#197)
Bumps [googletrans](https://github.com/ssut/py-googletrans) from 3.1.0a0 to 4.0.0rc1.
- [Release notes](https://github.com/ssut/py-googletrans/releases)
- [Commits](https://github.com/ssut/py-googletrans/commits)

---
updated-dependencies:
- dependency-name: googletrans
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-14 08:16:55 +02:00
dependabot[bot]
42b6732308
Update deepface requirement from <=0.0.75 to <=0.0.92 (#203)
* Update deepface requirement from <=0.0.75 to <=0.0.92

---
updated-dependencies:
- dependency-name: deepface
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* more extensive testing for faces, adapt changes from deepface

* include gender threshold in display and notebook

* update documentation

* increase detection threshold for tests

* update handling of missing dict keys

* update notebook

* make sure text was found on image before analysing

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Inga Ulusoy <inga.ulusoy@uni-heidelberg.de>
2024-06-13 14:34:14 +02:00
Inga Ulusoy
17846fbe71
Update lavis dependencies (#204) 2024-06-12 20:32:26 +02:00
Inga Ulusoy
03faa12f77
Update to the FAQ about the disclaimer (#201)
* Update README.md

* added something

* Update README.md

* Update README.md

---------

Co-authored-by: Delia Dumitrescu <92337730+dumitrescu5@users.noreply.github.com>
2024-06-12 09:54:19 +02:00
Inga Ulusoy
894ad0938b
add disclaimer checks and tests (#202)
* add disclaimer checks and tests

* add changes to display

* webcolors library update changes

* disclosure instead of disclaimer

* change interface to disclosure

* update demo notebook

* improve explorer display of disclosure env variable, update docs notebook
2024-06-12 09:49:35 +02:00
Inga Ulusoy
4ac760e690
Add text analyzer to skip text extraction from image (#199)
* read in text from csv

* add tests for csv reading

* run textanalyzer in demo notebook

* add text analyser in doc and demo

* improve init TextDetector testing

* more init tests

* add csv encoding keyword

* add utf16-csv file

* skip csv reading on windows
2024-06-05 09:28:28 +02:00
dependabot[bot]
9202f51d9f
Update torch requirement from <2.1.0 to <2.4.0 (#193)
Updates the requirements on [torch](https://github.com/pytorch/pytorch) to permit the latest version.
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md)
- [Commits](0a9dbbbaad...v2.3.0)

---
updated-dependencies:
- dependency-name: torch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-31 14:29:56 +02:00
Inga Ulusoy
dd184904f6
Bump versions release action (#198)
* update versions in workflow

* only with tag

* more ref updates
2024-05-31 12:56:55 +02:00
Inga Ulusoy
ea18277090
update dependabot, use uv install (#192)
* Create dependabot.yml

* use uv
v0.2.1
2024-05-31 12:10:53 +02:00
pre-commit-ci[bot]
251a31763f
[pre-commit.ci] pre-commit autoupdate (#189)
updates:
- [github.com/psf/black: 24.2.0 → 24.4.2](https://github.com/psf/black/compare/24.2.0...24.4.2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-05-31 11:44:03 +02:00
Inga Ulusoy
38498e3e10
use simpler image for testing emotion detector (#190)
* use simpler image for testing

* include age in faces test again

* fix typo

* try with newer tensorflow version

* remove testing for age again

* try with tensorflow newer versions only for breaking change in transformers

* force transformers to use pytorch
2024-05-31 11:43:26 +02:00
Inga Ulusoy
922a64f991
more changes to doc (#188)
* more changes to doc

* write output after each detector
2024-02-23 12:08:34 +01:00
pre-commit-ci[bot]
002745b1c1
[pre-commit.ci] pre-commit autoupdate (#187)
updates:
- [github.com/psf/black: 24.1.1 → 24.2.0](https://github.com/psf/black/compare/24.1.1...24.2.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-02-20 10:24:55 +01:00
Inga Ulusoy
2a5a84ee2f
Minimize docs (#186)
* check disk usage

* check disk usage

* do not execute nb

* remove comments
2024-02-19 18:34:48 +01:00
Inga Ulusoy
8752398c5d
Update documentation (#185)
* update documentation

* remove obsolete notebooks

* comment on data usage and internet access
2024-02-19 10:20:21 +01:00
Petr Andriushchenko
bec845e774
Minor fixing (#172)
* fixing DemoNotebook

* fixing DemoNotebook2

* rearrange the code and text

* continiue changing demo notebook

* continiue changing demo notebook2

* fixing bug on a100 in google colab

* change order of tests and do not test for age in faces

* add screenshots for gcv api

* instructions for google cloud vision API

* link instructions in readme

* add missing image

* trim whitespace

---------

Co-authored-by: Inga Ulusoy <inga.ulusoy@uni-heidelberg.de>
2024-02-16 09:05:39 +01:00
pre-commit-ci[bot]
fcb2d55740
[pre-commit.ci] pre-commit autoupdate (#184)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/kynan/nbstripout: 0.6.1 → 0.7.1](https://github.com/kynan/nbstripout/compare/0.6.1...0.7.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-02-15 13:14:24 +01:00
pre-commit-ci[bot]
b4aae9321c
[pre-commit.ci] pre-commit autoupdate (#176)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 23.12.1 → 24.1.1](https://github.com/psf/black/compare/23.12.1...24.1.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-31 14:17:29 +01:00
Inga Ulusoy
f128fa4754
check threshold for emotion and race lies in btw 0 and 100 (#175)
* check threshold for emotion and race liezs in btw 0 and 100

* Update release.yml

* correct order of calling args in test display
2024-01-16 11:13:22 +01:00
Inga Ulusoy
721bc98f7a
increment version number (#168)
* increment version number

increment version number for automated release with new dependency ammico-lavis

* only upload to testpypi for new release tag

* change codecov token transmission method
2024-01-15 11:59:18 +01:00