Skip to content

Starts a new training from last model with changing training parameters. #205

Answered by Linux-cpp-lisp
ssrokyz asked this question in Q&A
Discussion options

You must be logged in to vote

hi @ssrokyz ,

the easiest way to go about this is to do two trainings: one with early_stopping_lower_bounds, and then a second with a fixed learning rate that starts from the state of the first.

For the second training, you want to duplicate the config of your first one but to change:

  1. remove the LR early stopping condition
  2. remove the LR scheduler
  3. set the LR to the low LR you want to stay on
  4. add the following:
model_builders:
- SimpleIrrepsConfig
- EnergyModel
- PerSpeciesRescale
- ForceOutput
- RescaleEnergyEtc
- initialize_from_state

initial_model_state: /my/previous/early-stopped/training/run/last_model.pth

The model_builders given are the default model builders, with the addition of i…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ssrokyz
Comment options

@CalvinGe
Comment options

Answer selected by ssrokyz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants