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

Easy self.log() and other QoL improvements such as sane defaults for module_interface #71

Open
jsleep opened this issue Oct 22, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jsleep
Copy link
Contributor

jsleep commented Oct 22, 2021

With Python 3.10 pattern matching released, we can very easily implement ModuelInterface.log() method which can take the following combinations of arguments:

ModuleInterface.log(msg:str) -> log message to loggers (stdout)

ModuleInterace.log(key:str, value:float) -> log metric to metric logger (azureml, tensorboard, stdout) as well as keeping track in pymarlin trainer to potentially use for Early Stopping and Best checkpointing

Other sane defaults may include, moving tensors to device automatically, base implementation of train/val step, etc

@jsleep jsleep added the enhancement New feature or request label Oct 22, 2021
@jsleep jsleep self-assigned this Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant