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

Add a method to retrieve last run results #9

Open
Neyri opened this issue Oct 4, 2021 · 0 comments
Open

Add a method to retrieve last run results #9

Neyri opened this issue Oct 4, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Neyri
Copy link
Member

Neyri commented Oct 4, 2021

It would be nice to be able to retrieve the consumption of the last training.
Maybe we could add a method to get this. I'm thinking of something like :

power_meter = PowerMeter(*args)
with power_meter(*args, **kwargs):
    # do_something

# This would be nice
co2_emission, energy_consumption = power_meter.get_last_log(columns=["Carbon emissions", "Energy consumption"])

Naming and arguments are open to discuss

@Neyri Neyri added the enhancement New feature or request label Oct 4, 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