facebookresearch / mmf

A modular framework for vision & language multimodal research from Facebook AI Research (FAIR)
https://mmf.sh/
Other
5.5k stars 939 forks source link

Not able to build dataset for hateful memes #612

Closed SwatiTiwarii closed 4 years ago

SwatiTiwarii commented 4 years ago

❓ Questions and Help

Hi I am following steps present here : https://medium.com/pytorch/bootstrapping-a-multimodal-project-using-mmf-a-pytorch-powered-multimodal-framework-464f75164af7

I have setup a Linux subsystem inside windows . And I am able to download and convert dataset tempsnip

After that I am able to see datasets folder in following location /home/tswati/.cache/torch/mmf/data/datasets/hateful_memes/

But when I am trying to build dataset as suggested in tutorial , image I am facing above issue. is there some config change that needs to be done apart from steps mentioned in medium tutorial. Thanks in advance.

apsdehal commented 4 years ago

Hi, To run MMF in interactive mode you need to also run setup_imports Call this before running anything else:

from mmf.utils.env import setup_imports
setup_imports()
SwatiTiwarii commented 4 years ago

yes , running above statement worked. thanks .