CSWinTT
CSWinTT copied to clipboard
IndexError in 'relative_position_bias'
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