Skip to content

Confusion about inconsistent training results with deepmdkit and dpgen #1259

Answered by njzjz
warriors1523 asked this question in Q&A
Discussion options

You must be logged in to vote

I check the two graph files you provide. They have different random seeds.

from deepmd.utils.convert import convert_pb_to_pbtxt
convert_pb_to_pbtxt("graph.pb", "graph.pbtxt")
grep seed graph.pbtxt 

dpgen:

        string_val: "{\"model\":{\"type_map\":[\"Li\",\"Nb\",\"O\"],\"descriptor\":{\"type\":\"se_e2_a\",\"sel\":[40,40,96],\"rcut_smth\":0.5,\"rcut\":7.0,\"neuron\":[25,50,100],\"resnet_dt\":false,\"axis_neuron\":12,\"seed\":84551992,\"activation_function\":\"tanh\",\"type_one_side\":false,\"precision\":\"default\",\"trainable\":true,\"exclude_types\":[],\"set_davg_zero\":false},\"fitting_net\":{\"neuron\":[240,240,240],\"resnet_dt\":true,\"seed\":3329491442,\"type\":\"ener\",\"numb_fpa…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@warriors1523
Comment options

@njzjz
Comment options

@warriors1523
Comment options

@njzjz
Comment options

Answer selected by warriors1523
@warriors1523
Comment options

@warriors1523
Comment options

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