Skip to content

Conversation

@tsgolden
Copy link

@tsgolden tsgolden commented Apr 8, 2024

Hi there! I ended up having issues running this in production against large numbers of bins in cases where IfcbBinDataset fails to parse the bin fileset. I'm still not quite sure why exactly it's failing (still need to investigate), but these occasional failures throw uncaught exceptions that cause the whole job to die, rather than just the bad bin. I fixed it for myself by adding a catch, and appending any errors to error_bins, a pattern I saw you using elsewhere. This has been running in production for us for several months and I haven't run into any other problems.

Hopefully this fix can be of use to others as well. Let me know if you have any questions or suggestions!

srstsavage added a commit to axiom-data-science/ifcb-classifier-wrapper that referenced this pull request May 26, 2024
Pin ifcb_classifier to commit 3b7f7de210438e1f3a7b451ed51ad6374099e8e9
so we don't get unexpected changes from upsteam.

Also change to using Trevor's method of catching and logging
IfcbBinDataset loading errors (better because it adds to
error_bins for display at the end of the run).

Waiting for his fix to be merged into upstream here:
WHOIGit/ifcb_classifier#10
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

Successfully merging this pull request may close these issues.

1 participant