You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In line 221 of file .\models\modeling_showo.py, probably the shape of attention (L+1,L+1) instead of (1,1,L+1,L+1) mask is changed while iteration of generating new words. It can be fixed by adding codes like 'attention_mask = attention_mask_b.unsqueeze(0).unsqueeze(0)'.
The text was updated successfully, but these errors were encountered:
In line 221 of file .\models\modeling_showo.py, probably the shape of attention (L+1,L+1) instead of (1,1,L+1,L+1) mask is changed while iteration of generating new words. It can be fixed by adding codes like 'attention_mask = attention_mask_b.unsqueeze(0).unsqueeze(0)'.
The text was updated successfully, but these errors were encountered: