Skip to content

Improve Training Loop for Autoencoder and Classifier Models #17

Description

@Ankitaghavate

The current train.py handles training for autoencoder, classifier partial, and classifier full models with masking, tensor reshaping, and validation after each epoch. The code is repetitive, uses hardcoded values, and relies on print statements for logging. It needs refactoring for modularity, consistent type hints, dynamic logging, better error handling, and cleaner saving of best models, making the training process more maintainable and robust.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions