transformers/examples/research_projects/lxmert
2021-09-15 15:25:03 +02: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 [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 notebook from 6.1.5 to 6.4.1 in /examples/research_projects/lxmert (#13226) 2021-08-24 09:52:39 -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