transformers/examples/research_projects/visual_bert
2021-09-15 15:25:03 +02:00
..
demo.ipynb upgrade sentencepiece version (#13564) 2021-09-15 15:25:03 +02:00
extracting_data.py Add VisualBERT demo notebook (#12263) 2021-08-11 10:10:59 -04:00
modeling_frcnn.py Add VisualBERT demo notebook (#12263) 2021-08-11 10:10:59 -04:00
processing_image.py Add VisualBERT demo notebook (#12263) 2021-08-11 10:10:59 -04:00
README.md Add VisualBERT demo notebook (#12263) 2021-08-11 10:10:59 -04:00
requirements.txt Add VisualBERT demo notebook (#12263) 2021-08-11 10:10:59 -04:00
utils.py Add VisualBERT demo notebook (#12263) 2021-08-11 10:10:59 -04:00
visualizing_image.py Add VisualBERT demo notebook (#12263) 2021-08-11 10:10:59 -04:00

VisualBERT Demo

This demo shows usage of VisualBERT VQA model and is adapted from LXMERT demo present here.

  1. make a virtualenv: virtualenv venv and activate source venv/bin/activate
  2. install reqs: pip install -r ./requirements.txt
  3. usage is as shown in demo.ipynb