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
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 '
The text was updated successfully, but these errors were encountered:
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 '
The text was updated successfully, but these errors were encountered: