Training a model from an already built .pb file #389
Replies: 3 comments
-
Hello, The training init model is a way to train the model based on the model you have already trained, in which way it can save a lot of time of training. It will inherit the knowledge of old model and learn the knowledge of new data. Specifically speaking, init model will use the parameters of old model to initialize current model. So what you understand is pretty much close. But actually, you don't have to set 0 0 0 1 0 2 By this way, dpgen will start from the exploration step of the first iterations. But you should make sure that the directory structure is correct something like iter.000000/00.train/graph.00[0-3].pb . |
Beta Was this translation helpful? Give feedback.
-
Hello, Thanks a lot for your response. I think I managed to get how to make the dpgen run using an old model. Thanks a lot for your help. However, I still have few other questions though:
Thanks a lot for all your. Best, |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hello,
I have been trying to fine tune my dp model with some active learning iterations. I have a .pb file that was generate from a regular deepmd training (without dpgen). Now, I would want to use the same .pb file and train it with further MD runs in DPGEN for different operating conditions.
I was a bit confused with the documentation. What I understood is that I would have to set a path to my previous training meta-data files (which contain the model.ckpt* files) which would be my
"training_iter0_model_path"
and then I would have to set"training_init_model"
to betrue
. This would then use the weight and bias parameters as that of the model at"training_iter0_model_path"
which would be the first model for iter0. Is this correct?Another question, is there a way to bypass the
init_data_sys
part if I already have an initial model ready? With this I could save some time with running DFT-MD simulations.I hope to hear from you guys soon.
Thanks in advance.
Best
Siddarth
Beta Was this translation helpful? Give feedback.
All reactions