transformers/examples/research_projects/movement-pruning/lxmert
Sylvain Gugger 783d7d2629
Reorganize examples (#9010)
* Reorganize example folder

* Continue reorganization

* Change requirements for tests

* Final cleanup

* Finish regroup with tests all passing

* Copyright

* Requirements and readme

* Make a full link for the documentation

* Address review comments

* Apply suggestions from code review

Co-authored-by: Lysandre Debut <lysandre@huggingface.co>

* Add symlink

* Reorg again

* Apply suggestions from code review

Co-authored-by: Thomas Wolf <thomwolf@users.noreply.github.com>

* Adapt title

* Update to new strucutre

* Remove test

* Update READMEs

Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
Co-authored-by: Thomas Wolf <thomwolf@users.noreply.github.com>
2020-12-11 10:07:02 -05:00
..
demo.ipynb Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
extracting_data.py Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
modeling_frcnn.py Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
processing_image.py Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
README.md Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
requirements.txt Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
utils.py Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
visualizing_image.py Reorganize examples (#9010) 2020-12-11 10:07:02 -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