← Open Source
facebookresearch

ImageBind

ImageBind One Embedding Space to Bind Them All.

ModelsVision modelsPython
Open on GitHub
Momentum
+-1stars in 24 hours-0.0%
9.07k
Stars
839
Forks
+1
This week
19
Contributors
Created 2023-03-23 · Updated 2026-10-16 · #18418 today
Top developers
ahmedsaedChrisjanWustimisra

facebookresearch/ImageBind is ranked 18,418 with 9,075 stars.

Same-category comparison

facebookresearch/ImageBind is ranked 18,418 among these 8 peers; facebookresearch/DiT is ranked 18,423.

Same-category comparison
NameRankMetrics
bmild/nerf18,398
Language:
Jupyter Notebook
Stars:
10,950
Forks:
1,425
Description:
Code release for NeRF (Neural Radiance Fields).
openai/DALL-E18,401
Language:
Python
Stars:
10,816
Forks:
1,850
Description:
PyTorch package for the discrete VAE used for DALL·E.
databrickslabs/dolly18,403
Language:
Python
Stars:
10,805
Forks:
1,130
Description:
Databricks’ Dolly, a large language model trained on the Databricks Machine Learning Platform.
facebookresearch/maskrcnn-benchmark18,412
Language:
Python
Stars:
9,359
Forks:
2,450
Description:
Fast, modular reference implementation of Instance Segmentation and Object Detection algorithms in PyTorch.
facebookresearch/DiT18,423
Language:
Python
Stars:
8,675
Forks:
817
Description:
Official PyTorch Implementation of "Scalable Diffusion Models with Transformers".
MVIG-SJTU/AlphaPose18,424
Language:
Python
Stars:
8,609
Forks:
2,019
Description:
Real-Time and Accurate Full-Body Multi-Person Pose Estimation&Tracking System.
facebookresearch/mae18,433
Language:
Python
Stars:
8,361
Forks:
1,345
Description:
PyTorch implementation of MAE https//arxiv.org/abs/2111.06377.
LianjiaTech/BELLE18,434
Language:
HTML
Stars:
8,265
Forks:
755
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryModels
SubcategoryVision models
Stars9,075
Forks839
Contributors19
Created date2023-03-23
Updated date2026-10-16
Stars in 1 day-1
Stars in 7 days1
Rank18,418
Previous rank7,266
Rank change-11,152
7-day stars rank8,974
Previous 7-day stars rank6,543
7-day stars rank change-2,431
Total stars rank1,593
Previous total stars rank1,589
Total stars rank change-4
CountryUSA
README summary

ImageBind: One Embedding Space To Bind Them All **FAIR, Meta AI** Rohit Girdhar*, Alaaeldin El-Nouby*, Zhuang Liu, Mannat Singh, Kalyan Vasudev Alwala, Armand Joulin, Ishan Misra* To appear at CVPR 2023 (*Highlighted paper*) [ ] [ ] [ ] [ ] [ ] PyTorch implementation and pretrained models for ImageBind. For details, see the paper: **ImageBind: One Embedding Space To Bind Them All**. ImageBind learns a joint embedding across six different modalities - images, text, audio, depth, thermal, and IMU data. It enables novel emergent applications ‘out-of-the-box

