sradc commited on
Commit
9b328a7
1 Parent(s): 7466055

filter images, by std, manual list, and similarity of clip vectors (and update deps)

Browse files
Files changed (3) hide show
  1. _dev/filter_images.ipynb +0 -0
  2. poetry.lock +83 -10
  3. pyproject.toml +3 -1
_dev/filter_images.ipynb CHANGED
The diff for this file is too large to render. See raw diff
 
poetry.lock CHANGED
@@ -785,6 +785,20 @@ files = [
785
  {file = "defusedxml-0.7.1.tar.gz", hash = "sha256:1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69"},
786
  ]
787
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
788
  [[package]]
789
  name = "entrypoints"
790
  version = "0.4"
@@ -1159,6 +1173,28 @@ files = [
1159
  {file = "ipython_genutils-0.2.0.tar.gz", hash = "sha256:eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8"},
1160
  ]
1161
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1162
  [[package]]
1163
  name = "isoduration"
1164
  version = "20.11.0"
@@ -1560,6 +1596,17 @@ docs = ["autodoc-traits", "docutils (<0.20)", "jinja2 (<3.2.0)", "mistune (<3)",
1560
  openapi = ["openapi-core (>=0.16.1,<0.17.0)", "ruamel-yaml"]
1561
  test = ["hatch", "ipykernel", "jupyterlab-server[openapi]", "openapi-spec-validator (>=0.5.1,<0.6.0)", "pytest (>=7.0)", "pytest-console-scripts", "pytest-cov", "pytest-jupyter[server] (>=0.6.2)", "pytest-timeout", "requests-mock", "sphinxcontrib-spelling", "strict-rfc3339", "werkzeug"]
1562
 
 
 
 
 
 
 
 
 
 
 
 
1563
  [[package]]
1564
  name = "kiwisolver"
1565
  version = "1.4.4"
@@ -2201,9 +2248,6 @@ files = [
2201
  [package.dependencies]
2202
  numpy = [
2203
  {version = ">=1.21.0", markers = "python_version <= \"3.9\" and platform_system == \"Darwin\" and platform_machine == \"arm64\""},
2204
- {version = ">=1.21.2", markers = "python_version >= \"3.10\""},
2205
- {version = ">=1.21.4", markers = "python_version >= \"3.10\" and platform_system == \"Darwin\""},
2206
- {version = ">=1.22.0", markers = "python_version >= \"3.11\""},
2207
  {version = ">=1.19.3", markers = "python_version >= \"3.6\" and platform_system == \"Linux\" and platform_machine == \"aarch64\" or python_version >= \"3.9\""},
2208
  {version = ">=1.17.0", markers = "python_version >= \"3.7\""},
2209
  {version = ">=1.17.3", markers = "python_version >= \"3.8\""},
@@ -2220,6 +2264,25 @@ files = [
2220
  {file = "packaging-23.1.tar.gz", hash = "sha256:a392980d2b6cffa644431898be54b0045151319d1e7ec34f0cfed48767dd334f"},
2221
  ]
2222
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2223
  [[package]]
2224
  name = "pandas"
2225
  version = "1.5.3"
@@ -2257,11 +2320,7 @@ files = [
2257
  ]
2258
 
2259
  [package.dependencies]
2260
- numpy = [
2261
- {version = ">=1.20.3", markers = "python_version < \"3.10\""},
2262
- {version = ">=1.21.0", markers = "python_version >= \"3.10\""},
2263
- {version = ">=1.23.2", markers = "python_version >= \"3.11\""},
2264
- ]
2265
  python-dateutil = ">=2.8.1"
2266
  pytz = ">=2020.1"
2267
 
@@ -3867,6 +3926,20 @@ files = [
3867
  {file = "websockets-11.0.3.tar.gz", hash = "sha256:88fc51d9a26b10fc331be344f1781224a375b78488fc343620184e95a4b27016"},
3868
  ]
3869
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3870
  [[package]]
3871
  name = "youtube-dl"
3872
  version = "2021.12.17"
@@ -3914,5 +3987,5 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more
3914
 
3915
  [metadata]
3916
  lock-version = "2.0"
3917
- python-versions = ">=3.9,<3.9.7 || >3.9.7,<4.0"
3918
- content-hash = "5ac5752c981365446d25ad8e5aa465c9483cfc3f5ad749734d4f1d1101027425"
 
785
  {file = "defusedxml-0.7.1.tar.gz", hash = "sha256:1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69"},
786
  ]
787
 
788
+ [[package]]
789
+ name = "dill"
790
+ version = "0.3.6"
791
+ description = "serialize all of python"
792
+ optional = false
793
+ python-versions = ">=3.7"
794
+ files = [
795
+ {file = "dill-0.3.6-py3-none-any.whl", hash = "sha256:a07ffd2351b8c678dfc4a856a3005f8067aea51d6ba6c700796a4d9e280f39f0"},
796
+ {file = "dill-0.3.6.tar.gz", hash = "sha256:e5db55f3687856d8fbdab002ed78544e1c4559a130302693d839dfe8f93f2373"},
797
+ ]
798
+
799
+ [package.extras]
800
+ graph = ["objgraph (>=1.7.2)"]
801
+
802
  [[package]]
803
  name = "entrypoints"
804
  version = "0.4"
 
1173
  {file = "ipython_genutils-0.2.0.tar.gz", hash = "sha256:eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8"},
1174
  ]
1175
 
1176
+ [[package]]
1177
+ name = "ipywidgets"
1178
+ version = "7.7.5"
1179
+ description = "IPython HTML widgets for Jupyter"
1180
+ optional = false
1181
+ python-versions = "*"
1182
+ files = [
1183
+ {file = "ipywidgets-7.7.5-py2.py3-none-any.whl", hash = "sha256:d9644e473282ca28a6bc0327372bcad7a41877d0092fea1ed70bd15f28be9270"},
1184
+ {file = "ipywidgets-7.7.5.tar.gz", hash = "sha256:2392943ed30253c84ac36f23f707fa1c9d34461ae5356944481a84d5b08d69b2"},
1185
+ ]
1186
+
1187
+ [package.dependencies]
1188
+ ipykernel = ">=4.5.1"
1189
+ ipython = {version = ">=4.0.0", markers = "python_version >= \"3.3\""}
1190
+ ipython-genutils = ">=0.2.0,<0.3.0"
1191
+ jupyterlab-widgets = {version = ">=1.0.0,<3", markers = "python_version >= \"3.6\""}
1192
+ traitlets = ">=4.3.1"
1193
+ widgetsnbextension = ">=3.6.4,<3.7.0"
1194
+
1195
+ [package.extras]
1196
+ test = ["ipykernel", "mock", "pytest (>=3.6.0)", "pytest-cov"]
1197
+
1198
  [[package]]
1199
  name = "isoduration"
1200
  version = "20.11.0"
 
1596
  openapi = ["openapi-core (>=0.16.1,<0.17.0)", "ruamel-yaml"]
1597
  test = ["hatch", "ipykernel", "jupyterlab-server[openapi]", "openapi-spec-validator (>=0.5.1,<0.6.0)", "pytest (>=7.0)", "pytest-console-scripts", "pytest-cov", "pytest-jupyter[server] (>=0.6.2)", "pytest-timeout", "requests-mock", "sphinxcontrib-spelling", "strict-rfc3339", "werkzeug"]
1598
 
1599
+ [[package]]
1600
+ name = "jupyterlab-widgets"
1601
+ version = "1.1.4"
1602
+ description = "A JupyterLab extension."
1603
+ optional = false
1604
+ python-versions = ">=3.6"
1605
+ files = [
1606
+ {file = "jupyterlab_widgets-1.1.4-py3-none-any.whl", hash = "sha256:769eb7bfef7e8ab70a7737104555531b09bcfba982f89465d2ae67b99b3f3e81"},
1607
+ {file = "jupyterlab_widgets-1.1.4.tar.gz", hash = "sha256:ea6e7612725e94d0966d64c6344910686f4bf8610533cd40daeba6980659b14d"},
1608
+ ]
1609
+
1610
  [[package]]
1611
  name = "kiwisolver"
1612
  version = "1.4.4"
 
2248
  [package.dependencies]
2249
  numpy = [
2250
  {version = ">=1.21.0", markers = "python_version <= \"3.9\" and platform_system == \"Darwin\" and platform_machine == \"arm64\""},
 
 
 
2251
  {version = ">=1.19.3", markers = "python_version >= \"3.6\" and platform_system == \"Linux\" and platform_machine == \"aarch64\" or python_version >= \"3.9\""},
2252
  {version = ">=1.17.0", markers = "python_version >= \"3.7\""},
2253
  {version = ">=1.17.3", markers = "python_version >= \"3.8\""},
 
2264
  {file = "packaging-23.1.tar.gz", hash = "sha256:a392980d2b6cffa644431898be54b0045151319d1e7ec34f0cfed48767dd334f"},
2265
  ]
2266
 
2267
+ [[package]]
2268
+ name = "pandarallel"
2269
+ version = "1.6.5"
2270
+ description = "An easy to use library to speed up computation (by parallelizing on multi CPUs) with pandas."
2271
+ optional = false
2272
+ python-versions = ">=3.7"
2273
+ files = [
2274
+ {file = "pandarallel-1.6.5.tar.gz", hash = "sha256:1c2df98ff6441e8ae13ff428ceebaa7ec42d731f7f972c41ce4fdef1d3adf640"},
2275
+ ]
2276
+
2277
+ [package.dependencies]
2278
+ dill = ">=0.3.1"
2279
+ pandas = ">=1"
2280
+ psutil = "*"
2281
+
2282
+ [package.extras]
2283
+ dev = ["numpy", "pytest", "pytest-cov"]
2284
+ doc = ["mkdocs-material"]
2285
+
2286
  [[package]]
2287
  name = "pandas"
2288
  version = "1.5.3"
 
2320
  ]
