SivilTaram / Persona-Dialogue-Generation

The code of ACL 2020 paper "You Impress Me: Dialogue Generation via Mutual Persona Perception"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

psquare model is not saved after running `train_psquare.py`

OneDirection9 opened this issue · comments

Hi,
great work and thanks for sharing.

When I run train_transmitter.py, train_receiver_model.py, and train_psquare.py step by step. I can get the transmitter and receiver model, except the psquare model. I go through the code and can't fix it by myself. Can you help?

Thanks.

commented

@OneDirection9
Hi, thanks for your interests on our work. Please check if there is any output log matching the pattern Save model at, and you could find the psqure model checkpoint there.

Hi @SivilTaram ,

Thanks for your reply.
The default save directory is tmp, I can find the transmitter and receiver model under there. But in the psquare folder, there is only a tensorboard folder.

commented

@OneDirection9 Hi, thanks for your feedback! Since I just checked evaluation scripts carefully before releasing the code (the model weights are the ones saved before submitting the paper to ACL), so it is possible that the current code is not totally compatible with the provided ParlAI version. And I will try to reproduce the result as soon as possible and get back here in 2 days. Please stay tuned ☕

commented

@OneDirection9 Hi~ Many thanks for your feedback. Yeah it is indeed an issue for our code (sorry for that). And it could work well now, and pls have a try ☕