Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training Model issue #16

Open
yzzupgo opened this issue Jan 3, 2023 · 2 comments
Open

Training Model issue #16

yzzupgo opened this issue Jan 3, 2023 · 2 comments

Comments

@yzzupgo
Copy link

yzzupgo commented Jan 3, 2023

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
Copy link
Owner

pkuzqh commented Jan 3, 2023

you can copy them from the docker

@yzzupgo
Copy link
Author

yzzupgo commented Jan 5, 2023

Thanks for your quick reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants