Machine-Learning-Collection
Machine-Learning-Collection copied to clipboard
AttributeError: 'Batch' object has no attribute 'src'
https://github.com/aladdinpersson/Machine-Learning-Collection/blob/master/ML/Pytorch/more_advanced/Seq2Seq/seq2seq.py
inp_data = batch.src.to(device)
AttributeError: 'Batch' object has no attribute 'src'
I am using
]$ conda list | grep torchtext torchtext 0.9.1 pypi_0 pypi
How can i fix this issue in torchtext 0.9.1