transformers/examples/research_projects/visual_bert
David Yang a23819ed6a
Clean up deprecation warnings (#19654)
* Clean up deprecation warnings

Notes:
Changed some strings in tests to raw strings, which will change the literal content of the strings as they are fed into whatever machine handles them.
Test cases for past in the past/past_key_values switch changed/removed due to warning of impending removal

* Add PILImageResampling abstraction for PIL.Image.Resampling
2022-10-18 13:34:47 -04:00
..
demo.ipynb 🐛 Properly raise RepoNotFoundError when not authenticated (#17651) 2022-06-10 15:41:53 +02:00
extracting_data.py Add VisualBERT demo notebook (#12263) 2021-08-11 10:10:59 -04:00
modeling_frcnn.py Black preview (#17217) 2022-05-12 16:25:55 -04:00
processing_image.py Clean up deprecation warnings (#19654) 2022-10-18 13:34:47 -04:00
README.md Updates the default branch from master to main (#16326) 2022-03-23 03:46:59 -04:00
requirements.txt Bump joblib in /examples/research_projects/visual_bert (#19269) 2022-10-03 23:57:50 +02:00
utils.py Black preview (#17217) 2022-05-12 16:25:55 -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