airsplay / lxmert

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

Is self.mode recommended for further debugging? #93

Closed yezhengli-Mr9 closed 3 years ago

yezhengli-Mr9 commented 3 years ago

self.mode for debug is not recommended for further debugging?

self.mode in src/lxrt/modeling.py is by default 'x' and I think other options (although 'x','l','r' are literally intuitive) but other options of returns on from line 1014-1017 is not that consistent.