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.

Support options to compare in CheckpointHander

See original GitHub issue

🚀 Feature

Hi @vfdev-5 ,

In current ignite CheckpointHander, it compares priority(may be metrics) > previous priority and save models: https://github.com/pytorch/ignite/blob/master/ignite/handlers/checkpoint.py#L357 But we received several requests to customize this compare logic, is it possible to make options for it?

Thanks.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Nic-Macommented, Feb 1, 2021

Hi @vfdev-5 and @sdesrozis ,

I tried to re-think this feature again, actually, we should do complicated comparing logic in customized score_function, and you guys already passed engine to this API. So only need to add the option to support “greater_or_equal” instead of only “greater”, I submitted PR https://github.com/pytorch/ignite/pull/1597 for it.

Thanks.

1reaction
Nic-Macommented, Jan 31, 2021

@vfdev-5 @sdesrozis , thanks for your support here. Sure, I can try to make a PR next week if you guys are busy with other development tasks.

Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Method: settings.datasources.list | Cloud Search API
Call this method on live data and see the result. Experiment with authorization and field settings. For help, check the APIs Explorer documentation....
Read more >
Library API - Gromacs
Parallelization options for analysis data objects. ... Abstract base class for help topics that have simple text and no ... file, checkpointhandler.h.
Read more >
0.5.1 - GitHub
High-level library to help with training and evaluating neural networks in PyTorch flexibly and transparently. - 0.5.1 · pytorch/ignite.
Read more >
Checkpoint system using a list with objects. c# in unity
Hi. So im trying to make a checkpoint system that when you die you respawn at the latest checkpoint. Im using one script...
Read more >
ExtremeConnect Security Configuration
Module Configuration. Configuration Options, Description. Server, IP address of the iBoss appliance. Port, iBoss web service ...
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