transformers/examples/research_projects/visual_bert
Simon Brandeis c99ddcc441
🐛 Properly raise RepoNotFoundError when not authenticated (#17651)
* Raise RepoNotFoundError in case of 401

* Include changes from revert-17646-skip_repo_not_found

* Add a comment

* 💄 Code quality

* 💚 Update `get_from_cache` test

* 💚 Code quality & skip failing test
2022-06-10 15:41:53 +02: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 Add VisualBERT demo notebook (#12263) 2021-08-11 10:10:59 -04:00
README.md Updates the default branch from master to main (#16326) 2022-03-23 03:46:59 -04:00
requirements.txt Bump notebook in /examples/research_projects/visual_bert (#16635) 2022-05-04 08:27:27 -04: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