transformers/examples/research_projects/lxmert
Stas Bekman 88e84186e5
[style] consistent nn. and nn.functional: part 4 examples (#12156)
* consistent nn. and nn.functional: p4 examples

* restore
2021-06-14 12:28:24 -07:00
..
demo.ipynb Put back LXMert example (#9401) 2021-01-04 09:59:07 -05:00
extracting_data.py Put back LXMert example (#9401) 2021-01-04 09:59:07 -05:00
modeling_frcnn.py [style] consistent nn. and nn.functional: part 4 examples (#12156) 2021-06-14 12:28:24 -07: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 urllib3 from 1.25.8 to 1.26.5 in /examples/research_projects/lxmert (#11983) 2021-06-02 03:40:20 -04: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