Repository navigation
Open
Description
Issue Description
Dear developer, I encountered an issue while running dpgen2, where the output of dpgen2 status shows lvl_f_lo as nan. Additionally, the Outputs-model_devi file contains nan values for all relevant fields. Below are the details:
1. dpgen2 status Output
100%|█████████████████████████████████████████████| 1/1 [00:00<00:00, 13.33it/s]
# stage id_stg. iter. accu. cand. fail. lvl_f_lo lvl_f_hi
# Stage 0 --------------------
0 0 0 0.7646 0.1323 0.1032 0.2118 0.5000
0 1 1 0.8519 0.1481 0.0000 nan 0.5000
0 2 2 0.8519 0.1481 0.0000 nan 0.5000
2. Checking Output Files
Outputs-traj:
The file/iter-000001--run-lmp-group/Outputs-trajcontains valid data. Sample content:
ITEM: TIMESTEP
0
ITEM: NUMBER OF ATOMS
184
ITEM: BOX BOUNDS xy xz yz pp pp pp
...
Outputs-log:
The log file also shows normal output:
LAMMPS (29 Aug 2024)
OMP_NUM_THREADS environment is not set. Defaulting to 1 thread. (src/comm.cpp:98)
using 1 OpenMP thread(s) per MPI task
...
3. Outputs-model_devi Contains nan
However, in the file /iter-000001--run-lmp-group/Outputs-model_devi, the avg_devi_f, max_devi_f, and min_devi_f fields all contain nan:
# step max_devi_v min_devi_v avg_devi_v max_devi_f min_devi_f avg_devi_f
0 0.000000e+00 1.797693e+308 -nan -nan -nan -nan
50 0.000000e+00 1.797693e+308 -nan -nan -nan -nan
100 0.000000e+00 1.797693e+308 -nan -nan -nan -nan
...
Expected Behavior
The lvl_f_lo value and the fields in Outputs-model_devi should not contain nan.
Steps to Reproduce
- Run the
dpgen2workflow with the provided input files. - Observe the
dpgen2 statusoutput and check the corresponding output files (Outputs-traj,Outputs-log,Outputs-model_devi).
Environment
- dpgen2 version: 0.0.8.dev138+g2877e2f
- DeepMD-kit version: 3.0.0b4
- Operating website: Bohrium
- Hardware: Bohrium V100*1
Thank you!
Metadata
Metadata
Assignees
Labels
No labels
Activity
wanghan-iapcm commentedon Nov 22, 2024
could you please check if the very first configuration of the trajectory is a valid configuration?
The model deviation of the first conf is 1.797693e+308 , which is unusual.
Andy6M commentedon Nov 22, 2024
Thank you for your response.
I checked the first configuration in
iter-000000--run-lmp-000000and examined themodel_devioutput. It appears that themin_devi_vvalues from all 17 LAMMPS runs are around the range of1e-3 to 1e-2, and there are no significantly unusual deviations. Below is the relevant data from themodel_devifile:These values seem consistent and do not show any unusual spikes or extreme outliers. Let me know if there’s anything else I should check or if you need additional information.
Thank you for your kindness, Dr Wang!
wanghan-iapcm commentedon Nov 23, 2024
iteration 0 looks great and the issue happens at iteration 1.
please check the quality of the model trained at iteration 1 and the initial configuration used in the iteration 1 MD simulations.
Andy6M commentedon Nov 26, 2024
Thank you for your response.
I checked the configuration in
iter-000001--run-lmp-000000and examined themodel_devioutput. Below is the relevant data from themodel_devifile:Thank you for your kindness, Dr Wang!