’ including cross-modal retrieval, composing modalities with arithmetic, cross-modal detection and generation. ImageBind model Emergent zero-shot classification performance. For windows users, you might need to install for reading/writing audio files. (Thanks @congyue1977) Extract and compare features across modalities (e. Model card Please see the model card for details. License ImageBind code and model weights are released under the CC-BY-NC 4. Contributing See contributing and the code of conduct. Citing ImageBind If you find this repository

useful, please consider giving a star :star: and citation

Frequently asked questions

How many stars and forks are recorded?

facebookresearch/ImageBind has 9,075 stars and 839 forks.

What is the repository rank?

facebookresearch/ImageBind is ranked 18,418.

What language and category are recorded?

facebookresearch/ImageBind has 9,075 stars, uses Python and belongs to Models.

Which repository is closest in rank?

facebookresearch/ImageBind is compared with facebookresearch/DiT, ranked 18,423 with 8,675 stars.

README

ImageBind: One Embedding Space To Bind Them All

FAIR, Meta AI

Rohit Girdhar*, Alaaeldin El-Nouby*, Zhuang Liu, Mannat Singh, Kalyan Vasudev Alwala, Armand Joulin, Ishan Misra*

To appear at CVPR 2023 (Highlighted paper)

[Paper] [Blog] [Demo] [Supplementary Video] [BibTex]

PyTorch implementation and pretrained models for ImageBind. For details, see the paper: ImageBind: One Embedding Space To Bind Them All.

ImageBind learns a joint embedding across six different modalities - images, text, audio, depth, thermal, and IMU data. It enables novel emergent applications ‘out-of-the-box’ including cross-modal retrieval, composing modalities with arithmetic, cross-modal detection and generation.

ImageBind model

Emergent zero-shot classification performance.

Model

IN1k

K400

NYU-D

ESC

LLVIP

Ego4D

download

imagebind_huge

77.7

50.0

54.0

66.9

63.4

25.0

checkpoint

Usage

Install pytorch 2.0+ and other 3rd party dependencies.

conda create --name imagebind python=3.10 -y
conda activate imagebind

pip install .

For windows users, you might need to install soundfile for reading/writing audio files. (Thanks @congyue1977)

pip install soundfile

Extract and compare features across modalities (e.g. Image, Text and Audio).

from imagebind import data
import torch
from imagebind.models import imagebind_model
from imagebind.models.imagebind_model import ModalityType

text_list=["A dog.", "A car", "A bird"]
image_paths=[".assets/dog_image.jpg", ".assets/car_image.jpg", ".assets/bird_image.jpg"]
audio_paths=[".assets/dog_audio.wav", ".assets/car_audio.wav", ".assets/bird_audio.wav"]

device = "cuda:0" if torch.cuda.is_available() else "cpu"

# Instantiate model
model = imagebind_model.imagebind_huge(pretrained=True)
model.eval()
model.to(device)

# Load data
inputs = {
    ModalityType.TEXT: data.load_and_transform_text(text_list, device),
    ModalityType.VISION: data.load_and_transform_vision_data(image_paths, device),
    ModalityType.AUDIO: data.load_and_transform_audio_data(audio_paths, device),
}

with torch.no_grad():
    embeddings = model(inputs)

print(
    "Vision x Text: ",
    torch.softmax(embeddings[ModalityType.VISION] @ embeddings[ModalityType.TEXT].T, dim=-1),
)
print(
    "Audio x Text: ",
    torch.softmax(embeddings[ModalityType.AUDIO] @ embeddings[ModalityType.TEXT].T, dim=-1),
)
print(
    "Vision x Audio: ",
    torch.softmax(embeddings[ModalityType.VISION] @ embeddings[ModalityType.AUDIO].T, dim=-1),
)

# Expected output:
#
# Vision x Text:
# tensor([[9.9761e-01, 2.3694e-03, 1.8612e-05],
#         [3.3836e-05, 9.9994e-01, 2.4118e-05],
#         [4.7997e-05, 1.3496e-02, 9.8646e-01]])
#
# Audio x Text:
# tensor([[1., 0., 0.],
#         [0., 1., 0.],
#         [0., 0., 1.]])
#
# Vision x Audio:
# tensor([[0.8070, 0.1088, 0.0842],
#         [0.1036, 0.7884, 0.1079],
#         [0.0018, 0.0022, 0.9960]])

Model card

Please see the model card for details.

License

ImageBind code and model weights are released under the CC-BY-NC 4.0 license. See LICENSE for additional details.

Contributing

See contributing and the code of conduct.

Citing ImageBind

If you find this repository useful, please consider giving a star :star: and citation

@inproceedings{girdhar2023imagebind,
  title={ImageBind: One Embedding Space To Bind Them All},
  author={Girdhar, Rohit and El-Nouby, Alaaeldin and Liu, Zhuang
and Singh, Mannat and Alwala, Kalyan Vasudev and Joulin, Armand and Misra, Ishan},
  booktitle={CVPR},
  year={2023}
}
Nearby in the ranking
Similar items