hugochan / RL-based-Graph2Seq-for-NQG

Code & data accompanying the ICLR 2020 paper "Reinforcement Learning Based Graph-to-Sequence Model for Natural Question Generation"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

loss data

huan-end opened this issue · comments

Hello, can you give me a copy of the output file corresponding to the running path after the main.py command?

I built this output folder myself. The corresponding files in it are empty. When it runs to load params.saved, an error occurs. The error is out of input, so I suspect it is because the file is empty.

@huan-end Thank you for your interest to our work! Are you trying to train a model or load a trained model for inference? If you train a model from scratch, the output files will be saved to the out_dir folder specified in a config file.

@huan-end the out_dir folder specified in config should not exist when you run main.py, instead the script will create the out_dir for you and save output files to the folder. Please see here to have a better understanding.

Not sure if this is the cause. It will be helpful if you can paste the error message here.