Skip to content

Conversation

@engr-adnan
Copy link
Collaborator

Overview:

This PR adds logging functionality and improves error handling in run_ganblr.py and ganblr.py. The goal is to provide more transparency in the model training process and handle missing file errors gracefully.

Changes:

  • Added logging to run_ganblr.py to track the training process and model generation steps.
  • Implemented error handling to check if the required files (e.g., dataset, preprocessed data) exist before running the script.
  • Enhanced log messages to provide detailed insights during script execution.

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.py script 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:

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