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

Unable to resume training from check point with custom loss function in NBEATS #1758

Closed
AndresMR77 opened this issue May 11, 2023 · 0 comments · Fixed by #1759
Closed

Unable to resume training from check point with custom loss function in NBEATS #1758

AndresMR77 opened this issue May 11, 2023 · 0 comments · Fixed by #1759
Labels
bug Something isn't working

Comments

@AndresMR77
Copy link

Describe the bug

I am training an NBEATS model with a custom loss function defined by myself. I train the model (set save_checkpoints = True) for a certain amount of epochs and then I load it again (load_from_checkpoint) to continue training, but when I do so, the loss function switches to the default MSELoss instead of continuing with my custom loss.

System (please complete the following information):

  • Python version: [e.g. 3.7,13]
  • darts version [e.g. 0.22.0]
@AndresMR77 AndresMR77 added bug Something isn't working triage Issue waiting for triaging labels May 11, 2023
@madtoinou madtoinou removed the triage Issue waiting for triaging label May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants