SivilTaram / Persona-Dialogue-Generation

The code of ACL 2020 paper "You Impress Me: Dialogue Generation via Mutual Persona Perception"
MIT License
309 stars 46 forks source link

Error running train_psquare.py #33

Closed VishruthR closed 1 year ago

VishruthR commented 3 years ago

When I try to run train_psquare.py I get: 'UnboundLocalError: local variable 'language_opt' referenced before assignment. The specific line this error occurs at is line 416 on psquare.py. I think this error is due to the fact that in psquare.py it looks for a file named 'transmitter_revised.model' in the 'tmp/transmitter' directory but in this directory, I only have 'transmitter_revised.model.dict.opt' and 'transmitter_revised.model.dict'. Is there any solution to this problem?

SivilTaram commented 3 years ago

@VishruthR Could you kindly check the installation of decencies?