transformers/examples/research_projects/visual_bert
Arthur 673440d073
update ruff version (#30932)
* update ruff version

* fix research projects

* Empty

* Fix errors

---------

Co-authored-by: Lysandre <lysandre@huggingface.co>
2024-05-22 06:40:15 +02:00
..
README.md Updates the default branch from master to main (#16326) 2022-03-23 03:46:59 -04:00
demo.ipynb 🐛 Properly raise `RepoNotFoundError` when not authenticated (#17651) 2022-06-10 15:41:53 +02:00
extracting_data.py Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
modeling_frcnn.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
processing_image.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
requirements.txt Bump tqdm from 4.48.2 to 4.66.3 in /examples/research_projects/visual_bert (#30645) 2024-05-07 11:57:30 +01:00
utils.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
visualizing_image.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00

README.md

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