airsplay / lxmert

PyTorch code for EMNLP 2019 paper "LXMERT: Learning Cross-Modality Encoder Representations from Transformers".
MIT License
923 stars 157 forks source link

Relation between `lxrt.entry.LXRTEncoder` and `lxrt.modeling.LXRTEncoder`. #92

Closed yezhengli-Mr9 closed 3 years ago

yezhengli-Mr9 commented 3 years ago

What is the relation between lxrt.entry.LXRTEncoder and lxrt.modeling.LXRTEncoder?

I think lxrt.entry.LXRTEncoder is used more often in vqa_model.py and gqa_model.py.

yezhengli-Mr9 commented 3 years ago

What is the relation between lxrt.entry.LXRTEncoder and lxrt.modeling.LXRTEncoder?

I think lxrt.entry.LXRTEncoder is used more often in vqa_model.py and gqa_model.py.

It is VisualBertForLXRFeature in src/lxrt/entry.py as well as src.lxrt.modeling.LXRTFeatureExtraction that confuses me.

Yucheng-Han commented 3 years ago

It makes me confused for quite a long time, too...