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
* support adaptive trust level
* update README
* fix bugs in readme
* adaptive lower trust level support percentage of total number of frames
Co-authored-by: Han Wang <wang_han@iapcm.ac.cn>
Copy file name to clipboardExpand all lines: README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -549,8 +549,13 @@ The bold notation of key (such aas **type_map**) means that it's a necessary key
549
549
| **model_devi_skip** | Integer | 0 | Number of structures skipped for fp in each MD
550
550
| **model_devi_f_trust_lo** | Float | 0.05 | Lower bound of forces for the selection.
551
551
| **model_devi_f_trust_hi** | Float | 0.15 | Upper bound of forces for the selection
552
-
|**model_devi_e_trust_lo**| Float | 1e10 | Lower bound of energies for the selection. Recommend to set them a high number, since forces provide more precise information. Special cases such as energy minimization may need this. |
553
-
|**model_devi_e_trust_hi**| Float | 1e10 | Upper bound of energies for the selection. |
552
+
|**model_devi_v_trust_lo**| Float | 1e10 | Lower bound of virial for the selection. Should be used with DeePMD-kit v2.x |
553
+
|**model_devi_v_trust_hi**| Float | 1e10 | Upper bound of virial for the selection. Should be used with DeePMD-kit v2.x |
554
+
| model_devi_adapt_trust_lo | Boolean | False | Adaptively determines the lower trust levels of force and virial. This option should be used together with `model_devi_numb_candi_f`, `model_devi_numb_candi_v` and optionally with `model_devi_perc_candi_f` and `model_devi_perc_candi_v`. `dpgen` will make two sets: 1. From the frames with force model deviation lower than `model_devi_f_trust_hi`, select `max(model_devi_numb_candi_f, model_devi_perc_candi_f*n_frames)` frames with largest force model deviation. 2. From the frames with virial model deviation lower than `model_devi_v_trust_hi`, select `max(model_devi_numb_candi_v, model_devi_perc_candi_v*n_frames)` frames with largest virial model deviation. The union of the two sets is made as candidate dataset|
555
+
| model_devi_numb_candi_f | Int | 10 | See `model_devi_adapt_trust_lo`.|
556
+
| model_devi_numb_candi_v | Int | 0 | See `model_devi_adapt_trust_lo`.|
557
+
| model_devi_perc_candi_f | Float | 0.0 | See `model_devi_adapt_trust_lo`.|
558
+
| model_devi_perc_candi_v | Float | 0.0 | See `model_devi_adapt_trust_lo`.|
554
559
|**model_devi_clean_traj**| Boolean | true | Deciding whether to clean traj folders in MD since they are too large. |
555
560
|**model_devi_nopbc**| Boolean | False | Assume open boundary condition in MD simulations. |
556
561
| model_devi_activation_func | List of list of string |[["tanh","tanh"],["tanh","gelu"],["gelu","tanh"],["gelu","gelu"]]| Set activation functions for models, length of the List should be the same as `numb_models`, and two elements in the list of string respectively assign activation functions to the embedding and fitting nets within each model. *Backward compatibility*: the orginal "List of String" format is still supported, where embedding and fitting nets of one model use the same activation function, and the length of the List should be the same as `numb_models`|
raiseRuntimeError('md traj %s frame %d with f devi %f does not belong to either accurate, candidiate and failed, it should not happen'% (tt, ii, all_conf[ii][4]))
raiseRuntimeError('md traj %s frame %d with f devi %f does not belong to either accurate, candidiate and failed, it should not happen'% (tt, ii, all_conf[ii][4]))
0 commit comments