How to resume learning?

Open
#2,569 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
python, pytorch

Research direction

The issue mentions checkpoint_path and wb_logger.save but names no repository files or tests. Start by locating documentation or examples covering checkpoint loading and Weights & Biases logging; done means documenting a clear, verified procedure for resuming training after an interruption.

Written by the indexing model from the issue text.

Description

question

❓ Questions/Help/Support

Hi, support teams.
This is my first time asking a question.
I believe the following code will load the checkpoints.

===================================================
checkpoint_path = "/tmp/cycle_gan_checkpoints/checkpoint_26500.pt"

    # let's save this checkpoint to W&B
    if wb_logger is not None:
        wb_logger.save(checkpoint_path)

===================================================

If the learning process takes a long time, there will be interruptions along the way.
In such a case, what code can I use to resume learning?
We look forward to hearing from you. Regards.

Dominant language
Python
Stars
4.8k
Forks
726
Avg merge
5d 21h
Merged PRs (30d)
5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pytorch/ignite

All issues in pytorch/ignite

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.