pkuzqh / Recoder

MIT License
52 stars 11 forks source link

Training Model issue #16

Open yzzupgo opened 1 year ago

yzzupgo commented 1 year ago

Hello! Thanks for open-sourcing the work! I am trying to train the model without the docker. However, I encounter the error shown in the figure. 6ceaf2624b4e6793be0bf250bffc88f The error is caused by line 151 of run.py. Specifically, the variable test_set is defined on line 150 of run.py, and the argument "test" is passed to SumDataset to initialize test_set. However, the third branch of the init function in the Dataset.py does not do anything, which causes self.data to be empty. Furthermore, could you provide the files of the test set and validation set (i.e., valdata.pkl, valnl.pkl, testdata.pkl, testnl.pkl, testcopy.pkl). Thank you for taking a look.

pkuzqh commented 1 year ago

you can copy them from the docker

yzzupgo commented 1 year ago

Thanks for your quick reply.