transformers/examples/research_projects/lxmert
Lysandre Debut 7732d0fe7a
Upgrade black to version ~=22.0 (#15565)
* Upgrade black to version ~=22.0

* Check copies

* Fix code
2022-02-09 09:28:57 -05:00
..
demo.ipynb upgrade sentencepiece version (#13564) 2021-09-15 15:25:03 +02:00
extracting_data.py Put back LXMert example (#9401) 2021-01-04 09:59:07 -05:00
modeling_frcnn.py Upgrade black to version ~=22.0 (#15565) 2022-02-09 09:28:57 -05:00
processing_image.py [style] consistent nn. and nn.functional: part 4 examples (#12156) 2021-06-14 12:28:24 -07:00
README.md Put back LXMert example (#9401) 2021-01-04 09:59:07 -05:00
requirements.txt Bump numpy from 1.19.2 to 1.21.0 in /examples/research_projects/lxmert (#15369) 2022-01-27 14:46:15 -05:00
utils.py Replace legacy tensor.Tensor with torch.tensor/torch.empty (#12027) 2021-06-08 13:58:38 +01:00
visualizing_image.py Put back LXMert example (#9401) 2021-01-04 09:59:07 -05:00

LXMERT DEMO

  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