2321
 
2322
  [package.dependencies]
2323
+ numpy = {version = ">=1.20.3", markers = "python_version < \"3.10\""}
 
 
 
 
2324
  python-dateutil = ">=2.8.1"
2325
  pytz = ">=2020.1"
2326
 
 
3926
  {file = "websockets-11.0.3.tar.gz", hash = "sha256:88fc51d9a26b10fc331be344f1781224a375b78488fc343620184e95a4b27016"},
3927
  ]
3928
 
3929
+ [[package]]
3930
+ name = "widgetsnbextension"
3931
+ version = "3.6.4"
3932
+ description = "IPython HTML widgets for Jupyter"
3933
+ optional = false
3934
+ python-versions = "*"
3935
+ files = [
3936
+ {file = "widgetsnbextension-3.6.4-py2.py3-none-any.whl", hash = "sha256:3d2d4994aea8681eb438493e439f59f82ba81d91f388a12e55147ae137f4120e"},
3937
+ {file = "widgetsnbextension-3.6.4.tar.gz", hash = "sha256:ad1356c575d5add908afe886255deafb3f9b1589146a99279d1dcba5a05d16a5"},
3938
+ ]
3939
+
3940
+ [package.dependencies]
3941
+ notebook = ">=4.4.1"
3942
+
3943
  [[package]]
