[bug] raise when real dataset has not enough examples in evaluation#32
[bug] raise when real dataset has not enough examples in evaluation#32anth2o wants to merge 1 commit intogoogle:masterfrom
Conversation
|
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
|
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
|
Thanks a lot. |
|
tf.errors.OutOfRangeError needs 'node_def', 'op', and 'message' to be raised, so I decided to raise a custom Exception which was more explicit. But if you prefer, I can raise the original exception. |
This PR fixes a bug in the evaluation. If the real dataset has not enough samples in the test set, an exception is raised.