transformers/examples/research_projects/visual_bert
Gunjan Chhablani c71f73f438
Add VisualBERT demo notebook (#12263)
* Initialize VisualBERT demo

* Update demo

* Add commented URL

* Update README

* Update README
2021-08-11 10:10:59 -04:00
..
demo.ipynb Add VisualBERT demo notebook (#12263) 2021-08-11 10:10:59 -04: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