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

Call basic methods on hparams in a query #3223

Open
Engrammae opened this issue Sep 18, 2024 · 0 comments
Open

Call basic methods on hparams in a query #3223

Engrammae opened this issue Sep 18, 2024 · 0 comments
Labels
type / enhancement Issue type: new feature or request

Comments

@Engrammae
Copy link

🚀 Feature : Call basic methods on hparams in a query ?

Having tracked runs with aim I can query runs with a term like the following:

( run.experiment == "AE_noisy" or run_experiment == "AE_smoothed" ) 

This can be shortened to: run.experiment.startwith("AE_")
The same option for tracked hyperparameters, could be really usefull. So instead of having to run:

( run.hparams.optimizer == "ADAM or run.hparams.optimizer == "RADAM" )

I'd wish to run

run.hparams.optimizer.endswith("ADAM")

Currently this results in the error query failed, 'Undefined' object is not callable

Motivation

This would allow more flexible and shorter queries (especially when there are a lot of suffixes). Happy to hear any feedback whether this could be possible or is out of scope. Cheers!

@Engrammae Engrammae added the type / enhancement Issue type: new feature or request label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type / enhancement Issue type: new feature or request
Projects
None yet
Development

No branches or pull requests

1 participant