The model’s training accuracy is 0. What should I do? #1871
Replies: 1 comment 111 replies
-
|
Hi @li-shining! I'm Dosu and I’m helping the dpgen team. Zero training accuracy typically indicates a data or type_map configuration issue rather than a model parameter problem. Here are the most likely causes and how to fix them: Most Likely Causes:
For Constructing Your Bi-Mo-O + O₂ Adsorption Dataset: Create three separate AIMD datasets:
Additional tips:
Immediate Steps:
Your other parameters (sel, loss function, descriptor) look reasonable and are unlikely to cause zero accuracy. To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
My system is ɑ–Bi₂Mo₃O₁₂, a metal oxide. My current initial dataset consists of AIMD data at 1100 K and 725 K, including the bulk, surface and oxygen vacancies. Although the dataset is not yet complete, surely the model’s accuracy cannot be zero. Could it be that my parameter settings are incorrect? If I wish to train a Bi-Mo-O machine learning force field (which also includes the adsorption of oxygen molecules), how should I construct the corresponding initial dataset?
This is my param.json:
{
"type_map": ["O","Mo","Bi"],
"mass_map": [16,96,209],
"init_data_prefix": "/home/jmhan/gdata/DPGen/AN/DFT/PBE_D3/dataset",
"init_data_sys": ["bulk/725/training_data",
"bulk/1100/training_data",
"surface/surface_0/training_data",
"surface/surface_0.5/training_data",
"OV/ov1/training_data",
"OV/ov12/training_data",
"OV/ov5/training_data",
"OV/ov9/training_data"],
"seed":12345,
"lmp_cmd": "lmp -var seed 12345",
"init_batch_size": [1,1,1,1,1,1,1,1],
"sys_configs_prefix": "/home/jmhan/gdata/DPGen/AN/DFT/PBE_D3/dataset",
"sys_configs": [
["bulk/1100/extracted_poscars/POSCAR_",
"bulk/725/extracted_poscars/POSCAR_"],
["surface/surface_0/1100/extracted_poscars/POSCAR_",
"surface/surface_0/725/extracted_poscars/POSCAR_"],
["surface/surface_0.5/1100/extracted_poscars/POSCAR_",
"surface/surface_0.5/725/extracted_poscars/POSCAR_"],
["OV/ov1/1100/extracted_poscars/POSCAR_",
"OV/ov1/725/extracted_poscars/POSCAR_"],
["OV/ov12/1100/extracted_poscars/POSCAR_",
"OV/ov12/725/extracted_poscars/POSCAR_"],
["OV/ov5/1100/extracted_poscars/POSCAR_",
"OV/ov5/725/extracted_poscars/POSCAR_"],
["OV/ov9/1100/extracted_poscars/POSCAR_",
"OV/ov9/725/extracted_poscars/POSCAR_"]
],
"sys_batch_size": [1,1,1,1,1,1,1],
"_comment": " that's all ",
"numb_models": 4,
"train_backend":"pytorch",
"default_training_param": {
"model": {
"type_map": ["O","Mo","Bi"],
"descriptor": {
"type": "se_e2_a",
"sel": [34,10,8],
"rcut_smth": 0.5,
"rcut": 5.0,
"neuron": [25,50,100],
"resnet_dt": true,
"axis_neuron": 12,
"seed": 12345
},
"fitting_net": {
"neuron": [240,240,240],
"resnet_dt": false,
"seed": 12345
}
},
"learning_rate": {
"type": "exp",
"start_lr": 0.001,
"stop_lr": 1e-8,
"decay_steps": 5000
},
"loss": {
"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
},
"training": {
"seed":12345,
"stop_batch": 60000,
"disp_file": "lcurve.out",
"disp_freq": 1000,
"numb_test": 20,
"save_freq": 1000,
"save_ckpt": "model.ckpt",
"disp_training": true,
"time_training": true,
"profiling": false,
"profiling_file": "timeline.json",
"_comment": "that's all"
}
},
"model_devi_dt": 0.002,
"model_devi_skip": 0,
"model_devi_f_trust_lo": [0.06,0.08,0.08,0.10,0.10,0.10,0.10],
"model_devi_f_trust_hi": [0.18,0.25,0.25,0.30,0.30,0.30,0.30],
"model_devi_clean_traj": false,
"model_devi_jobs": [
{"sys_idx": [0],"temps": [725],"trj_freq": 10,"nsteps": 400,"ensemble": "nvt","_idx": "00"},
{"sys_idx": [1],"temps": [725],"trj_freq": 10,"nsteps": 600,"ensemble": "nvt","_idx": "01"},
{"sys_idx": [2],"temps": [725],"trj_freq": 10,"nsteps": 600,"ensemble": "nvt","_idx": "02"},
{"sys_idx": [3],"temps": [725],"trj_freq": 10,"nsteps": 600,"ensemble": "nvt","_idx": "03"},
{"sys_idx": [4],"temps": [725],"trj_freq": 10,"nsteps": 600,"ensemble": "nvt","_idx": "04"},
{"sys_idx": [5],"temps": [725],"trj_freq": 10,"nsteps": 600,"ensemble": "nvt","_idx": "05"},
{"sys_idx": [6],"temps": [725],"trj_freq": 10,"nsteps": 600,"ensemble": "nvt","_idx": "06"}
}
Beta Was this translation helpful? Give feedback.
All reactions