threelittlemonkeys / lstm-crf-pytorch

LSTM-CRF in PyTorch
459 stars 101 forks source link

for x, y in enumerate(data): #2

Closed liu-nlper closed 6 years ago

liu-nlper commented 6 years ago

https://github.com/threelittlemonkeys/lstm-crf-pytorch/blob/8993f8e6ba53a82bcbd0a4bf762827884a43f63f/train.py#L49 hi, the code should be "for i, (x, y) in enumerate(data):"

threelittlemonkeys commented 6 years ago

Thank you for the correction! :D