- Run docker
sudo docker build -t mmf:mmf -f Dockerfile-dev .
sudo docker run --rm -it --shm-size=31000m --rm -v $(pwd):/app/src --network=host mmf:mmf bash
-
Download VCR dataset and put it in
.cache/torch/mmf/data/datasets/vcr
-
Download VCR vocab list and put it in
.cache/torch/mmf/data/datasets/vcr/defaults/vocabs/vocab.txt
https://github.com/rowanz/r2c/tree/master/data/get_bert_embeddings
MMF is a modular framework for vision and language multimodal research from Facebook AI Research. MMF contains reference implementations of state-of-the-art vision and language models and has powered multiple research projects at Facebook AI Research. See full list of project inside or built on MMF here.
MMF is powered by PyTorch, allows distributed training and is un-opinionated, scalable and fast. Use MMF to bootstrap for your next vision and language multimodal research project by following the installation instructions. Take a look at list of MMF features here.
MMF also acts as starter codebase for challenges around vision and language datasets (The Hateful Memes, TextVQA, TextCaps and VQA challenges). MMF was formerly known as Pythia. The next video shows an overview of how datasets and models work inside MMF. Checkout MMF's video overview.
Follow installation instructions in the documentation.
Learn more about MMF here.
If you use MMF in your work or use any models published in MMF, please cite:
@misc{singh2020mmf,
author = {Singh, Amanpreet and Goswami, Vedanuj and Natarajan, Vivek and Jiang, Yu and Chen, Xinlei and Shah, Meet and
Rohrbach, Marcus and Batra, Dhruv and Parikh, Devi},
title = {MMF: A multimodal framework for vision and language research},
howpublished = {\url{https://github.com/facebookresearch/mmf}},
year = {2020}
}
MMF is licensed under BSD license available in LICENSE file