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
When using model type "linear_ener" with DPGEN there is an error, since the model type does not have a "descriptor" field. This prevents the use of this model type with DPGEN.
Detailed Description
Here is the "default_training_param" field in my param.json file
Traceback (most recent call last):
File "/scratch/gpfs/AZP/software/shared-conda/deepmd/bin/dpgen", line 10, in
sys.exit(main())
^^^^^^
File "/scratch/gpfs/AZP/software/shared-conda/deepmd/lib/python3.12/site-packages/dpgen/main.py", line 255, in main
args.func(args)
File "/scratch/gpfs/AZP/software/shared-conda/deepmd/lib/python3.12/site-packages/dpgen/generator/run.py", line 5394, in gen_run
run_iter(args.PARAM, args.MACHINE)
File "/scratch/gpfs/AZP/software/shared-conda/deepmd/lib/python3.12/site-packages/dpgen/generator/run.py", line 4722, in run_iter
make_train(ii, jdata, mdata)
File "/scratch/gpfs/AZP/software/shared-conda/deepmd/lib/python3.12/site-packages/dpgen/generator/run.py", line 559, in make_train
if jinput["model"]["descriptor"]["type"] == "hybrid":
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
KeyError: 'descriptor'
Further Information, Files, and Links
No response
The text was updated successfully, but these errors were encountered:
Summary
When using model type "linear_ener" with DPGEN there is an error, since the model type does not have a "descriptor" field. This prevents the use of this model type with DPGEN.
Detailed Description
Here is the "default_training_param" field in my param.json file
and the resulting error / trace:
Further Information, Files, and Links
No response
The text was updated successfully, but these errors were encountered: