Spaces:
Running
Running
alessandro trinca tornidor
commited on
Commit
•
dfd3805
1
Parent(s):
e627300
chore: use updated samgis-lisa == 1.0.8 to avoid CUDA init RuntimeError
Browse files- app.py +1 -1
- poetry.lock +194 -14
- pyproject.toml +16 -13
- requirements.txt +1 -1
app.py
CHANGED
@@ -143,7 +143,7 @@ def infer_lisa_gradio(request_input: StringPromptApiRequestBody) -> str:
|
|
143 |
output = lisa.lisa_predict(
|
144 |
bbox=body_request["bbox"], prompt=body_request["prompt"], zoom=body_request["zoom"],
|
145 |
source=source, source_name=source_name, inference_function_name_key=LISA_INFERENCE_FN,
|
146 |
-
inference_decorator=spaces.GPU
|
147 |
)
|
148 |
duration_run = time.time() - time_start_run
|
149 |
app_logger.info(f"duration_run:{duration_run}.")
|
|
|
143 |
output = lisa.lisa_predict(
|
144 |
bbox=body_request["bbox"], prompt=body_request["prompt"], zoom=body_request["zoom"],
|
145 |
source=source, source_name=source_name, inference_function_name_key=LISA_INFERENCE_FN,
|
146 |
+
inference_decorator=spaces.GPU
|
147 |
)
|
148 |
duration_run = time.time() - time_start_run
|
149 |
app_logger.info(f"duration_run:{duration_run}.")
|
poetry.lock
CHANGED
@@ -428,6 +428,93 @@ mypy = ["contourpy[bokeh,docs]", "docutils-stubs", "mypy (==1.11.1)", "types-Pil
|
|
428 |
test = ["Pillow", "contourpy[test-no-images]", "matplotlib"]
|
429 |
test-no-images = ["pytest", "pytest-cov", "pytest-rerunfailures", "pytest-xdist", "wurlitzer"]
|
430 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
431 |
[[package]]
|
432 |
name = "cycler"
|
433 |
version = "0.12.1"
|
@@ -948,13 +1035,13 @@ typing = ["types-PyYAML", "types-requests", "types-simplejson", "types-toml", "t
|
|
948 |
|
949 |
[[package]]
|
950 |
name = "idna"
|
951 |
-
version = "3.
|
952 |
description = "Internationalized Domain Names in Applications (IDNA)"
|
953 |
optional = false
|
954 |
python-versions = ">=3.6"
|
955 |
files = [
|
956 |
-
{file = "idna-3.
|
957 |
-
{file = "idna-3.
|
958 |
]
|
959 |
|
960 |
[package.extras]
|
@@ -979,6 +1066,17 @@ enabler = ["pytest-enabler (>=2.2)"]
|
|
979 |
test = ["jaraco.test (>=5.4)", "pytest (>=6,!=8.1.*)", "zipp (>=3.17)"]
|
980 |
type = ["pytest-mypy"]
|
981 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
982 |
[[package]]
|
983 |
name = "jinja2"
|
984 |
version = "3.1.4"
|
@@ -1202,13 +1300,13 @@ files = [
|
|
1202 |
|
1203 |
[[package]]
|
1204 |
name = "lisa-on-cuda"
|
1205 |
-
version = "1.4.
|
1206 |
description = "LISA (Reasoning Segmentation via Large Language Model) on cuda, now with huggingface ZeroGPU support!"
|
1207 |
optional = false
|
1208 |
python-versions = "<3.12,>=3.10"
|
1209 |
files = [
|
1210 |
-
{file = "lisa_on_cuda-1.4.
|
1211 |
-
{file = "lisa_on_cuda-1.4.
|
1212 |
]
|
1213 |
|
1214 |
[package.dependencies]
|
@@ -1677,13 +1775,13 @@ files = [
|
|
1677 |
|
1678 |
[[package]]
|
1679 |
name = "openai"
|
1680 |
-
version = "1.45.
|
1681 |
description = "The official Python library for the openai API"
|
1682 |
optional = false
|
1683 |
python-versions = ">=3.7.1"
|
1684 |
files = [
|
1685 |
-
{file = "openai-1.45.
|
1686 |
-
{file = "openai-1.45.
|
1687 |
]
|
1688 |
|
1689 |
[package.dependencies]
|
@@ -1993,6 +2091,21 @@ tests = ["check-manifest", "coverage", "defusedxml", "markdown2", "olefile", "pa
|
|
1993 |
typing = ["typing-extensions"]
|
1994 |
xmp = ["defusedxml"]
|
1995 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1996 |
[[package]]
|
1997 |
name = "psutil"
|
1998 |
version = "5.9.8"
|
@@ -2308,6 +2421,46 @@ files = [
|
|
2308 |
[package.dependencies]
|
2309 |
certifi = "*"
|
2310 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2311 |
[[package]]
|
2312 |
name = "python-dateutil"
|
2313 |
version = "2.9.0.post0"
|
@@ -2795,6 +2948,22 @@ pillow = ">=10.4.0,<11.0.0"
|
|
2795 |
python-dotenv = ">=1.0.1,<2.0.0"
|
2796 |
structlog = ">=24.4.0,<25.0.0"
|
2797 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2798 |
[[package]]
|
2799 |
name = "samgis-web"
|
2800 |
version = "1.0.14"
|
@@ -2946,18 +3115,18 @@ files = [
|
|
2946 |
|
2947 |
[[package]]
|
2948 |
name = "setuptools"
|
2949 |
-
version = "
|
2950 |
description = "Easily download, build, install, upgrade, and uninstall Python packages"
|
2951 |
optional = false
|
2952 |
python-versions = ">=3.8"
|
2953 |
files = [
|
2954 |
-
{file = "setuptools-
|
2955 |
-
{file = "setuptools-
|
2956 |
]
|
2957 |
|
2958 |
[package.extras]
|
2959 |
check = ["pytest-checkdocs (>=2.4)", "pytest-ruff (>=0.2.1)", "ruff (>=0.5.2)"]
|
2960 |
-
core = ["importlib-metadata (>=6)", "importlib-resources (>=5.10.2)", "jaraco.text (>=3.7)", "more-itertools (>=8.8)", "packaging (>=24)", "platformdirs (>=2.6.2)", "tomli (>=2.0.1)", "wheel (>=0.43.0)"]
|
2961 |
cover = ["pytest-cov"]
|
2962 |
doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "pyproject-hooks (!=1.1)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier", "towncrier (<24.7)"]
|
2963 |
enabler = ["pytest-enabler (>=2.2)"]
|
@@ -3209,6 +3378,17 @@ dev = ["black (==22.3)", "datasets", "numpy", "pytest", "requests"]
|
|
3209 |
docs = ["setuptools-rust", "sphinx", "sphinx-rtd-theme"]
|
3210 |
testing = ["black (==22.3)", "datasets", "numpy", "pytest", "requests"]
|
3211 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3212 |
[[package]]
|
3213 |
name = "tomlkit"
|
3214 |
version = "0.12.0"
|
@@ -3743,4 +3923,4 @@ files = [
|
|
3743 |
[metadata]
|
3744 |
lock-version = "2.0"
|
3745 |
python-versions = ">=3.10,<3.11"
|
3746 |
-
content-hash = "
|
|
|
428 |
test = ["Pillow", "contourpy[test-no-images]", "matplotlib"]
|
429 |
test-no-images = ["pytest", "pytest-cov", "pytest-rerunfailures", "pytest-xdist", "wurlitzer"]
|
430 |
|
431 |
+
[[package]]
|
432 |
+
name = "coverage"
|
433 |
+
version = "7.6.1"
|
434 |
+
description = "Code coverage measurement for Python"
|
435 |
+
optional = false
|
436 |
+
python-versions = ">=3.8"
|
437 |
+
files = [
|
438 |
+
{file = "coverage-7.6.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b06079abebbc0e89e6163b8e8f0e16270124c154dc6e4a47b413dd538859af16"},
|
439 |
+
{file = "coverage-7.6.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:cf4b19715bccd7ee27b6b120e7e9dd56037b9c0681dcc1adc9ba9db3d417fa36"},
|
440 |
+
{file = "coverage-7.6.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e61c0abb4c85b095a784ef23fdd4aede7a2628478e7baba7c5e3deba61070a02"},
|
441 |
+
{file = "coverage-7.6.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fd21f6ae3f08b41004dfb433fa895d858f3f5979e7762d052b12aef444e29afc"},
|
442 |
+
{file = "coverage-7.6.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8f59d57baca39b32db42b83b2a7ba6f47ad9c394ec2076b084c3f029b7afca23"},
|
443 |
+
{file = "coverage-7.6.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:a1ac0ae2b8bd743b88ed0502544847c3053d7171a3cff9228af618a068ed9c34"},
|
444 |
+
{file = "coverage-7.6.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:e6a08c0be454c3b3beb105c0596ebdc2371fab6bb90c0c0297f4e58fd7e1012c"},
|
445 |
+
{file = "coverage-7.6.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:f5796e664fe802da4f57a168c85359a8fbf3eab5e55cd4e4569fbacecc903959"},
|
446 |
+
{file = "coverage-7.6.1-cp310-cp310-win32.whl", hash = "sha256:7bb65125fcbef8d989fa1dd0e8a060999497629ca5b0efbca209588a73356232"},
|
447 |
+
{file = "coverage-7.6.1-cp310-cp310-win_amd64.whl", hash = "sha256:3115a95daa9bdba70aea750db7b96b37259a81a709223c8448fa97727d546fe0"},
|
448 |
+
{file = "coverage-7.6.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:7dea0889685db8550f839fa202744652e87c60015029ce3f60e006f8c4462c93"},
|
449 |
+
{file = "coverage-7.6.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ed37bd3c3b063412f7620464a9ac1314d33100329f39799255fb8d3027da50d3"},
|
450 |
+
{file = "coverage-7.6.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d85f5e9a5f8b73e2350097c3756ef7e785f55bd71205defa0bfdaf96c31616ff"},
|
451 |
+
{file = "coverage-7.6.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9bc572be474cafb617672c43fe989d6e48d3c83af02ce8de73fff1c6bb3c198d"},
|
452 |
+
{file = "coverage-7.6.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0c0420b573964c760df9e9e86d1a9a622d0d27f417e1a949a8a66dd7bcee7bc6"},
|
453 |
+
{file = "coverage-7.6.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1f4aa8219db826ce6be7099d559f8ec311549bfc4046f7f9fe9b5cea5c581c56"},
|
454 |
+
{file = "coverage-7.6.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:fc5a77d0c516700ebad189b587de289a20a78324bc54baee03dd486f0855d234"},
|
455 |
+
{file = "coverage-7.6.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:b48f312cca9621272ae49008c7f613337c53fadca647d6384cc129d2996d1133"},
|
456 |
+
{file = "coverage-7.6.1-cp311-cp311-win32.whl", hash = "sha256:1125ca0e5fd475cbbba3bb67ae20bd2c23a98fac4e32412883f9bcbaa81c314c"},
|
457 |
+
{file = "coverage-7.6.1-cp311-cp311-win_amd64.whl", hash = "sha256:8ae539519c4c040c5ffd0632784e21b2f03fc1340752af711f33e5be83a9d6c6"},
|
458 |
+
{file = "coverage-7.6.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:95cae0efeb032af8458fc27d191f85d1717b1d4e49f7cb226cf526ff28179778"},
|
459 |
+
{file = "coverage-7.6.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5621a9175cf9d0b0c84c2ef2b12e9f5f5071357c4d2ea6ca1cf01814f45d2391"},
|
460 |
+
{file = "coverage-7.6.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:260933720fdcd75340e7dbe9060655aff3af1f0c5d20f46b57f262ab6c86a5e8"},
|
461 |
+
{file = "coverage-7.6.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:07e2ca0ad381b91350c0ed49d52699b625aab2b44b65e1b4e02fa9df0e92ad2d"},
|
462 |
+
{file = "coverage-7.6.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c44fee9975f04b33331cb8eb272827111efc8930cfd582e0320613263ca849ca"},
|
463 |
+
{file = "coverage-7.6.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:877abb17e6339d96bf08e7a622d05095e72b71f8afd8a9fefc82cf30ed944163"},
|
464 |
+
{file = "coverage-7.6.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:3e0cadcf6733c09154b461f1ca72d5416635e5e4ec4e536192180d34ec160f8a"},
|
465 |
+
{file = "coverage-7.6.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c3c02d12f837d9683e5ab2f3d9844dc57655b92c74e286c262e0fc54213c216d"},
|
466 |
+
{file = "coverage-7.6.1-cp312-cp312-win32.whl", hash = "sha256:e05882b70b87a18d937ca6768ff33cc3f72847cbc4de4491c8e73880766718e5"},
|
467 |
+
{file = "coverage-7.6.1-cp312-cp312-win_amd64.whl", hash = "sha256:b5d7b556859dd85f3a541db6a4e0167b86e7273e1cdc973e5b175166bb634fdb"},
|
468 |
+
{file = "coverage-7.6.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:a4acd025ecc06185ba2b801f2de85546e0b8ac787cf9d3b06e7e2a69f925b106"},
|
469 |
+
{file = "coverage-7.6.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a6d3adcf24b624a7b778533480e32434a39ad8fa30c315208f6d3e5542aeb6e9"},
|
470 |
+
{file = "coverage-7.6.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d0c212c49b6c10e6951362f7c6df3329f04c2b1c28499563d4035d964ab8e08c"},
|
471 |
+
{file = "coverage-7.6.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6e81d7a3e58882450ec4186ca59a3f20a5d4440f25b1cff6f0902ad890e6748a"},
|
472 |
+
{file = "coverage-7.6.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:78b260de9790fd81e69401c2dc8b17da47c8038176a79092a89cb2b7d945d060"},
|
473 |
+
{file = "coverage-7.6.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a78d169acd38300060b28d600344a803628c3fd585c912cacc9ea8790fe96862"},
|
474 |
+
{file = "coverage-7.6.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:2c09f4ce52cb99dd7505cd0fc8e0e37c77b87f46bc9c1eb03fe3bc9991085388"},
|
475 |
+
{file = "coverage-7.6.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6878ef48d4227aace338d88c48738a4258213cd7b74fd9a3d4d7582bb1d8a155"},
|
476 |
+
{file = "coverage-7.6.1-cp313-cp313-win32.whl", hash = "sha256:44df346d5215a8c0e360307d46ffaabe0f5d3502c8a1cefd700b34baf31d411a"},
|
477 |
+
{file = "coverage-7.6.1-cp313-cp313-win_amd64.whl", hash = "sha256:8284cf8c0dd272a247bc154eb6c95548722dce90d098c17a883ed36e67cdb129"},
|
478 |
+
{file = "coverage-7.6.1-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:d3296782ca4eab572a1a4eca686d8bfb00226300dcefdf43faa25b5242ab8a3e"},
|
479 |
+
{file = "coverage-7.6.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:502753043567491d3ff6d08629270127e0c31d4184c4c8d98f92c26f65019962"},
|
480 |
+
{file = "coverage-7.6.1-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6a89ecca80709d4076b95f89f308544ec8f7b4727e8a547913a35f16717856cb"},
|
481 |
+
{file = "coverage-7.6.1-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a318d68e92e80af8b00fa99609796fdbcdfef3629c77c6283566c6f02c6d6704"},
|
482 |
+
{file = "coverage-7.6.1-cp313-cp313t-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:13b0a73a0896988f053e4fbb7de6d93388e6dd292b0d87ee51d106f2c11b465b"},
|
483 |
+
{file = "coverage-7.6.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:4421712dbfc5562150f7554f13dde997a2e932a6b5f352edcce948a815efee6f"},
|
484 |
+
{file = "coverage-7.6.1-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:166811d20dfea725e2e4baa71fffd6c968a958577848d2131f39b60043400223"},
|
485 |
+
{file = "coverage-7.6.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:225667980479a17db1048cb2bf8bfb39b8e5be8f164b8f6628b64f78a72cf9d3"},
|
486 |
+
{file = "coverage-7.6.1-cp313-cp313t-win32.whl", hash = "sha256:170d444ab405852903b7d04ea9ae9b98f98ab6d7e63e1115e82620807519797f"},
|
487 |
+
{file = "coverage-7.6.1-cp313-cp313t-win_amd64.whl", hash = "sha256:b9f222de8cded79c49bf184bdbc06630d4c58eec9459b939b4a690c82ed05657"},
|
488 |
+
{file = "coverage-7.6.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:6db04803b6c7291985a761004e9060b2bca08da6d04f26a7f2294b8623a0c1a0"},
|
489 |
+
{file = "coverage-7.6.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:f1adfc8ac319e1a348af294106bc6a8458a0f1633cc62a1446aebc30c5fa186a"},
|
490 |
+
{file = "coverage-7.6.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a95324a9de9650a729239daea117df21f4b9868ce32e63f8b650ebe6cef5595b"},
|
491 |
+
{file = "coverage-7.6.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b43c03669dc4618ec25270b06ecd3ee4fa94c7f9b3c14bae6571ca00ef98b0d3"},
|
492 |
+
{file = "coverage-7.6.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8929543a7192c13d177b770008bc4e8119f2e1f881d563fc6b6305d2d0ebe9de"},
|
493 |
+
{file = "coverage-7.6.1-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:a09ece4a69cf399510c8ab25e0950d9cf2b42f7b3cb0374f95d2e2ff594478a6"},
|
494 |
+
{file = "coverage-7.6.1-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:9054a0754de38d9dbd01a46621636689124d666bad1936d76c0341f7d71bf569"},
|
495 |
+
{file = "coverage-7.6.1-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:0dbde0f4aa9a16fa4d754356a8f2e36296ff4d83994b2c9d8398aa32f222f989"},
|
496 |
+
{file = "coverage-7.6.1-cp38-cp38-win32.whl", hash = "sha256:da511e6ad4f7323ee5702e6633085fb76c2f893aaf8ce4c51a0ba4fc07580ea7"},
|
497 |
+
{file = "coverage-7.6.1-cp38-cp38-win_amd64.whl", hash = "sha256:3f1156e3e8f2872197af3840d8ad307a9dd18e615dc64d9ee41696f287c57ad8"},
|
498 |
+
{file = "coverage-7.6.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:abd5fd0db5f4dc9289408aaf34908072f805ff7792632250dcb36dc591d24255"},
|
499 |
+
{file = "coverage-7.6.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:547f45fa1a93154bd82050a7f3cddbc1a7a4dd2a9bf5cb7d06f4ae29fe94eaf8"},
|
500 |
+
{file = "coverage-7.6.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:645786266c8f18a931b65bfcefdbf6952dd0dea98feee39bd188607a9d307ed2"},
|
501 |
+
{file = "coverage-7.6.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9e0b2df163b8ed01d515807af24f63de04bebcecbd6c3bfeff88385789fdf75a"},
|
502 |
+
{file = "coverage-7.6.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:609b06f178fe8e9f89ef676532760ec0b4deea15e9969bf754b37f7c40326dbc"},
|
503 |
+
{file = "coverage-7.6.1-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:702855feff378050ae4f741045e19a32d57d19f3e0676d589df0575008ea5004"},
|
504 |
+
{file = "coverage-7.6.1-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:2bdb062ea438f22d99cba0d7829c2ef0af1d768d1e4a4f528087224c90b132cb"},
|
505 |
+
{file = "coverage-7.6.1-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:9c56863d44bd1c4fe2abb8a4d6f5371d197f1ac0ebdee542f07f35895fc07f36"},
|
506 |
+
{file = "coverage-7.6.1-cp39-cp39-win32.whl", hash = "sha256:6e2cd258d7d927d09493c8df1ce9174ad01b381d4729a9d8d4e38670ca24774c"},
|
507 |
+
{file = "coverage-7.6.1-cp39-cp39-win_amd64.whl", hash = "sha256:06a737c882bd26d0d6ee7269b20b12f14a8704807a01056c80bb881a4b2ce6ca"},
|
508 |
+
{file = "coverage-7.6.1-pp38.pp39.pp310-none-any.whl", hash = "sha256:e9a6e0eb86070e8ccaedfbd9d38fec54864f3125ab95419970575b42af7541df"},
|
509 |
+
{file = "coverage-7.6.1.tar.gz", hash = "sha256:953510dfb7b12ab69d20135a0662397f077c59b1e6379a768e97c59d852ee51d"},
|
510 |
+
]
|
511 |
+
|
512 |
+
[package.dependencies]
|
513 |
+
tomli = {version = "*", optional = true, markers = "python_full_version <= \"3.11.0a6\" and extra == \"toml\""}
|
514 |
+
|
515 |
+
[package.extras]
|
516 |
+
toml = ["tomli"]
|
517 |
+
|
518 |
[[package]]
|
519 |
name = "cycler"
|
520 |
version = "0.12.1"
|
|
|
1035 |
|
1036 |
[[package]]
|
1037 |
name = "idna"
|
1038 |
+
version = "3.10"
|
1039 |
description = "Internationalized Domain Names in Applications (IDNA)"
|
1040 |
optional = false
|
1041 |
python-versions = ">=3.6"
|
1042 |
files = [
|
1043 |
+
{file = "idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3"},
|
1044 |
+
{file = "idna-3.10.tar.gz", hash = "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9"},
|
1045 |
]
|
1046 |
|
1047 |
[package.extras]
|
|
|
1066 |
test = ["jaraco.test (>=5.4)", "pytest (>=6,!=8.1.*)", "zipp (>=3.17)"]
|
1067 |
type = ["pytest-mypy"]
|
1068 |
|
1069 |
+
[[package]]
|
1070 |
+
name = "iniconfig"
|
1071 |
+
version = "2.0.0"
|
1072 |
+
description = "brain-dead simple config-ini parsing"
|
1073 |
+
optional = false
|
1074 |
+
python-versions = ">=3.7"
|
1075 |
+
files = [
|
1076 |
+
{file = "iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374"},
|
1077 |
+
{file = "iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3"},
|
1078 |
+
]
|
1079 |
+
|
1080 |
[[package]]
|
1081 |
name = "jinja2"
|
1082 |
version = "3.1.4"
|
|
|
1300 |
|
1301 |
[[package]]
|
1302 |
name = "lisa-on-cuda"
|
1303 |
+
version = "1.4.8"
|
1304 |
description = "LISA (Reasoning Segmentation via Large Language Model) on cuda, now with huggingface ZeroGPU support!"
|
1305 |
optional = false
|
1306 |
python-versions = "<3.12,>=3.10"
|
1307 |
files = [
|
1308 |
+
{file = "lisa_on_cuda-1.4.8-py3-none-any.whl", hash = "sha256:32da76aade9bab591df59cfe30ca19bc30460a70af78fe1d57fe11b929716071"},
|
1309 |
+
{file = "lisa_on_cuda-1.4.8.tar.gz", hash = "sha256:14327b1366a961e06cb144bdeec125dc1a3477bacef7c3118d090b5d7683bfd2"},
|
1310 |
]
|
1311 |
|
1312 |
[package.dependencies]
|
|
|
1775 |
|
1776 |
[[package]]
|
1777 |
name = "openai"
|
1778 |
+
version = "1.45.1"
|
1779 |
description = "The official Python library for the openai API"
|
1780 |
optional = false
|
1781 |
python-versions = ">=3.7.1"
|
1782 |
files = [
|
1783 |
+
{file = "openai-1.45.1-py3-none-any.whl", hash = "sha256:4a6cce402aec803ae57ae7eff4b5b94bf6c0e1703a8d85541c27243c2adeadf8"},
|
1784 |
+
{file = "openai-1.45.1.tar.gz", hash = "sha256:f79e384916b219ab2f028bbf9c778e81291c61eb0645ccfa1828a4b18b55d534"},
|
1785 |
]
|
1786 |
|
1787 |
[package.dependencies]
|
|
|
2091 |
typing = ["typing-extensions"]
|
2092 |
xmp = ["defusedxml"]
|
2093 |
|
2094 |
+
[[package]]
|
2095 |
+
name = "pluggy"
|
2096 |
+
version = "1.5.0"
|
2097 |
+
description = "plugin and hook calling mechanisms for python"
|
2098 |
+
optional = false
|
2099 |
+
python-versions = ">=3.8"
|
2100 |
+
files = [
|
2101 |
+
{file = "pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669"},
|
2102 |
+
{file = "pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1"},
|
2103 |
+
]
|
2104 |
+
|
2105 |
+
[package.extras]
|
2106 |
+
dev = ["pre-commit", "tox"]
|
2107 |
+
testing = ["pytest", "pytest-benchmark"]
|
2108 |
+
|
2109 |
[[package]]
|
2110 |
name = "psutil"
|
2111 |
version = "5.9.8"
|
|
|
2421 |
[package.dependencies]
|
2422 |
certifi = "*"
|
2423 |
|
2424 |
+
[[package]]
|
2425 |
+
name = "pytest"
|
2426 |
+
version = "8.3.3"
|
2427 |
+
description = "pytest: simple powerful testing with Python"
|
2428 |
+
optional = false
|
2429 |
+
python-versions = ">=3.8"
|
2430 |
+
files = [
|
2431 |
+
{file = "pytest-8.3.3-py3-none-any.whl", hash = "sha256:a6853c7375b2663155079443d2e45de913a911a11d669df02a50814944db57b2"},
|
2432 |
+
{file = "pytest-8.3.3.tar.gz", hash = "sha256:70b98107bd648308a7952b06e6ca9a50bc660be218d53c257cc1fc94fda10181"},
|
2433 |
+
]
|
2434 |
+
|
2435 |
+
[package.dependencies]
|
2436 |
+
colorama = {version = "*", markers = "sys_platform == \"win32\""}
|
2437 |
+
exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""}
|
2438 |
+
iniconfig = "*"
|
2439 |
+
packaging = "*"
|
2440 |
+
pluggy = ">=1.5,<2"
|
2441 |
+
tomli = {version = ">=1", markers = "python_version < \"3.11\""}
|
2442 |
+
|
2443 |
+
[package.extras]
|
2444 |
+
dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"]
|
2445 |
+
|
2446 |
+
[[package]]
|
2447 |
+
name = "pytest-cov"
|
2448 |
+
version = "5.0.0"
|
2449 |
+
description = "Pytest plugin for measuring coverage."
|
2450 |
+
optional = false
|
2451 |
+
python-versions = ">=3.8"
|
2452 |
+
files = [
|
2453 |
+
{file = "pytest-cov-5.0.0.tar.gz", hash = "sha256:5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857"},
|
2454 |
+
{file = "pytest_cov-5.0.0-py3-none-any.whl", hash = "sha256:4f0764a1219df53214206bf1feea4633c3b558a2925c8b59f144f682861ce652"},
|
2455 |
+
]
|
2456 |
+
|
2457 |
+
[package.dependencies]
|
2458 |
+
coverage = {version = ">=5.2.1", extras = ["toml"]}
|
2459 |
+
pytest = ">=4.6"
|
2460 |
+
|
2461 |
+
[package.extras]
|
2462 |
+
testing = ["fields", "hunter", "process-tests", "pytest-xdist", "virtualenv"]
|
2463 |
+
|
2464 |
[[package]]
|
2465 |
name = "python-dateutil"
|
2466 |
version = "2.9.0.post0"
|
|
|
2948 |
python-dotenv = ">=1.0.1,<2.0.0"
|
2949 |
structlog = ">=24.4.0,<25.0.0"
|
2950 |
|
2951 |
+
[[package]]
|
2952 |
+
name = "samgis-lisa"
|
2953 |
+
version = "1.0.8"
|
2954 |
+
description = "SamGIS LISA"
|
2955 |
+
optional = false
|
2956 |
+
python-versions = "<3.11,>=3.10"
|
2957 |
+
files = [
|
2958 |
+
{file = "samgis_lisa-1.0.8-py3-none-any.whl", hash = "sha256:301ced2bfe9a7118fe852434143d5fb6ecfdf215ff3fdefc44d8f0edd9a04c9f"},
|
2959 |
+
{file = "samgis_lisa-1.0.8.tar.gz", hash = "sha256:37b2e25d11b851f661234f98d473cd75ade742da14223356c757da1707077788"},
|
2960 |
+
]
|
2961 |
+
|
2962 |
+
[package.dependencies]
|
2963 |
+
gradio = "4.44.0"
|
2964 |
+
lisa-on-cuda = "1.4.8"
|
2965 |
+
samgis-web = "1.0.14"
|
2966 |
+
|
2967 |
[[package]]
|
2968 |
name = "samgis-web"
|
2969 |
version = "1.0.14"
|
|
|
3115 |
|
3116 |
[[package]]
|
3117 |
name = "setuptools"
|
3118 |
+
version = "75.1.0"
|
3119 |
description = "Easily download, build, install, upgrade, and uninstall Python packages"
|
3120 |
optional = false
|
3121 |
python-versions = ">=3.8"
|
3122 |
files = [
|
3123 |
+
{file = "setuptools-75.1.0-py3-none-any.whl", hash = "sha256:35ab7fd3bcd95e6b7fd704e4a1539513edad446c097797f2985e0e4b960772f2"},
|
3124 |
+
{file = "setuptools-75.1.0.tar.gz", hash = "sha256:d59a21b17a275fb872a9c3dae73963160ae079f1049ed956880cd7c09b120538"},
|
3125 |
]
|
3126 |
|
3127 |
[package.extras]
|
3128 |
check = ["pytest-checkdocs (>=2.4)", "pytest-ruff (>=0.2.1)", "ruff (>=0.5.2)"]
|
3129 |
+
core = ["importlib-metadata (>=6)", "importlib-resources (>=5.10.2)", "jaraco.collections", "jaraco.functools", "jaraco.text (>=3.7)", "more-itertools", "more-itertools (>=8.8)", "packaging", "packaging (>=24)", "platformdirs (>=2.6.2)", "tomli (>=2.0.1)", "wheel (>=0.43.0)"]
|
3130 |
cover = ["pytest-cov"]
|
3131 |
doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "pyproject-hooks (!=1.1)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier", "towncrier (<24.7)"]
|
3132 |
enabler = ["pytest-enabler (>=2.2)"]
|
|
|
3378 |
docs = ["setuptools-rust", "sphinx", "sphinx-rtd-theme"]
|
3379 |
testing = ["black (==22.3)", "datasets", "numpy", "pytest", "requests"]
|
3380 |
|
3381 |
+
[[package]]
|
3382 |
+
name = "tomli"
|
3383 |
+
version = "2.0.1"
|
3384 |
+
description = "A lil' TOML parser"
|
3385 |
+
optional = false
|
3386 |
+
python-versions = ">=3.7"
|
3387 |
+
files = [
|
3388 |
+
{file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"},
|
3389 |
+
{file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"},
|
3390 |
+
]
|
3391 |
+
|
3392 |
[[package]]
|
3393 |
name = "tomlkit"
|
3394 |
version = "0.12.0"
|
|
|
3923 |
[metadata]
|
3924 |
lock-version = "2.0"
|
3925 |
python-versions = ">=3.10,<3.11"
|
3926 |
+
content-hash = "1a36f66b44c5527e8004cd04e5c97766c6176e6787467dac6fa14a09247dd43b"
|
pyproject.toml
CHANGED
@@ -1,24 +1,27 @@
|
|
1 |
[tool.poetry]
|
2 |
-
name = "samgis-lisa"
|
3 |
-
version = "1.
|
4 |
-
description = "
|
5 |
authors = ["alessandro trinca tornidor <alessandro@trinca.tornidor.com>"]
|
6 |
-
license = "MIT"
|
7 |
readme = "README.md"
|
|
|
8 |
|
9 |
[metadata]
|
10 |
-
name = "samgis-lisa"
|
11 |
-
version = "1.
|
12 |
-
|
13 |
-
|
14 |
-
[tool.poetry.urls]
|
15 |
-
Source = "https://gitlab.com/aletrn/samgis_lisa"
|
16 |
|
17 |
[tool.poetry.dependencies]
|
18 |
-
gradio = "4.44.0"
|
19 |
python = ">=3.10,<3.11"
|
20 |
-
samgis-
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
[build-system]
|
24 |
requires = ["poetry-core"]
|
|
|
1 |
[tool.poetry]
|
2 |
+
name = "samgis-lisa-on-zero"
|
3 |
+
version = "1.5.6"
|
4 |
+
description = "A VLM backend for machine learning instance segmentation on geospatial data that uses LISA (Reasoning Segmentation via Large Language Model)."
|
5 |
authors = ["alessandro trinca tornidor <alessandro@trinca.tornidor.com>"]
|
6 |
+
license = "MIT license"
|
7 |
readme = "README.md"
|
8 |
+
package-mode = false
|
9 |
|
10 |
[metadata]
|
11 |
+
name = "samgis-lisa-on-zero"
|
12 |
+
version = "1.5.6"
|
|
|
|
|
|
|
|
|
13 |
|
14 |
[tool.poetry.dependencies]
|
|
|
15 |
python = ">=3.10,<3.11"
|
16 |
+
samgis-lisa = "1.0.8"
|
17 |
+
|
18 |
+
[tool.poetry.group.test]
|
19 |
+
optional = true
|
20 |
+
|
21 |
+
[tool.poetry.group.test.dependencies]
|
22 |
+
pytest = "^8.2.2"
|
23 |
+
pytest-cov = "^5.0.0"
|
24 |
+
httpx = "^0.27.0"
|
25 |
|
26 |
[build-system]
|
27 |
requires = ["poetry-core"]
|
requirements.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
pip
|
2 |
-
samgis-lisa==1.0.
|
|
|
1 |
pip
|
2 |
+
samgis-lisa==1.0.8
|