code-generator icon indicating copy to clipboard operation
code-generator copied to clipboard

resume from checkpoint function is not working

Open jo7ueb opened this issue 1 year ago • 1 comments

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.

jo7ueb avatar Apr 24 '24 09:04 jo7ueb

@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 ?

vfdev-5 avatar Apr 24 '24 10:04 vfdev-5