Added logging and error handling to run_ganblr.py and ganblr.py #47
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.
Overview:
This PR adds logging functionality and improves error handling in
run_ganblr.pyandganblr.py. The goal is to provide more transparency in the model training process and handle missing file errors gracefully.Changes:
run_ganblr.pyto track the training process and model generation steps.Why It Was Done:
The changes are aimed at making the process more transparent and making debugging easier. Logging ensures that we can track the flow of the script, and error handling prevents the script from failing without a clear message.
Testing:
The changes were tested by running the
run_ganblr.pyscript with both valid and invalid input files. The logging works as expected, and error messages are displayed when files are missing.Related Issues:
This PR addresses issue #45, which asked for improvements in logging and error handling for the GANBLR scripts.
Author Information: