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

Issues with test data loader #10

Open
preetom-saha-arko opened this issue Jun 30, 2023 · 1 comment
Open

Issues with test data loader #10

preetom-saha-arko opened this issue Jun 30, 2023 · 1 comment

Comments

@preetom-saha-arko
Copy link

preetom-saha-arko commented Jun 30, 2023

How to evaluate the model on test set? When I run the command "python train.py --resume {saved_model_path} --dataset XXX --test", I am getting "Keyerror : 0". This error generates from the getitem function of test data loader.

Moreover, phrase_out and word_split are getting returned from the getitem function but not getting used in test_epoch function (located in train.py). Then what's the point of returning these two?

@preetom-saha-arko
Copy link
Author

@nku-shengzheliu Can we have some chat regarding this issue? My email id: [email protected]

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

1 participant