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

Adding support for ExceptionHandling #292

Merged
merged 4 commits into from
Jul 6, 2024

Conversation

SpeedyGonzales949
Copy link
Contributor

Hi,

this PR adds support to log the Exceptions.

Advantages:

  • not relying solely on the logs from the terminal.

Please me let me know if you have any questions or possible improvements.

Also now that I am think, ExceptionWriter may be a better name for the class.

SpeedyGonzales949 and others added 4 commits July 2, 2024 15:42
Added ExceptionHandler class.
The purpose is to save the error traceback to the log_file.
Integrate ExceptionHandler Context Manager into the training pipeline.
@Gofinge
Copy link
Member

Gofinge commented Jul 6, 2024

Thank!! I rename it to ExceptionWriter.

@Gofinge Gofinge merged commit 7b37078 into Pointcept:main Jul 6, 2024
1 check passed
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