-
Notifications
You must be signed in to change notification settings - Fork 186
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
max_db_size
throws when size reached
#264
Comments
I wrapped it in a simple exception handler, seems to work, will submit a pr |
You closed this issue, pr not accepted, no comment. Has the issue been fixed? |
There is no issue here ; the script fails when the limit is not high enough... Do not see why a exception handling would help ; the data will be corrupted and incomplete. |
Huh. Yeah, if the intended behaviour is no database write, then there is no issue. I assumed the point of the flag is to produce a usable database with size less than After |
Yes I see ; but here the point is to access the |
For me it was useful to be able to produce a database under a certain size. I am not sure what the usefulness is of processing a bunch of data and then not writing anything to disk. To your point about exceptions, this would just be an example of using exceptions for control flow. Just because |
Hi,
I specified
--max_db_size=5
, expecting to output a small, test dataset with the specified size.Instead, the script crashed when the size was reached
and no
metadata.yaml
was written. Then train wouldn't run becauseThe text was updated successfully, but these errors were encountered: