modeling_visual_bert in case of self.bypass_transformer=True
https://github.com/huggingface/transformers/blob/05fa1a7ac17bb7aa07b9e0c1e138ecb31a28bbfe/src/transformers/models/visual_bert/modeling_visual_bert.py#L830 The previous line should be changed from encoded_output --> encoder_outputs so that the return statement on line 861 works. Also, the following line https://github.com/huggingface/transformers/blob/05fa1a7ac17bb7aa07b9e0c1e138ecb31a28bbfe/src/transformers/models/visual_bert/modeling_visual_bert.py#L828  has an issue with indexing in dimension 2 (this will require more testing).



This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md) are likely to be ignored.