custom-training

Pytorch with CUDA throws RuntimeError when using pack_padded_sequence

Pytorch with CUDA throws RuntimeError when using pack_padded_sequence Question: I am trying to train a BiLSTM-CRF on detecting new NER entities with Pytorch. To do so, I am using a snippet of code derivated from the Pytorch Advanced tutorial. This snippet implements batch training. I followed the READ-ME in order to present data as required. …

Total answers: 2