Closed CarinaXZZ closed 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
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...
Fields
object...
Building & saving training data...
Warning. The corpus /home/zx16649/data2text/data2text-plan-py/boxscore-data/rotowire/src_train.txt is larger than 10M bytes, you can set '-max_shard_size' to process it by small shards to use less memory.
('average src size', 606, 3371)You need to create the folder /home/zx16649/data2text/data2text-plan-py/boxscore-data/preprocess
it works, thanks
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.