chendl commited on
Commit
ef0fae2
1 Parent(s): 263fdaf

add requirements

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. multimodal/requirements_vlm.txt +334 -0
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import os
2
- os.system("cd multimodal && pip install .")
3
  os.system("cd multimodal/YOLOX && pip install .")
4
  import numpy as np
5
  import torch
 
1
  import os
2
+ os.system("cd multimodal && pip install -r requirements_vlm.txt && pip install .")
3
  os.system("cd multimodal/YOLOX && pip install .")
4
  import numpy as np
5
  import torch
multimodal/requirements_vlm.txt ADDED
@@ -0,0 +1,334 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ absl-py==1.4.0
2
+ accelerate==0.20.3
3
+ addict==2.4.0
4
+ aiofiles==23.1.0
5
+ aiohttp==3.8.3
6
+ aiosignal==1.3.1
7
+ altair==5.0.1
8
+ antlr4-python3-runtime==4.8
9
+ anyio @ file:///root/worker/containers/000009npisn/tmp/build/80754af9/anyio_1644481724221/work/dist
10
+ anytree==2.8.0
11
+ appdirs @ file:///home/conda/feedstock_root/build_artifacts/appdirs_1603108395799/work
12
+ argon2-cffi @ file:///opt/conda/conda-bld/argon2-cffi_1645000214183/work
13
+ argon2-cffi-bindings @ file:///root/worker/containers/00002647e7r/tmp/build/80754af9/argon2-cffi-bindings_1644569708548/work
14
+ asttokens @ file:///opt/conda/conda-bld/asttokens_1646925590279/work
15
+ async-timeout==4.0.2
16
+ attrs==22.2.0
17
+ audioread @ file:///home/conda/feedstock_root/build_artifacts/audioread_1660497580575/work
18
+ av @ file:///opt/conda/conda-bld/av_1664156733402/work
19
+ Babel @ file:///croot/babel_1671781926983/work
20
+ backcall @ file:///home/ktietz/src/ci/backcall_1611930011877/work
21
+ beautifulsoup4 @ file:///croot/beautifulsoup4-split_1680589966798/work
22
+ bert-score==0.3.13
23
+ bitarray==2.7.0
24
+ black==21.4b2
25
+ bleach @ file:///opt/conda/conda-bld/bleach_1641577558959/work
26
+ blinker==1.6.2
27
+ blis==0.7.9
28
+ boto3==1.26.121
29
+ botocore==1.29.121
30
+ Bottleneck @ file:///opt/conda/conda-bld/bottleneck_1657175574298/work
31
+ braceexpand==0.1.7
32
+ brotlipy==0.7.0
33
+ cachetools==5.3.0
34
+ catalogue==2.0.8
35
+ certifi==2022.12.7
36
+ cffi @ file:///croot/cffi_1670423215080/work
37
+ cfgv==3.3.1
38
+ charset-normalizer @ file:///tmp/build/80754af9/charset-normalizer_1630003229654/work
39
+ cityscapesScripts==2.2.1
40
+ click @ file:///root/worker/containers/00002vj66cc/tmp/build/80754af9/click_1646056606525/work
41
+ clip @ git+https://github.com/openai/CLIP.git@a9b1bf5920416aaeaec965c25dd9e8f98c864f16
42
+ cloudpickle==2.2.1
43
+ colorama==0.4.6
44
+ coloredlogs==15.0.1
45
+ comm @ file:///croot/comm_1671231127640/work
46
+ confection==0.0.4
47
+ contexttimer==0.3.3
48
+ contourpy==1.0.7
49
+ cryptography @ file:///croot/cryptography_1673298759686/work
50
+ cycler @ file:///tmp/build/80754af9/cycler_1637851556182/work
51
+ cymem==2.0.7
52
+ Cython==0.29.33
53
+ dataclasses==0.6
54
+ datasets==2.9.0
55
+ debugpy @ file:///root/worker/containers/00001v6kgtq/tmp/build/80754af9/debugpy_1637091834888/work
56
+ decorator==4.4.2
57
+ deepspeed==0.8.2
58
+ defusedxml @ file:///tmp/build/80754af9/defusedxml_1615228127516/work
59
+ -e git+https://github.com/facebookresearch/detectron2.git@cc87e7ec225b5c0449f47794c03335565ec1120e#egg=detectron2
60
+ dill==0.3.6
61
+ distlib==0.3.6
62
+ docker-pycreds==0.4.0
63
+ editdistance @ file:///croot/editdistance_1670956746291/work
64
+ einops==0.4.1
65
+ einops-exts==0.0.4
66
+ en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.5.0/en_core_web_sm-3.5.0-py3-none-any.whl
67
+ entrypoints @ file:///root/worker/containers/000012qdjp5/tmp/build/80754af9/entrypoints_1649926482253/work
68
+ executing @ file:///opt/conda/conda-bld/executing_1646925071911/work
69
+ fairscale==0.4.4
70
+ fancycompleter==0.9.1
71
+ fastapi==0.99.0
72
+ fastjsonschema @ file:///opt/conda/conda-bld/python-fastjsonschema_1661368600309/work
73
+ fasttext==0.9.2
74
+ ffmpeg==1.4
75
+ ffmpy==0.3.0
76
+ filelock @ file:///home/conda/feedstock_root/build_artifacts/filelock_1680834529360/work
77
+ flit_core @ file:///opt/conda/conda-bld/flit-core_1644941570762/work/source/flit_core
78
+ fonttools==4.38.0
79
+ frozenlist==1.3.3
80
+ fsspec==2023.1.0
81
+ ftfy==6.0.3
82
+ future @ file:///root/worker/containers/0000116e0lu/tmp/build/80754af9/future_1607571339681/work
83
+ fvcore==0.1.5.post20221221
84
+ gitdb==4.0.10
85
+ GitPython==3.1.30
86
+ google-auth==2.16.0
87
+ google-auth-oauthlib==0.4.6
88
+ gradio==3.35.2
89
+ gradio_client==0.2.7
90
+ -e git+ssh://git@github.com/senfu/multimodal.git@876bcd1aba6bef61caf8ed5c8cedb757b80a9ac8#egg=groundingdino&subdirectory=GroundingDINO
91
+ grpcio==1.51.1
92
+ h11==0.14.0
93
+ h5py @ file:///opt/conda/conda-bld/h5py_1659091382915/work
94
+ hjson==3.1.0
95
+ httpcore==0.17.2
96
+ httpx==0.24.1
97
+ huggingface==0.0.1
98
+ huggingface-hub==0.15.1
99
+ humanfriendly==10.0
100
+ hydra-core==1.1.2
101
+ identify==2.5.24
102
+ idna @ file:///croot/idna_1666125583058/work
103
+ imageio==2.28.0
104
+ imageio-ffmpeg==0.4.8
105
+ importlib-metadata @ file:///croot/importlib-metadata_1678997092813/work
106
+ inflect==6.0.4
107
+ inflection==0.5.1
108
+ iopath==0.1.9
109
+ ipykernel @ file:///croot/ipykernel_1671541106681/work
110
+ ipython @ file:///croot/ipython_1680728615213/work
111
+ ipython-genutils @ file:///tmp/build/80754af9/ipython_genutils_1606773439826/work
112
+ ipywidgets @ file:///croot/ipywidgets_1679394823608/work
113
+ jedi @ file:///root/worker/containers/00001tv0g1s/tmp/build/80754af9/jedi_1644315256945/work
114
+ Jinja2 @ file:///croot/jinja2_1666908146094/work
115
+ jmespath==1.0.1
116
+ joblib @ file:///croot/joblib_1666298852644/work
117
+ json-stream==2.3.0
118
+ json-stream-rs-tokenizer==0.4.17
119
+ json5 @ file:///tmp/build/80754af9/json5_1624432770122/work
120
+ jsonlines==4.0.0
121
+ jsonschema @ file:///croot/jsonschema_1676558682035/work
122
+ jupyter @ file:///opt/conda/conda-bld/jupyter_1659349061803/work
123
+ jupyter-console @ file:///croot/jupyter_console_1680000317144/work
124
+ jupyter-server @ file:///croot/jupyter_server_1671707621583/work
125
+ jupyter_client @ file:///croot/jupyter_client_1680171868792/work
126
+ jupyter_core @ file:///croot/jupyter_core_1679906581341/work
127
+ jupyterlab @ file:///croot/jupyterlab_1675354134999/work
128
+ jupyterlab-pygments @ file:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work
129
+ jupyterlab-widgets @ file:///croot/jupyterlab_widgets_1679055285523/work
130
+ jupyterlab_server @ file:///croot/jupyterlab_server_1680792534758/work
131
+ kaggle==1.5.13
132
+ kiwisolver @ file:///croot/kiwisolver_1672387171701/work
133
+ langcodes==3.3.0
134
+ lap==0.5.dev0
135
+ lazy_loader==0.2
136
+ Levenshtein==0.20.9
137
+ librosa @ file:///home/conda/feedstock_root/build_artifacts/librosa_1656336149289/work
138
+ lightning-utilities==0.6.0.post0
139
+ linkify-it-py==2.0.2
140
+ llvmlite==0.39.1
141
+ loguru==0.7.0
142
+ lvis==0.5.3
143
+ lxml @ file:///opt/conda/conda-bld/lxml_1657545149728/work
144
+ Markdown==3.4.1
145
+ markdown-it-py==2.2.0
146
+ MarkupSafe==2.1.2
147
+ matplotlib @ file:///croot/matplotlib-suite_1670466139090/work
148
+ matplotlib-inline @ file:///opt/conda/conda-bld/matplotlib-inline_1662014476240/work
149
+ mdit-py-plugins==0.3.3
150
+ mdurl==0.1.2
151
+ mistune @ file:///root/worker/containers/00000tlej8g/tmp/build/80754af9/mistune_1607364899267/work
152
+ more-itertools==9.1.0
153
+ moviepy==1.0.3
154
+ mss==9.0.1
155
+ multidict==6.0.4
156
+ multiprocess==0.70.14
157
+ munkres==1.1.4
158
+ murmurhash==1.0.9
159
+ mypy-extensions==1.0.0
160
+ nbclassic @ file:///croot/nbclassic_1680622826598/work
161
+ nbclient @ file:///root/worker/containers/00000tbo1so/tmp/build/80754af9/nbclient_1650308398332/work
162
+ nbconvert @ file:///croot/nbconvert_1668450653032/work
163
+ nbformat @ file:///croot/nbformat_1670352340397/work
164
+ nest-asyncio @ file:///croot/nest-asyncio_1672387126771/work
165
+ networkx @ file:///opt/conda/conda-bld/networkx_1657784101582/work
166
+ ninja==1.11.1
167
+ nltk==3.8.1
168
+ nodeenv==1.8.0
169
+ notebook @ file:///croot/notebook_1680012029864/work
170
+ notebook_shim @ file:///croot/notebook-shim_1668160591571/work
171
+ numba @ file:///croot/numba_1670258337799/work
172
+ numexpr @ file:///croot/numexpr_1668713887824/work
173
+ numpy==1.23.5
174
+ oauthlib==3.2.2
175
+ omegaconf==2.1.2
176
+ open-clip-torch==2.20.0
177
+ -e git+ssh://git@github.com/senfu/multimodal.git@876bcd1aba6bef61caf8ed5c8cedb757b80a9ac8#egg=open_flamingo
178
+ opencv-python==4.7.0.68
179
+ opendatasets==0.1.22
180
+ orjson @ file:///croot/orjson_1668611845199/work/target/wheels/orjson-3.7.8-cp39-cp39-linux_ppc64le.whl
181
+ packaging==23.0
182
+ pandas==1.5.3
183
+ pandocfilters @ file:///opt/conda/conda-bld/pandocfilters_1643405455980/work
184
+ parso @ file:///opt/conda/conda-bld/parso_1641458642106/work
185
+ pathspec==0.11.1
186
+ pathtools==0.1.2
187
+ pathy==0.10.1
188
+ pdbpp==0.10.3
189
+ -e git+https://github.com/huggingface/peft.git@7120c9a2636f93c8db3fc4ae466e02f338ecead8#egg=peft
190
+ pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work
191
+ pickleshare @ file:///tmp/build/80754af9/pickleshare_1606932040724/work
192
+ Pillow==9.3.0
193
+ platformdirs==3.5.3
194
+ plotly==5.15.0
195
+ pooch @ file:///home/conda/feedstock_root/build_artifacts/pooch_1643032624649/work
196
+ portalocker==2.7.0
197
+ positional-encodings==6.0.1
198
+ pre-commit==3.3.2
199
+ preshed==3.0.8
200
+ proglog==0.1.10
201
+ prometheus-client @ file:///opt/conda/conda-bld/prometheus_client_1659455116805/work
202
+ prompt-toolkit @ file:///croot/prompt-toolkit_1672387311200/work
203
+ protobuf==3.20.3
204
+ psutil==5.9.4
205
+ ptyprocess @ file:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
206
+ pure-eval @ file:///opt/conda/conda-bld/pure_eval_1646925070566/work
207
+ py-cpuinfo==9.0.0
208
+ pyarrow==8.0.0
209
+ pyasn1==0.4.8
210
+ pyasn1-modules==0.2.8
211
+ pybind11==2.10.4
212
+ -e git+https://github.com/senfu/multimodal.git@674885f500af3482e469891e155e17467f3468db#egg=pycocoevalcap&subdirectory=pycocoevalcap
213
+ pycocotools==2.0.4
214
+ pycparser @ file:///tmp/build/80754af9/pycparser_1636541352034/work
215
+ pydantic==1.10.10
216
+ pydeck==0.8.1b0
217
+ pydot==1.4.2
218
+ pydub==0.25.1
219
+ Pygments==2.14.0
220
+ Pympler==1.0.1
221
+ pyOpenSSL @ file:///opt/conda/conda-bld/pyopenssl_1643788558760/work
222
+ pyparsing @ file:///opt/conda/conda-bld/pyparsing_1661452544222/work
223
+ pypinyin==0.47.1
224
+ pyquaternion==0.9.9
225
+ pyrepl==0.9.0
226
+ pyrsistent @ file:///root/worker/containers/00001lrrvmh/tmp/build/80754af9/pyrsistent_1636111006443/work
227
+ PySocks @ file:///root/worker/containers/000030ucv4h/tmp/build/80754af9/pysocks_1605305830876/work
228
+ python-dateutil @ file:///tmp/build/80754af9/python-dateutil_1626374649649/work
229
+ python-Levenshtein==0.20.9
230
+ python-magic==0.4.27
231
+ python-multipart==0.0.6
232
+ python-slugify==8.0.1
233
+ pytorch-lightning==1.9.0
234
+ pytz @ file:///croot/pytz_1671697438891/work
235
+ pytz-deprecation-shim==0.1.0.post0
236
+ PyWavelets==1.4.1
237
+ PyYAML @ file:///croot/pyyaml_1670514750790/work
238
+ pyzmq @ file:///opt/conda/conda-bld/pyzmq_1657724199500/work
239
+ rapidfuzz==2.13.7
240
+ regex==2022.10.31
241
+ requests @ file:///opt/conda/conda-bld/requests_1657734640638/work
242
+ requests-oauthlib==1.3.1
243
+ resampy @ file:///home/conda/feedstock_root/build_artifacts/resampy_1663087224680/work
244
+ responses==0.18.0
245
+ rich==13.4.2
246
+ rouge-score==0.1.2
247
+ rsa==4.9
248
+ s3transfer==0.6.0
249
+ sacrebleu==2.3.1
250
+ safetensors==0.3.1
251
+ -e git+https://github.com/salesforce/LAVIS.git@59273f651b9bffb193d1b12a235e909e9f826dda#egg=salesforce_lavis
252
+ scikit-image==0.20.0
253
+ scikit-learn @ file:///croot/scikit-learn_1675453225992/work
254
+ scipy==1.8.1
255
+ seaborn==0.12.2
256
+ -e git+https://github.com/facebookresearch/segment-anything.git@6fdee8f2727f4506cfbbe553e23b895e27956588#egg=segment_anything
257
+ semantic-version==2.10.0
258
+ Send2Trash @ file:///tmp/build/80754af9/send2trash_1632406701022/work
259
+ sentencepiece==0.1.96
260
+ sentry-sdk==1.15.0
261
+ setproctitle==1.3.2
262
+ six @ file:///tmp/build/80754af9/six_1644875935023/work
263
+ smart-open==6.3.0
264
+ smmap==5.0.0
265
+ sniffio @ file:///root/worker/containers/00001okir25/tmp/build/80754af9/sniffio_1614030475520/work
266
+ soundfile @ file:///home/conda/feedstock_root/build_artifacts/pysoundfile_1665058838115/work
267
+ soupsieve @ file:///croot/soupsieve_1680518481951/work
268
+ spacy==3.5.4
269
+ spacy-legacy==3.0.12
270
+ spacy-loggers==1.0.4
271
+ srsly==2.4.6
272
+ stack-data @ file:///opt/conda/conda-bld/stack_data_1646927590127/work
273
+ starlette==0.27.0
274
+ streamlit==1.23.1
275
+ supervision==0.6.0
276
+ tabulate @ file:///opt/conda/conda-bld/tabulate_1657784114222/work
277
+ tenacity==8.2.2
278
+ tensorboard==2.12.0
279
+ tensorboard-data-server==0.7.0
280
+ tensorboard-plugin-wit==1.8.1
281
+ tensorboardX==2.4.1
282
+ termcolor==2.3.0
283
+ terminado @ file:///croot/terminado_1671751837845/work
284
+ text-unidecode==1.3
285
+ thinc==8.1.9
286
+ thop==0.1.1.post2209072238
287
+ threadpoolctl @ file:///Users/ktietz/demo/mc3/conda-bld/threadpoolctl_1629802263681/work
288
+ tifffile==2023.4.12
289
+ timm==0.6.7
290
+ tinycss2 @ file:///croot/tinycss2_1668168824655/work
291
+ tokenizer==3.4.2
292
+ tokenizers==0.13.2
293
+ toml==0.10.2
294
+ tomli @ file:///opt/conda/conda-bld/tomli_1657175513557/work
295
+ toolz==0.12.0
296
+ torch==1.12.1
297
+ torchmetrics==0.11.1
298
+ torchtext==0.13.1a0+35066f2
299
+ torchvision==0.13.1
300
+ tornado @ file:///opt/conda/conda-bld/tornado_1662061697133/work
301
+ tqdm @ file:///opt/conda/conda-bld/tqdm_1664392702857/work
302
+ traitlets @ file:///croot/traitlets_1671143896488/work
303
+ -e git+https://github.com/huggingface/transformers.git@e6a4f2022528c14cb4bea280c754b5023b1d8d0b#egg=transformers
304
+ typer==0.7.0
305
+ typing==3.7.4.3
306
+ typing_extensions==4.7.0
307
+ tzdata==2023.3
308
+ tzlocal==4.3
309
+ uc-micro-py==1.0.2
310
+ ujson==5.7.0
311
+ ultralytics==8.0.120
312
+ urllib3 @ file:///croot/urllib3_1673575512622/work
313
+ uvicorn==0.22.0
314
+ validators==0.20.0
315
+ virtualenv==20.23.0
316
+ wandb==0.13.10
317
+ wasabi==1.1.1
318
+ watchdog==3.0.0
319
+ wcwidth==0.2.6
320
+ webdataset==0.2.31
321
+ webencodings==0.5.1
322
+ websocket-client @ file:///root/worker/containers/00003h08pi8/tmp/build/80754af9/websocket-client_1614804271755/work
323
+ websockets==11.0.3
324
+ Werkzeug==2.2.2
325
+ widgetsnbextension @ file:///croot/widgetsnbextension_1679313869893/work
326
+ wmctrl==0.4
327
+ xxhash==3.2.0
328
+ yacs==0.1.8
329
+ yapf==0.32.0
330
+ yarl==1.8.2
331
+ -e git+ssh://git@github.com/senfu/multimodal.git@876bcd1aba6bef61caf8ed5c8cedb757b80a9ac8#egg=yolox&subdirectory=YOLOX
332
+ youtube-dl==2021.12.17
333
+ zhconv==1.4.3
334
+ zipp==3.13.0