You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deepmd/utils/argcheck.py
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -325,6 +325,7 @@ def descrpt_se_atten_args():
325
325
doc_precision=f"The precision of the embedding net parameters, supported options are {list_to_doc(PRECISION_DICT.keys())} Default follows the interface precision."
326
326
doc_trainable="If the parameters in the embedding net is trainable"
327
327
doc_seed="Random seed for parameter initialization"
328
+
doc_set_davg_zero="Set the normalization average to zero. This option should be set when `se_atten` descriptor or `atom_ener` in the energy fitting is used"
328
329
doc_exclude_types="The excluded pairs of types which have no interaction with each other. For example, `[[0, 1]]` means no interaction between type 0 and type 1."
329
330
doc_attn="The length of hidden vectors in attention layers"
@@ -972,7 +976,8 @@ def training_data_args(): # ! added by Ziyao: new specification style for data
972
976
- list: the length of which is the same as the {link_sys}. The batch size of each system is given by the elements of the list.\n\n\
973
977
- int: all {link_sys} use the same batch size.\n\n\
974
978
- string "auto": automatically determines the batch size so that the batch_size times the number of atoms in the system is no less than 32.\n\n\
975
-
- string "auto:N": automatically determines the batch size so that the batch_size times the number of atoms in the system is no less than N.'
979
+
- string "auto:N": automatically determines the batch size so that the batch_size times the number of atoms in the system is no less than N.\n\n\
980
+
- string "mixed:N": the batch data will be sampled from all systems and merged into a mixed system with the batch size N. Only support the se_atten descriptor.'
976
981
doc_auto_prob_style='Determine the probability of systems automatically. The method is assigned by this key and can be\n\n\
977
982
- "prob_uniform" : the probability all the systems are equal, namely 1.0/self.get_nsystems()\n\n\
978
983
- "prob_sys_size" : the probability of a system is proportional to the number of batches in the system\n\n\
0 commit comments