ratishsp / data2text-plan-py

Code for AAAI 2019 paper on Data-to-Text Generation with Content Selection and Planning
163 stars 46 forks source link

Version of Python and libraies #1

Closed CarinaXZZ closed 5 years ago

CarinaXZZ commented 5 years ago

Hi, Thanks for the code and the paper. For the preprocess.py, it has a FileNotFoundError for 'roto.train.1.pt' occurs in line 113(torch.save(dataset,pt_file). Could you please help me take a look at this? Thanks.

ratishsp commented 5 years ago

Python version is 2.7 and Pytorch version is 0.3.1 Once you run preprocess.py, it will generate the .pt files. The process is similar to training a model on OpenNMT-py

CarinaXZZ commented 5 years ago

yes, i think used the same version with you.. but it failed to generate the .pt files. The error is listed as follow:

Extracting features...

ratishsp commented 5 years ago

You need to create the folder /home/zx16649/data2text/data2text-plan-py/boxscore-data/preprocess

CarinaXZZ commented 5 years ago

it works, thanks