Troubleshooting#
The most common problem is whether two settings correspond with each other, including:
The order of elements in
type_mapandmass_mapandfp_pp_files.Size of
init_data_sysandinit_batch_size.Size of
sys_configsandsys_batch_size.Size of
sel_aand actual types of atoms in your system.Index of
sys_configsandsys_idx.
Please verify the directories of
sys_configs. If there isn’t any POSCAR for01.model_deviin one iteration, it may happen that you write the false path ofsys_configs. Note thatinit_data_sysis a list, whilesys_configsshould be a two-dimensional list. The first dimension corresponds tosys_idx, and the second level are some poscars under each group. Refer to the sample file.Correct format of JSON file.
The frames of one system should be larger than
batch_sizeandnumb_testindefault_training_param. It happens that one iteration adds only a few structures and causes error in next iteration’s training. In this condition, you may letfp_task_minbe larger thannumb_test.If you found the dpgen with the same version on two machines behaves differently, you may have modified the code in one of them.