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

resume from checkpoint function is not working #355

Open
jo7ueb opened this issue Apr 24, 2024 · 1 comment
Open

resume from checkpoint function is not working #355

jo7ueb opened this issue Apr 24, 2024 · 1 comment

Comments

@jo7ueb
Copy link

jo7ueb commented Apr 24, 2024

Describe the bug

resume_from function is introduced in #31.
But now this function is not called by anybody, makes it not working.

Expected result

resume_from is called by generated code, allows to user to resume training from checkpoint.

Reproduction

  1. Generate code (in my case I used vision classification template)
  2. Watch around the generated code
  3. You'll find nobody callls resume_from, makes unable to resume from checkpoints.
@vfdev-5
Copy link
Member

vfdev-5 commented Apr 24, 2024

@jo7ueb resume_from is a helper method to resume the training. It is not used by default as we are not resuming a training but start from the beginning.

resume_from is called by generated code, allows to user to resume training from checkpoint.

How would you think it should be called in main.py::run method ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants