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 export InputQuery in case of Error #482

Conversation

AleksandarZeljic
Copy link
Collaborator

This PR adds the following feature - when an unrecoverable error is encountered Marabou will output the failing input query. The feature is particularly useful when running Marabou in the Split and Conquer mode, where identical problem partitioning can be hard to reproduce on different architectures.

Changes in this PR:

  • add _sncMode, _sncSplit and _queryId members to the Engine class
  • add applySnCSplit method which sets the above mentioned field in the Engine class.
  • add prepareSnCInputQuery to append the _sncSplit to the input query

@AleksandarZeljic AleksandarZeljic merged commit 46add89 into NeuralNetworkVerification:master Oct 9, 2021
@AleksandarZeljic AleksandarZeljic deleted the exportIPQOnExit branch October 9, 2021 01:10
omriisack pushed a commit to omriisack/Marabou that referenced this pull request Feb 6, 2022
* Add SnC split to Engine, export InputQuery on error

* Update Error message with instructions
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.

2 participants