3944
  name = "youtube-dl"
3945
  version = "2021.12.17"
 
3987
 
3988
  [metadata]
3989
  lock-version = "2.0"
3990
+ python-versions = ">=3.9,<3.9.7 || >3.9.7,<3.10"
3991
+ content-hash = "daf0635908d0f2e0cd08bf110367e5f6affe87a2b53db00ae738013eea5bef44"
pyproject.toml CHANGED
@@ -8,7 +8,7 @@ readme = "README.md"
8
  packages = [{include = "video_semantic_search"}]
9
 
10
  [tool.poetry.dependencies]
11
- python = ">=3.9,<3.9.7 || >3.9.7,<4.0"
12
  streamlit = "1.21.0"
13
  pandas = ">=0.25,<2"
14
  pyarrow = "^12.0.0"
@@ -25,6 +25,7 @@ tqdm = "^4.65.0"
25
  opencv-python = "^4.7.0.72"
26
  youtube-dl = "^2021.12.17"
27
  matplotlib = "^3.7.1"
 
28
 
29
  [tool.poetry.group.dev.dependencies]
30
  notebook = "^6.5.4"
@@ -34,6 +35,7 @@ pytest = "^7.3.1"
34
  jupyterlab = "^4.0.0"
35
  nbconvert = "^7.4.0"
36
  jupyter-contrib-nbextensions = "^0.7.0"
 
37
 
38
  [build-system]
39
  requires = ["poetry-core"]
 
8
  packages = [{include = "video_semantic_search"}]
9
 
10
  [tool.poetry.dependencies]
11
+ python = ">=3.9,<3.9.7 || >3.9.7,<3.10"
12
  streamlit = "1.21.0"
13
  pandas = ">=0.25,<2"
14
  pyarrow = "^12.0.0"
 
25
  opencv-python = "^4.7.0.72"
26
  youtube-dl = "^2021.12.17"
27
  matplotlib = "^3.7.1"
28
+ pandarallel = "^1.6.5"
29
 
30
  [tool.poetry.group.dev.dependencies]
31
  notebook = "^6.5.4"
 
35
  jupyterlab = "^4.0.0"
36
  nbconvert = "^7.4.0"
37
  jupyter-contrib-nbextensions = "^0.7.0"
38
+ ipywidgets = "7.*"
39
 
40
  [build-system]
41
  requires = ["poetry-core"]