RuntimeError: shape '[-1, 0]' is invalid for input of size 881
#3
by
Maverick17
- opened
Hello,
when I try to run the code you have provided, then I get the following error:
position_ids = position_ids.view(-1, seq_length).long()
RuntimeError: shape '[-1, 0]' is invalid for input of size 881