pytorch / translate

Translate - a PyTorch Language Library
BSD 3-Clause "New" or "Revised" License
826 stars 192 forks source link

Syntax Error while running the training command #400

Open ashutoshsingh25 opened 5 years ago

ashutoshsingh25 commented 5 years ago

Hi @jmp84 While running the command bash pytorch_translate/examples/train_iwslt14.sh, an invalid syntax error is thrown. Any help on this would be appreciated. https://user-images.githubusercontent.com/40763103/54600117-1751d480-4a62-11e9-849b-914ff3d9587d.png

erip commented 5 years ago

Seems like you're using Python 3.5 or older. What Python version are you using? This syntax is only valid in 3.6+.