Skip to content

Conversation

@ErwanBeurienne
Copy link
Contributor

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:

  • 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

- 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
@davidpagnon
Copy link
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.

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