question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for setting Run name via Run.__init__

See original GitHub issue

🐛 Bug

When I set the run_hash manually I get:

Setting custom `Run.hash` value is deprecated! Consider setting `Run.name` instead. This functionality will be removed in version 3.15.

To reproduce

aim.Run(experiment="asd", run_hash="potato")

Expected behavior

The warning is clear per se, however the fix is not. It comes from here. The Run class doesn’t have a name property, nor a parameter to its __init__. Am I missing something?

Environment

  • Aim Version: v3.13.3
  • Python version: 3.9.7

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
alberttorosyancommented, Oct 4, 2022

Hey @vakker! Sorry for late response; somehow missed your last comment. I think something like this would be a good match: Add support for setting Run name via Run.__init__

1reaction
vakkercommented, Sep 22, 2022

Yeah, setting it after the init works. But then is it used anywhere? The Run class doesn’t seem to use the name property anywhere.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker run reference
network settings; runtime constraints on CPU and memory. With the docker run [OPTIONS] an operator can add to or override the image defaults...
Read more >
init/README.md
Lines which start with a # (leading whitespace allowed) are comments. System properties can be expanded using the syntax ${property.name} .
Read more >
Application Initialization <applicationInitialization>
Setup. To support application initialization on your Web server, you must install the Application Initialization role or feature. Windows Server ...
Read more >
Command: init | Terraform - HashiCorp Developer
The terraform init command initializes a working directory containing configuration files and installs plugins for required providers.
Read more >
Launch Experiments with wandb.init - Documentation
Call wandb.init() once at the beginning of your script to initialize a new job. This creates a new run in W&B and launches...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found