Pretraining #235
-
Hello! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 22 replies
-
Hi @IHumonen , This is definitely possible, and is one of the main uses of the nequip/nequip/model/_weight_init.py Line 13 in b62c4f4 Basically:
|
Beta Was this translation helpful? Give feedback.
-
@Linux-cpp-lisp "Be careful not to change any model hyperparameters in the finetuning YAML that would affect the meaning of the weights." I wanted to ask you specifically for the radius which is obviously extremely important (here I am retraining nequip). Do you think it's safe to change radius as a hyperparameter? |
Beta Was this translation helpful? Give feedback.
-
Any suggestions to solve |
Beta Was this translation helpful? Give feedback.
Hi @IHumonen ,
This is definitely possible, and is one of the main uses of the
initialize_from_state
model builder (see docstringnequip/nequip/model/_weight_init.py
Line 13 in b62c4f4
Basically:
initialize_from_state
model builder to the end of yourmodel_builders
listinitial_model_state
key to your config and set it to the path to a state dict of saved weights from which…