github-actions[bot] commited on
Commit ·
36ef01c
1
Parent(s): 4b42267
Deploy hyper3labs/HyperView-ABO-Catalog from Hyper3Labs/hyperview-spaces@402dda9
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +0 -4
- Dockerfile +10 -1
- demo.py +9 -9
- demo_data/abo_eval_small/images_small/00/00a98975.jpg +0 -0
- demo_data/abo_eval_small/images_small/01/012e20ee.jpg +0 -0
- demo_data/abo_eval_small/images_small/01/01311450.jpg +0 -0
- demo_data/abo_eval_small/images_small/01/01ecf645.jpg +0 -0
- demo_data/abo_eval_small/images_small/02/020633e1.jpg +0 -0
- demo_data/abo_eval_small/images_small/03/03b9ac4f.jpg +0 -0
- demo_data/abo_eval_small/images_small/04/040353c9.jpg +0 -0
- demo_data/abo_eval_small/images_small/04/040de942.jpg +0 -0
- demo_data/abo_eval_small/images_small/04/041b87a1.jpg +0 -0
- demo_data/abo_eval_small/images_small/04/04c50ddb.jpg +0 -0
- demo_data/abo_eval_small/images_small/04/04d99540.jpg +0 -0
- demo_data/abo_eval_small/images_small/05/050e71d5.jpg +0 -0
- demo_data/abo_eval_small/images_small/06/06642c85.jpg +0 -0
- demo_data/abo_eval_small/images_small/07/071ff704.jpg +0 -0
- demo_data/abo_eval_small/images_small/07/077599a2.jpg +0 -0
- demo_data/abo_eval_small/images_small/08/0824a54c.jpg +0 -0
- demo_data/abo_eval_small/images_small/08/08729d1f.jpg +0 -0
- demo_data/abo_eval_small/images_small/09/09f144c7.jpg +0 -0
- demo_data/abo_eval_small/images_small/0a/0a4591b5.jpg +0 -0
- demo_data/abo_eval_small/images_small/0a/0a538be1.jpg +0 -0
- demo_data/abo_eval_small/images_small/0a/0a8bcf49.jpg +0 -0
- demo_data/abo_eval_small/images_small/0a/0ad22e12.jpg +0 -0
- demo_data/abo_eval_small/images_small/0b/0b32c10a.jpg +0 -0
- demo_data/abo_eval_small/images_small/0c/0c4b66b3.jpg +0 -0
- demo_data/abo_eval_small/images_small/0c/0c789496.jpg +0 -0
- demo_data/abo_eval_small/images_small/0c/0c84de5f.jpg +0 -0
- demo_data/abo_eval_small/images_small/0c/0ce137d2.jpg +0 -0
- demo_data/abo_eval_small/images_small/0f/0f9f429d.jpg +0 -0
- demo_data/abo_eval_small/images_small/10/10226886.jpg +0 -0
- demo_data/abo_eval_small/images_small/10/1031092e.jpg +0 -0
- demo_data/abo_eval_small/images_small/10/1049cd9f.jpg +0 -0
- demo_data/abo_eval_small/images_small/11/11500206.jpg +0 -0
- demo_data/abo_eval_small/images_small/12/120249ec.jpg +0 -0
- demo_data/abo_eval_small/images_small/12/125be349.jpg +0 -0
- demo_data/abo_eval_small/images_small/13/1376e3be.jpg +0 -0
- demo_data/abo_eval_small/images_small/14/1497e2d9.jpg +0 -0
- demo_data/abo_eval_small/images_small/14/14ca1b00.jpg +0 -0
- demo_data/abo_eval_small/images_small/14/14d129a0.jpg +0 -0
- demo_data/abo_eval_small/images_small/14/14db355d.jpg +0 -0
- demo_data/abo_eval_small/images_small/15/150ccf5a.jpg +0 -0
- demo_data/abo_eval_small/images_small/16/1678cf72.jpg +0 -0
- demo_data/abo_eval_small/images_small/16/16d97c02.jpg +0 -0
- demo_data/abo_eval_small/images_small/17/174f4dce.jpg +0 -0
- demo_data/abo_eval_small/images_small/17/17b54316.jpg +0 -0
- demo_data/abo_eval_small/images_small/18/181feec5.jpg +0 -0
- demo_data/abo_eval_small/images_small/18/189408cb.jpg +0 -0
- demo_data/abo_eval_small/images_small/1a/1a1401b7.jpg +0 -0
.gitattributes
DELETED
|
@@ -1,4 +0,0 @@
|
|
| 1 |
-
demo_data/abo_eval_small/metadata/images.csv.gz filter=lfs diff=lfs merge=lfs -text
|
| 2 |
-
demo_data/abo_eval_small/metadata/listings_0.json.gz filter=lfs diff=lfs merge=lfs -text
|
| 3 |
-
demo_data/datasets/abo_catalog_clip_hycoclip_side_by_side/embeddings__embed-anything__openai_clip-vit-base-patch32__4771034973d8.lance/data/1101100101011010000101109f2ec2405ab8d74764d9cbf98f.lance filter=lfs diff=lfs merge=lfs -text
|
| 4 |
-
demo_data/datasets/abo_catalog_clip_hycoclip_side_by_side/embeddings__hyper-models__hycoclip-vit-s__b63e9ee38a30.lance/data/10110111111110100000000092c3824e44aaa6d0d597a22901.lance filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Dockerfile
CHANGED
|
@@ -23,10 +23,19 @@ RUN pip install --upgrade pip
|
|
| 23 |
|
| 24 |
ARG HYPERVIEW_PACKAGE=git+https://github.com/Hyper3Labs/HyperView.git@13963ffd1a1de669eb2d4dfab52f2313d644faaa
|
| 25 |
ARG HYPER_MODELS_VERSION=0.2.0
|
|
|
|
| 26 |
|
| 27 |
# Install CPU-only PyTorch first so the Space does not pull the default CUDA bundle.
|
| 28 |
RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
|
| 29 |
-
RUN
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
RUN pip install "hyper-models==${HYPER_MODELS_VERSION}" && python -c "import hyper_models; print('hyper_models', hyper_models.__version__)"
|
| 31 |
RUN pip install "datasets>=4.5.0" "Pillow>=12.0.0"
|
| 32 |
|
|
|
|
| 23 |
|
| 24 |
ARG HYPERVIEW_PACKAGE=git+https://github.com/Hyper3Labs/HyperView.git@13963ffd1a1de669eb2d4dfab52f2313d644faaa
|
| 25 |
ARG HYPER_MODELS_VERSION=0.2.0
|
| 26 |
+
ARG HYPERVIEW_INSTALL_CACHE_BUST=2026-06-04-abo
|
| 27 |
|
| 28 |
# Install CPU-only PyTorch first so the Space does not pull the default CUDA bundle.
|
| 29 |
RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
|
| 30 |
+
RUN echo "Installing ${HYPERVIEW_PACKAGE} (${HYPERVIEW_INSTALL_CACHE_BUST})" \
|
| 31 |
+
&& pip install "${HYPERVIEW_PACKAGE}" \
|
| 32 |
+
&& pip install --force-reinstall --no-deps --no-cache-dir "${HYPERVIEW_PACKAGE}" \
|
| 33 |
+
&& python - <<'PY'
|
| 34 |
+
import inspect
|
| 35 |
+
import hyperview as hv
|
| 36 |
+
|
| 37 |
+
print("hyperview", hv.__version__, inspect.signature(hv.launch))
|
| 38 |
+
PY
|
| 39 |
RUN pip install "hyper-models==${HYPER_MODELS_VERSION}" && python -c "import hyper_models; print('hyper_models', hyper_models.__version__)"
|
| 40 |
RUN pip install "datasets>=4.5.0" "Pillow>=12.0.0"
|
| 41 |
|
demo.py
CHANGED
|
@@ -363,15 +363,15 @@ def build_demo_view(layouts: dict[str, str]) -> hv.ui.View:
|
|
| 363 |
|
| 364 |
|
| 365 |
def launch_demo(dataset: hv.Dataset, layouts: dict[str, str]) -> hv.Session:
|
| 366 |
-
|
| 367 |
-
|
| 368 |
-
|
| 369 |
-
|
| 370 |
-
|
| 371 |
-
|
| 372 |
-
|
| 373 |
-
|
| 374 |
-
|
| 375 |
print("Installing ABO demo extension...", flush=True)
|
| 376 |
session.ui.add_extension(
|
| 377 |
EXTENSION_DIR,
|
|
|
|
| 363 |
|
| 364 |
|
| 365 |
def launch_demo(dataset: hv.Dataset, layouts: dict[str, str]) -> hv.Session:
|
| 366 |
+
print(f"HyperView launch signature: {signature(hv.launch)}", flush=True)
|
| 367 |
+
session = hv.launch(
|
| 368 |
+
dataset,
|
| 369 |
+
host=SPACE_HOST,
|
| 370 |
+
port=SPACE_PORT,
|
| 371 |
+
open_browser=False,
|
| 372 |
+
workspace_id=WORKSPACE_ID,
|
| 373 |
+
block=False,
|
| 374 |
+
)
|
| 375 |
print("Installing ABO demo extension...", flush=True)
|
| 376 |
session.ui.add_extension(
|
| 377 |
EXTENSION_DIR,
|
demo_data/abo_eval_small/images_small/00/00a98975.jpg
DELETED
|
Binary file (19.6 kB)
|
|
|
demo_data/abo_eval_small/images_small/01/012e20ee.jpg
DELETED
|
Binary file (2.33 kB)
|
|
|
demo_data/abo_eval_small/images_small/01/01311450.jpg
DELETED
|
Binary file (4.21 kB)
|
|
|
demo_data/abo_eval_small/images_small/01/01ecf645.jpg
DELETED
|
Binary file (6.38 kB)
|
|
|
demo_data/abo_eval_small/images_small/02/020633e1.jpg
DELETED
|
Binary file (6.37 kB)
|
|
|
demo_data/abo_eval_small/images_small/03/03b9ac4f.jpg
DELETED
|
Binary file (2.27 kB)
|
|
|
demo_data/abo_eval_small/images_small/04/040353c9.jpg
DELETED
|
Binary file (5.33 kB)
|
|
|
demo_data/abo_eval_small/images_small/04/040de942.jpg
DELETED
|
Binary file (6.06 kB)
|
|
|
demo_data/abo_eval_small/images_small/04/041b87a1.jpg
DELETED
|
Binary file (2.93 kB)
|
|
|
demo_data/abo_eval_small/images_small/04/04c50ddb.jpg
DELETED
|
Binary file (5.29 kB)
|
|
|
demo_data/abo_eval_small/images_small/04/04d99540.jpg
DELETED
|
Binary file (3.51 kB)
|
|
|
demo_data/abo_eval_small/images_small/05/050e71d5.jpg
DELETED
|
Binary file (13 kB)
|
|
|
demo_data/abo_eval_small/images_small/06/06642c85.jpg
DELETED
|
Binary file (2.47 kB)
|
|
|
demo_data/abo_eval_small/images_small/07/071ff704.jpg
DELETED
|
Binary file (7.35 kB)
|
|
|
demo_data/abo_eval_small/images_small/07/077599a2.jpg
DELETED
|
Binary file (8.48 kB)
|
|
|
demo_data/abo_eval_small/images_small/08/0824a54c.jpg
DELETED
|
Binary file (25.4 kB)
|
|
|
demo_data/abo_eval_small/images_small/08/08729d1f.jpg
DELETED
|
Binary file (6.47 kB)
|
|
|
demo_data/abo_eval_small/images_small/09/09f144c7.jpg
DELETED
|
Binary file (8.83 kB)
|
|
|
demo_data/abo_eval_small/images_small/0a/0a4591b5.jpg
DELETED
|
Binary file (12.3 kB)
|
|
|
demo_data/abo_eval_small/images_small/0a/0a538be1.jpg
DELETED
|
Binary file (6.7 kB)
|
|
|
demo_data/abo_eval_small/images_small/0a/0a8bcf49.jpg
DELETED
|
Binary file (13.7 kB)
|
|
|
demo_data/abo_eval_small/images_small/0a/0ad22e12.jpg
DELETED
|
Binary file (15.5 kB)
|
|
|
demo_data/abo_eval_small/images_small/0b/0b32c10a.jpg
DELETED
|
Binary file (3.58 kB)
|
|
|
demo_data/abo_eval_small/images_small/0c/0c4b66b3.jpg
DELETED
|
Binary file (11.8 kB)
|
|
|
demo_data/abo_eval_small/images_small/0c/0c789496.jpg
DELETED
|
Binary file (9.63 kB)
|
|
|
demo_data/abo_eval_small/images_small/0c/0c84de5f.jpg
DELETED
|
Binary file (3.07 kB)
|
|
|
demo_data/abo_eval_small/images_small/0c/0ce137d2.jpg
DELETED
|
Binary file (4.71 kB)
|
|
|
demo_data/abo_eval_small/images_small/0f/0f9f429d.jpg
DELETED
|
Binary file (8.02 kB)
|
|
|
demo_data/abo_eval_small/images_small/10/10226886.jpg
DELETED
|
Binary file (4.59 kB)
|
|
|
demo_data/abo_eval_small/images_small/10/1031092e.jpg
DELETED
|
Binary file (2.01 kB)
|
|
|
demo_data/abo_eval_small/images_small/10/1049cd9f.jpg
DELETED
|
Binary file (10 kB)
|
|
|
demo_data/abo_eval_small/images_small/11/11500206.jpg
DELETED
|
Binary file (4.96 kB)
|
|
|
demo_data/abo_eval_small/images_small/12/120249ec.jpg
DELETED
|
Binary file (5.05 kB)
|
|
|
demo_data/abo_eval_small/images_small/12/125be349.jpg
DELETED
|
Binary file (14.9 kB)
|
|
|
demo_data/abo_eval_small/images_small/13/1376e3be.jpg
DELETED
|
Binary file (4.46 kB)
|
|
|
demo_data/abo_eval_small/images_small/14/1497e2d9.jpg
DELETED
|
Binary file (4.44 kB)
|
|
|
demo_data/abo_eval_small/images_small/14/14ca1b00.jpg
DELETED
|
Binary file (29 kB)
|
|
|
demo_data/abo_eval_small/images_small/14/14d129a0.jpg
DELETED
|
Binary file (4.47 kB)
|
|
|
demo_data/abo_eval_small/images_small/14/14db355d.jpg
DELETED
|
Binary file (6.72 kB)
|
|
|
demo_data/abo_eval_small/images_small/15/150ccf5a.jpg
DELETED
|
Binary file (6.63 kB)
|
|
|
demo_data/abo_eval_small/images_small/16/1678cf72.jpg
DELETED
|
Binary file (8.42 kB)
|
|
|
demo_data/abo_eval_small/images_small/16/16d97c02.jpg
DELETED
|
Binary file (4.6 kB)
|
|
|
demo_data/abo_eval_small/images_small/17/174f4dce.jpg
DELETED
|
Binary file (5.46 kB)
|
|
|
demo_data/abo_eval_small/images_small/17/17b54316.jpg
DELETED
|
Binary file (5.19 kB)
|
|
|
demo_data/abo_eval_small/images_small/18/181feec5.jpg
DELETED
|
Binary file (3.93 kB)
|
|
|
demo_data/abo_eval_small/images_small/18/189408cb.jpg
DELETED
|
Binary file (10.1 kB)
|
|
|
demo_data/abo_eval_small/images_small/1a/1a1401b7.jpg
DELETED
|
Binary file (5.84 kB)
|
|
|