Open
Description
When I get an error when I train the ST model, I found that the last batch in epoch 1 reported this error, how can I fix it?
fairseq/modules/sinusoidal_positional_embedding.py", line 121, in forward
weights.index_select(0, positions.view(-1)).view(bsz, seq_len, -1).detach()
RuntimeError: cannot reshape tensor of 0 elements into shape [2, 0, -1] because the unspecified dimension size -1 can be any value and is ambiguous
UserWarning: resource_tracker: There appear to be 59 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
Metadata
Metadata
Assignees
Labels
No labels