335 Коммитов

Автор SHA1 Сообщение Дата
Petr Andriushchenko
0452d6607f
changed multimodal_search and corresponded notebook 2023-05-24 13:30:02 +02:00
Petr Andriushchenko
f524ecaad8
Wiriting docs to multimodal_search.py 2023-05-23 14:06:02 +02:00
Petr Andriushchenko
ca3994c72f
Merge branch 'main' into summary_multi_docs 2023-05-22 17:04:50 +02:00
Petr Andriushchenko
8c3641ac24
Writing docs to summary.py 2023-05-22 17:03:50 +02:00
Inga Ulusoy
5a8658df96
provide codecov token to avoid upload failures (#83) 2023-05-17 09:44:50 +02:00
Inga Ulusoy
31aefc368b
fix long text pipeline issues (#82) 2023-05-16 13:37:04 +02:00
pre-commit-ci[bot]
a19ea3ea82
[pre-commit.ci] pre-commit autoupdate (#79)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/s-weigand/flake8-nb: v0.5.0 → v0.5.3](https://github.com/s-weigand/flake8-nb/compare/v0.5.0...v0.5.3)

* update flake8 config

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Inga Ulusoy <inga.ulusoy@uni-heidelberg.de>
2023-05-16 10:56:15 +02:00
GwydionJon
b9641f9648
increased dash width (#78) 2023-05-16 10:41:27 +02:00
Inga Ulusoy
90d049fdf7
Update notebooks for colab (#76)
* use pip with ipython magic and not terminal

* loosen setuptools version for colab notebooks

* update install instructions
2023-05-05 11:45:59 +02:00
GwydionJon
530c8525a8
Switching ipywidgets to dash (#73)
* added dash app instead of ipywidgets

* added pre-commit

* removed ipywidgets function

* added dash to dependencies

* exempted dash server from tests

* put das explorer app in new class

* added variable for img path in tests

* added new explorer class to all notebooks

* added identif class variable

* removed unused argument in test_display

* more cleanup, more text analysis in notebook

* update NER test

* update with more comments and fix dash calls

* update text description multimodal

* update objects description

---------

Co-authored-by: Inga Ulusoy <inga.ulusoy@uni-heidelberg.de>
2023-05-05 09:12:38 +02:00
Petr Andriushchenko
3f2f9bbde3
Merge pull request #70 from ssciwr/cleaning_code
rename misinformation to ammico
2023-05-02 14:45:19 +02:00
Petr Andriushchenko
f5ddb655a3
deleted superfluous files 2023-05-02 14:28:40 +02:00
Inga Ulusoy
1839e98107 more cleanup 2023-05-02 12:59:51 +02:00
Petr Andriushchenko
4ba8b43659
remove comments 2023-04-27 14:30:55 +02:00
Petr Andriushchenko
df1ea34bbc
simplify lambda function 2023-04-27 14:28:20 +02:00
Inga Ulusoy
3cf6794d56 reduce code smells 2023-04-27 13:28:47 +02:00
Inga Ulusoy
0df2322774 use iterator as a default value in lambda 2023-04-27 13:25:24 +02:00
Petr Andriushchenko
ea297ea23d
fixing smell code smells 2023-04-27 11:06:19 +02:00
Petr Andriushchenko
d1f65d016d
editted github docs.yml, Dockerfile and README.md 2023-04-25 11:49:12 +02:00
Petr Andriushchenko
1d31d188dc
change CI and remove some code from utils 2023-04-25 10:05:22 +02:00
Petr Andriushchenko
622ba40964
rename misinformation to ammico 2023-04-24 17:03:58 +02:00
pre-commit-ci[bot]
7266d9bd92
[pre-commit.ci] pre-commit autoupdate (#69)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 23.1.0 → 23.3.0](https://github.com/psf/black/compare/23.1.0...23.3.0)
- [github.com/s-weigand/flake8-nb: v0.5.0 → v0.5.3](https://github.com/s-weigand/flake8-nb/compare/v0.5.0...v0.5.3)

* keep flake8 nb version

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Inga Ulusoy <inga.ulusoy@uni-heidelberg.de>
2023-04-19 13:31:02 +02:00
Petr Andriushchenko
80665e5f82
Merge pull request #60 from ssciwr/add_itm
Add itm functionality
2023-04-19 13:12:53 +02:00
Petr Andriushchenko
fae982bc8b
uncommit part of the multimodal search test 2023-04-19 11:43:48 +02:00
pre-commit-ci[bot]
903b1df644 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-04-19 07:51:43 +00:00
Petr Andriushchenko
22274ced21
reduced duplicated blocks, added new fixture 2023-04-19 09:51:21 +02:00
Petr Andriushchenko
acf20a4f21
change absolute paths to get_path fixture in test_multimodal_search, added get_testdict fixture 2023-04-18 17:00:31 +02:00
pre-commit-ci[bot]
35f63f0b74 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-04-02 12:32:29 +00:00
Petr Andriushchenko
0fd6962dd3
Merge branch 'main' into add_itm 2023-04-02 14:32:18 +02:00
Inga Ulusoy
3b1c3ef1ed
add text classification transformers (#68)
* add text classification transformers

* add ner

* use specified model for tasks; allow summary in BERT

* update notebooks and dockerfile

* links for notebooks on colab

* links for notebooks on colab

* update notebooks image path for colab
2023-04-02 14:36:08 +03:00
Petr Andriushchenko
502683f420
fixed strange lines in multimodal_search notebook 2023-03-31 23:21:42 +02:00
Petr Andriushchenko
3b28fe25a3
Merge branch 'main' into add_itm 2023-03-31 23:14:35 +02:00
Petr Andriushchenko
deb0b17364
disabled long tests in CI 2023-03-31 21:39:58 +02:00
Petr Andriushchenko
14a1a03597
fixed saving path, added tmp_path (#67) 2023-03-31 12:36:58 -07:00
Petr Andriushchenko
5bea42eb4b
fixing ci 2023-03-31 19:08:31 +02:00
Petr Andriushchenko
bbe283e981
change pytest in ci 2023-03-31 18:53:00 +02:00
pre-commit-ci[bot]
349dfb2d9a [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-03-31 13:24:25 +00:00
Petr Andriushchenko
5441edf2d6
Merge branch 'main' into add_itm 2023-03-31 15:23:15 +02:00
Petr Andriushchenko
f1aeeabd18
fixed varible name, uncomment test, exluded it from CI, fixed error in multimodal_search 2023-03-31 13:35:04 +02:00
Inga Ulusoy
0ae872e750 fix code smells, test notebook 2023-03-31 11:21:08 +02:00
pre-commit-ci[bot]
f89fa4e519
[pre-commit.ci] pre-commit autoupdate (#46)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0)
- [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0)
- [github.com/s-weigand/flake8-nb: v0.5.0 → v0.5.2](https://github.com/s-weigand/flake8-nb/compare/v0.5.0...v0.5.2)

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

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

* Update .pre-commit-config.yaml

* run hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Inga Ulusoy <inga.ulusoy@uni-heidelberg.de>
2023-03-30 19:39:21 +02:00
Petr Andriushchenko
ecc0d814bb
commented new heavy tests in test_multimodal_search.py 2023-03-30 14:19:07 +02:00
Petr Andriushchenko
f7081d6878
merge main to add_itm, fixed saving path, added tmp_path 2023-03-30 13:45:30 +02:00
Petr Andriushchenko
46d5d43f0b
merge main to add_itm 2023-03-30 13:43:06 +02:00
Petr Andriushchenko
e33035bc68
Merge pull request #66 from ssciwr/text-summasy
add text summary
2023-03-30 13:35:43 +02:00
Inga Ulusoy
f03c3a197c add test data file 2023-03-30 11:23:57 +02:00
Inga Ulusoy
cf1e1b83d7 add text summary 2023-03-30 11:23:01 +02:00
Petr Andriushchenko
a5c43b6488
Test debugging (#62)
* deleted lavis from utils

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

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

* fixed test_objects

* added 'not gcv' to CI

* fixed multimodal search and summary tests

* disable doc build on PR for now

* restrict ipywidgets version to avoid dummycomm error

* limit deepface version

* original repositories for retinaface lavis

* update gcv test results

* update display test outputs

* update test env

* run all tests

* wo xdist to avoid segfault

* remove widgets ref

* skip long-running tests

* skip long

* verbose codecov upload

* refactor summary test 2

* finish summary test refactor

* reduce memory overhead of SummaryDetector

* remove VQA models from self

* remove VQA models from self

* update notebook for changes

* update notebook for changes

* fixed multimodal search tests

* fixed tests in multimodal search after precommit

* run all tests

* update doc notebook for summary changes

* skip long-running multimodal

* exclude blip2 from testing

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Inga Ulusoy <inga.ulusoy@uni-heidelberg.de>
2023-03-30 10:33:05 +02:00
Petr Andriushchenko
a00ac65868
fixed tests in multimodal 2023-03-29 16:27:17 +02:00
Petr Andriushchenko
b9ad5b267d
precommit 2023-03-28 16:36:24 +02:00