transformers/examples/research_projects/lxmert
David Yang a23819ed6a
Clean up deprecation warnings (#19654)
* Clean up deprecation warnings

Notes:
Changed some strings in tests to raw strings, which will change the literal content of the strings as they are fed into whatever machine handles them.
Test cases for past in the past/past_key_values switch changed/removed due to warning of impending removal

* Add PILImageResampling abstraction for PIL.Image.Resampling
2022-10-18 13:34:47 -04:00
..
demo.ipynb 🐛 Properly raise RepoNotFoundError when not authenticated (#17651) 2022-06-10 15:41:53 +02:00
extracting_data.py Put back LXMert example (#9401) 2021-01-04 09:59:07 -05:00
modeling_frcnn.py Black preview (#17217) 2022-05-12 16:25:55 -04:00
processing_image.py Clean up deprecation warnings (#19654) 2022-10-18 13:34:47 -04:00
README.md Put back LXMert example (#9401) 2021-01-04 09:59:07 -05:00
requirements.txt Bump joblib from 0.16.0 to 1.2.0 in /examples/research_projects/lxmert (#19268) 2022-10-03 23:49:35 +02:00
utils.py Black preview (#17217) 2022-05-12 16:25:55 -04: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