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.

Global settings [Prospective]

See original GitHub issue

🚀 Feature

The idea is to provide a global settings tool to help the configuration

ignite.settings["log_interval"] = 10
ignite.settings["with_pbar"] = True
ignite.settings["device"] = "cuda"

and

# Here device used from settings
metrics = {"accuracy": Accuracy(), "loss": Loss(criterion)}
evaluator = create_supervised_evaluator(model, metrics=metrics)

Parameters passed to method are used in priority

accuracy_on_cpu = Accuracy(device="cpu")

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
eripcommented, Apr 25, 2020

It might be nice to use hydra for this (https://hydra.cc). I have some experience with this and it makes things pretty easy.

1reaction
eripcommented, Apr 25, 2020

I’m happy to give it a try! Since it’s kind of involved, I’ll create a working example in a separate repo and link it here. We can discuss the API and any potential limitations here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Global Settings - YouTube
This video describes the options that are available in the global settings within the SentryOne client.
Read more >
Incidence of Respiratory Syncytial Virus Lower ... - PubMed
... Syncytial Virus Lower Respiratory Tract Infections During the First 2 Years of Life: A Prospective Study Across Diverse Global Settings.
Read more >
Global priorities for large-scale biomarker-based prospective ...
The focus of this paper is on strategic approaches for establishing population-based prospective cohorts that collect and store biological ...
Read more >
GP Online Services clinical system configuration - NHS Digital
... is updated to allow prospective (future) record access to patients. ... The organisation (global) settings must be updated manually by ...
Read more >
What is 'global surgery'? Defining the multidisciplinary ...
Future health policy and research in global surgery ... of smartphone-delivered data collection in a low-resource setting - A prospective study.
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