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

Improved HDF5Logger Functionality #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jashshah999
Copy link

Summary

This PR enhances the HDF5Logger class with key improvements for better logging performance and usability.

Changes:

  1. Data Shape Validation: Ensures incoming data matches expected shapes, preventing runtime errors.
  2. Metadata Storage: Saves session metadata (e.g., data name, actions, observations) as attributes in the HDF5 file for better context.
  3. Error Handling: Improved error handling during logging and file operations for clearer feedback.
  4. Dynamic Dataset Creation: Allows for flexible logging of various data types without hardcoded definitions.
  5. Enhanced Visualization: Offers more customization options in the visualize_h5 method.

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.

1 participant