Skip to main content

Multi-Modality

VIM

A simple implementation of "VIMA: General Robot Manipulation with Multimodal Prompts"

Original implementation Link

Appreciation

  • Lucidrains
  • Agorians

Install

pip install vima


Usage

import torch
from vima import Vima

# Generate a random input sequence
x = torch.randint(0, 256, (1, 1024)).cuda()

# Initialize VIMA model
model = Vima()

# Pass the input sequence through the model
output = model(x)

MultiModal Iteration

  • Pass in text and and image tensors into vima
import torch
from vima.vima import VimaMultiModal

#usage
img = torch.randn(1, 3, 256, 256)
text = torch.randint(0, 20000, (1, 1024))


model = VimaMultiModal()
output = model(text, img)

License

MIT

Citations

@inproceedings{jiang2023vima,
  title     = {VIMA: General Robot Manipulation with Multimodal Prompts},
  author    = {Yunfan Jiang and Agrim Gupta and Zichen Zhang and Guanzhi Wang and Yongqiang Dou and Yanjun Chen and Li Fei-Fei and Anima Anandkumar and Yuke Zhu and Linxi Fan},
  booktitle = {Fortieth International Conference on Machine Learning},
  year      = {2023}
}

Metadata

Release files for vima 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vima 0.0.2
File Size Uploaded
vima-0.0.2.tar.gz 25.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vima 0.0.2
File Interpreter ABI Platform
vima-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 51.6 kB

Release files / vima-0.0.2.tar.gz

Download URL vima-0.0.2.tar.gz
Size 25.3 kB
Tags Source
SHA-256 checksum
How to use checksums
eb458c3f26586668547962bb0ad031fa63475f62f783682ef84416b279829bf8
BLAKE2b-256 checksum
How to use checksums
a3496f37fd63826ab028595f674257eef6a88aec0f8e2b1ebabe6319a2e86dab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.0 Darwin/22.4.0

Release files / vima-0.0.2-py3-none-any.whl

Download URL vima-0.0.2-py3-none-any.whl
Size 26.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e2ba3a331d7566a043aea4c1ac5ceb6a54a2e141bc6c4049214c030ca6a26ee
BLAKE2b-256 checksum
How to use checksums
0610e7d1f2d201507e3e9d09a1d488d31b4125fc2384955e996fc04ab021c411
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.0 Darwin/22.4.0

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page