Add continue_on_error option for batch processing resilience#216
Open
ErwanBeurienne wants to merge 1 commit intoperfanalytics:mainfrom
Open
Add continue_on_error option for batch processing resilience#216ErwanBeurienne wants to merge 1 commit intoperfanalytics:mainfrom
ErwanBeurienne wants to merge 1 commit intoperfanalytics:mainfrom
Conversation
- Introduce `continue_on_error` parameter to skip failing trials and log exceptions - Wrap major processing steps in try-catch blocks with configurable error handling - Ensure pipeline continues execution unless critical failure occurs
Collaborator
|
Might be useful, but I'm wondering: in which cases do you want to continue when an error happens? For example, why would you go on to filtering when triangulation fails? Also, if we decide to do it, please add the option in the other Config files, too. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a continue_on_error parameter in Config.toml to skip failing trials and log exceptions instead of halting execution. Major processing steps (poseEstimation, synchronization, personAssociation, triangulation, filtering, markerAugmentation, kinematics) are wrapped in try-catch blocks. If enabled, the pipeline continues unless a critical failure occurs. Errors are logged with trial details for debugging.
Key changes:
continue_on_errorparameter to skip failing trials and log exceptions