Download evaluation/src/helixbench/engines/imagebind_compat_init.py from NoizAI/Helixbench: direct link, hf CLI and curl.
- Browser
- Download file 450 Bytes
-
https://huggingface.co/datasets/NoizAI/Helixbench/resolve/main/evaluation/src/helixbench/engines/imagebind_compat_init.py
- Command line
-
hf download hf://datasets/NoizAI/Helixbench/evaluation/src/helixbench/engines/imagebind_compat_init.py
-
curl -L -o imagebind_compat_init.py https://huggingface.co/datasets/NoizAI/Helixbench/resolve/main/evaluation/src/helixbench/engines/imagebind_compat_init.py
450 Bytes
| """Compatibility package init for inference-only ImageBind model loading. | |
| The upstream package eagerly imports ``imagebind.data``, whose legacy | |
| PyTorchVideo dependency is incompatible with torchvision 0.22. The evaluator | |
| uses its own frozen preprocessing and only needs the model definitions. | |
| """ | |
| from imagebind.models import imagebind_model | |
| from imagebind.models.imagebind_model import ModalityType | |
| __all__ = ["imagebind_model", "ModalityType"] | |