RuntimeError: cannot reshape tensor of 0 elements into shape [0, -1] when training with PyTorch

Job ID: 35013952

Budget: $15 – $35 USD

Hi. I am having trouble using a deep learning model (transformer model on PyTorch) for my time series prediction task. The code keeps having the error.