Closed liudonglei closed 5 years ago
I use torchtext of version 0.2.3 and get this issue:
File "/home/dm/ldl/transformer-pytorch/dataset/translation.py", line 173, in prepare pad_token=pad, lower=True, eos_token='') TypeError: init() got an unexpected keyword argument 'is_target'
maybe the different version cause it.
Thanks for the report! I'm using torchtext 0.3.1. I updated the version in requirements.txt.
thanks for the information.
I use torchtext of version 0.2.3 and get this issue:
File "/home/dm/ldl/transformer-pytorch/dataset/translation.py", line 173, in prepare pad_token=pad, lower=True, eos_token='')
TypeError: init() got an unexpected keyword argument 'is_target'
maybe the different version cause it.