-
Notifications
You must be signed in to change notification settings - Fork 84
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
--allfolds KeyError #60
Comments
I also encountered this error when I use --allfolds to train on a single types file 'train_all.types' with
|
You can skip the case where the key isn't in test_idxs. This is happening because the train and test set are the same so the train set isn't put in test_idxs.
|
Hello professor, it might still need some other codes modified when running
|
--allfolds still causes error:
so can I directly add : if key not in test_idxs: continue
|
I tried directly add : if key not in test_idxs: continue
it avoid the error. But I find the result |
even I follow the modifications, I find
|
when I use
--allfolds
flagThe text was updated successfully, but these errors were encountered: