ywk991112 / pytorch-chatbot

Pytorch seq2seq chatbot
394 stars 125 forks source link

I get an error #4

Closed lusongcn closed 6 years ago

lusongcn commented 6 years ago

File "main.py", line 40 args.reverse, args.filter, args.iteration, args.print, args.save, args.learning_rate, \ ^ SyntaxError: invalid syntax

How should I solve it

lusongcn commented 6 years ago

I have encountered some problems and methods to solve compatibility problems. Pytorch seq2seq聊天机器人(pytorch-chatbot)

ywk991112 commented 6 years ago

You have the same issue as #2 . Run the code with python3 instead of python2 may help.