luofuli / DualRL

A Dual Reinforcement Learning Framework for Unsupervised Text Style Transfer (IJCAI 2019)

Home Page:https://export.arxiv.org/pdf/1905.10060

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nmt/model.py

SuHe36 opened this issue · comments

when I run this project, there is an error in nmt/model.py line 115:
NameError: name "maximum_" is not defined.

I change it to be:
maximum_iterations = self.params.get("maximum_iterations",100)
it success run.
I think you delete it by mistake...

Thank you very much~ I have updated the code~