CSWinTT icon indicating copy to clipboard operation
CSWinTT copied to clipboard

IndexError in 'relative_position_bias'

Open Xrenya opened this issue 2 years ago • 0 comments

During the training, I am getting this error, but if it is inference then there is no problem.

lib/models/cswintt/transformer_cs.py", line 85, in get_relative_position
    relative_position_bias = rel_bias_table[rel_index.view(-1)].view(self.L_all // window_size // window_size,
IndexError: index 976 is out of bounds for dimension 0 with size 973

Xrenya avatar Jun 09 '22 07:06 Xrenya