Petr Andriushchenko
ce45a2c030
add -vv to pytest command in CI
2023-03-06 14:22:14 +01:00
Petr Andriushchenko
18ecf4888b
added test, fixed dependencies
2023-03-03 16:26:26 +01:00
Petr Andriushchenko
b0cfab05e9
fixed test multimodal search on cpu and gpu machines
2023-03-02 15:37:30 +01:00
pre-commit-ci[bot]
ea275cdd09
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-03-02 12:23:37 +00:00
Petr Andriushchenko
37c6d1ad77
fixed blip2 model in test_multimodal_search.py
2023-03-02 13:23:15 +01:00
Petr Andriushchenko
d7133e8dc3
change lavis from dependencies from pip ro git
2023-03-02 10:15:46 +01:00
Petr Andriushchenko
baa6884a87
removed windows in CI and added test in multimodal search
2023-03-01 15:59:44 +01:00
Petr Andriushchenko
31b006311a
fixed test
2023-02-28 16:25:23 +01:00
pre-commit-ci[bot]
a6ea571478
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-02-28 15:21:35 +00:00
Petr Andriushchenko
097142fd36
added first test of multimodal_search.py
2023-02-28 16:17:58 +01:00
Petr Andriushchenko
b9ef52107b
fixed opencv version
2023-02-27 15:28:26 +01:00
pre-commit-ci[bot]
75ed827958
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-02-24 13:24:04 +00:00
Petr Andriushchenko
a31e78cac1
added test_summary.py
2023-02-24 14:23:42 +01:00
Petr Andriushchenko
56bb70384a
fixed imort torch in utils
2023-02-24 12:00:48 +01:00
Petr Andriushchenko
e6552cb887
moved some function to utils
2023-02-24 11:51:08 +01:00
Petr Andriushchenko
e35fc4bc05
fixed summary windget
2023-02-24 11:33:13 +01:00
Petr Andriushchenko
f4e47c105e
fixed new model in summary.py
2023-02-24 10:47:52 +01:00
pre-commit-ci[bot]
28014f563f
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-02-23 14:02:32 +00:00
Petr Andriushchenko
c136b91fba
add model change function to summary
2023-02-23 14:09:19 +01:00
Petr Andriushchenko
c208039b7c
fix code smells
2023-02-22 15:10:52 +01:00
Petr Andriushchenko
4e4b7fac75
fix if-else, added clip ViT-L-14=336 model
2023-02-22 14:22:58 +01:00
Inga Ulusoy
779c5227ae
changed imports bec of lavis/windows
2023-02-21 22:45:06 +01:00
Inga Ulusoy
2e40179a68
account for new interface in init imports
2023-02-21 21:32:24 +01:00
Petr Andriushchenko
40435a73a1
fix clip models
2023-02-21 12:23:50 +01:00
pre-commit-ci[bot]
b9158d4947
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-02-17 14:17:22 +00:00
Petr Andriushchenko
70866dfc69
Change input format for multimodal search
2023-02-17 15:14:42 +01:00
iulusoy
b709f69d58
Revert "reactivate lavis"
...
This reverts commit ecdaf9d316e4b08816ba62da5e0482c8ff15b14e.
2023-02-16 04:05:34 -08:00
iulusoy
ecdaf9d316
reactivate lavis
2023-02-16 03:48:16 -08:00
pre-commit-ci[bot]
eb48b6513f
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-02-16 09:02:14 +00:00
Petr Andriushchenko
0b140c2245
Merge branch 'add_multimodal_search' into add_image_summary
2023-02-16 10:01:26 +01:00
Petr Andriushchenko
7f7d0d2913
adding multimodal searching py and notebook
2023-02-15 16:23:10 +01:00
iulusoy
f0a96bae86
skip import on windows
2023-02-15 03:31:39 -08:00
iulusoy
bc96aeb06f
exclude lavis on windows
2023-02-15 10:52:06 -08:00
Inga Ulusoy
feea895417
use lavis package name in install instead of git
2023-02-14 14:02:59 +01:00
Inga Ulusoy
2732651c83
lavis only for ubuntu
2023-02-14 13:44:07 +01:00
Inga Ulusoy
de7e5cbae5
missing comma after merge
2023-02-14 13:20:57 +01:00
Inga Ulusoy
f787164572
Merge branch 'main' into add_image_summary
2023-02-14 04:10:31 -08:00
iulusoy
d8662b5d72
instrucctions for windows
2023-02-14 02:31:04 -08:00
Inga Ulusoy
a6578cfdf3
Topic analysis ( #53 )
...
* add bertopic to requirements
* basic topic modeling
* topic modeling using BERT; bugfix if no text on post
* update for google colab
* Catch connection errors
* replace newline character with space
* move topic analysis into PostprocessText class
* set up dataflow topic analysis
* expose topic model to UI
* tests for class init
* tests for topic analysis
* more tests
* take care of carriage return on windows
* take care of carriage return on windows
* take care of carriage return on windows
* set encoding to ensure windows compatibility
* track encoding error
* more debug
* skip topic analysis debug
* windows fixes
2023-02-13 11:45:24 +01:00
Petr Andriushchenko
388ff19b38
back to 3.9 and remove pycocotools dependance
2023-02-03 14:12:06 +01:00
Petr Andriushchenko
0b197db397
Downgrade Python
2023-02-03 11:45:43 +01:00
Petr Andriushchenko
be5f6698a9
fix_pycocotools
2023-02-03 11:41:23 +01:00
Petr Andriushchenko
2b06dc25cc
change pycocotools install method
2023-02-02 14:45:34 +01:00
Petr Andriushchenko
6669fc4e4d
change pycocotools install method
2023-02-02 14:32:54 +01:00
Petr Andriushchenko
2367593034
change lavis to salesforce-lavis
2023-02-02 14:27:27 +01:00
Petr Andriushchenko
a7970b5858
return lavis
2023-02-02 14:22:38 +01:00
Petr Andriushchenko
e51ea784df
merging
2023-02-02 14:18:13 +01:00
Inga Ulusoy
a2c0bcd66c
Merge branch 'add_image_summary' of https://github.com/ssciwr/misinformation into add_image_summary
2023-01-30 12:21:42 +01:00
Inga Ulusoy
38abfa69e9
no lavis for ci test
2023-01-30 12:21:33 +01:00
Inga Ulusoy
ee2208091e
Merge branch 'main' into add_image_summary
2023-01-30 12:06:31 +01:00