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

add try-except for KeyError in eval_sca.eval_one #50

Open
martino-vic opened this issue May 17, 2023 · 0 comments
Open

add try-except for KeyError in eval_sca.eval_one #50

martino-vic opened this issue May 17, 2023 · 0 comments

Comments

@martino-vic
Copy link
Collaborator

If crossvalidation causes that a sound is not in scdict AND it can't be caught through the heuristics (e.g. 'ʊ͡ə'), adapt throws a keyerror. This causes eval_one to stop when eval_one calls adapt. Instead append "False" to the results and continue the loop.

martino-vic pushed a commit that referenced this issue May 17, 2023
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