-
Notifications
You must be signed in to change notification settings - Fork 182
fix bug for sys_idx dependent trust level and add option for model_devi_job #786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
f1d5bda
Merge branch 'devel' of github.com:deepmodeling/dpgen into devel
Cloudac7 9e8d68f
adapt different trust level for different sys_configs
Cloudac7 8a7ac47
Merge branch 'devel' of github.com:deepmodeling/dpgen into jump
Cloudac7 46d51b4
fix #746; add iter dependent trust level
Cloudac7 4a597bb
add document for #786
Cloudac7 973e00f
some fix accroding to review
Cloudac7 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
{ | ||
"type_map": ["Mg", "Al"], | ||
"mass_map": [24, 27], | ||
|
||
"init_data_prefix": "data", | ||
"init_data_sys": ["deepmd" | ||
], | ||
"init_batch_size": [16], | ||
"sys_configs": [ | ||
["data/mg.fcc.02x02x02/01.scale_pert/sys-0032/scale*/000000/POSCAR"], | ||
["data/mg.fcc.02x02x02/01.scale_pert/sys-0032/scale*/000001/POSCAR"] | ||
], | ||
"_comment": "0 1 2 3", | ||
"_comment": "4 5 6 7", | ||
"sys_batch_size": [1, 1 | ||
], | ||
|
||
"_comment": " 00.train ", | ||
"numb_models": 4, | ||
"train_param": "input.json", | ||
"default_training_param" : { | ||
"_comment": " model parameters", | ||
"use_smooth": true, | ||
"sel_a": [90], | ||
"rcut_smth": 2.00, | ||
"rcut": 6.00, | ||
"filter_neuron": [25, 50, 100], | ||
"filter_resnet_dt": false, | ||
"n_axis_neuron": 12, | ||
"n_neuron": [240, 240, 240], | ||
"resnet_dt": true, | ||
"coord_norm": true, | ||
"type_fitting_net": false, | ||
|
||
"_comment": " traing controls", | ||
"systems": [], | ||
"set_prefix": "set", | ||
"stop_batch": 400000, | ||
"batch_size": 1, | ||
"start_lr": 0.002, | ||
"decay_steps": 2000, | ||
"decay_rate": 0.95, | ||
"seed": 0, | ||
|
||
"start_pref_e": 0.02, | ||
"limit_pref_e": 2, | ||
"start_pref_f": 1000, | ||
"limit_pref_f": 1, | ||
"start_pref_v": 0.0, | ||
"limit_pref_v": 0.0, | ||
|
||
"_comment": " display and restart", | ||
"_comment": " frequencies counted in batch", | ||
"disp_file": "lcurve.out", | ||
"disp_freq": 2000, | ||
"numb_test": 10, | ||
"save_freq": 20000, | ||
"save_ckpt": "model.ckpt", | ||
"load_ckpt": "model.ckpt", | ||
"disp_training": true, | ||
"time_training": true, | ||
"profiling": false, | ||
"profiling_file": "timeline.json", | ||
|
||
"_comment": "that's all" | ||
}, | ||
|
||
"_comment": " 01.model_devi ", | ||
"_comment": "model_devi_skip: the first x of the recorded frames", | ||
"model_devi_dt": 0.002, | ||
"model_devi_skip": 0, | ||
"model_devi_f_trust_lo": [0.000, 0.050], | ||
"model_devi_f_trust_hi": {"1": 0.100, "0": 0.150}, | ||
"model_devi_e_trust_lo": 1e10, | ||
"model_devi_e_trust_hi": 1e10, | ||
"model_devi_clean_traj": false, | ||
"model_devi_jobs": [ | ||
{"sys_idx": [0, 1], "temps": [50,100], "press": [1.0,2.0], "trj_freq": 10, "nsteps": 1000, "ensemble": "npt", "_idx": "00"} | ||
], | ||
|
||
"_comment": " 02.fp ", | ||
"fp_style": "vasp", | ||
"shuffle_poscar": false, | ||
"fp_task_max": 100, | ||
"fp_task_min": 10, | ||
"fp_pp_path": ".", | ||
"fp_pp_files": ["vasp/potcars/POTCAR.mg", "vasp/potcars/POTCAR.al"], | ||
"_comment": " user provided vasp script ", | ||
"user_fp_params": { | ||
"PREC": "A", | ||
"ENCUT": 600, | ||
"ISYM": 0, | ||
"ALGO": "fast", | ||
"EDIFF": 1e-05, | ||
"LREAL": "A", | ||
"NPAR": 1, | ||
"KPAR": 1, | ||
"NELMIN": 4, | ||
"ISIF": 2, | ||
"ISMEAR": 1, | ||
"SIGMA": 0.25, | ||
"IBRION": -1, | ||
"NSW": 0, | ||
"LWAVE": false, | ||
"LCHARG": false, | ||
"PSTRESS": 0, | ||
"KSPACING": 0.16, | ||
"KGAMMA": false | ||
}, | ||
"_comment": " that's all " | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.