microsoft / Oscar

Oscar and VinVL
MIT License
1.04k stars 252 forks source link

Question about errors related to past tensor in modeling_bert.py #178

Open vxzcorporation opened 2 years ago

vxzcorporation commented 2 years ago

Hi :) First of all I want to thank you about developing and sharing such a great works. I wish you the best!

I have a question about a part in modeling_bert.py. in line 725, we are getting assertion error due to different size matter.

What is past tensor and why are we getting the assertion error?

assertion error

thank you again!

linlin9527 commented 2 years ago

Hello, I wonder if you have solved this problem?