Skip to content

where is the "optional_parameter"? #321

@templiup

Description

@templiup

Summary

I cannot found the "optional_parameter".

DeePMD-kit Version

3.0.0

Backend and its version

dpgen2

Python Version, CUDA Version, GCC Version, LAMMPS Version, etc

python 3.9

Details

In .bashrc, export DFLOW_MODE=debug.
In input.json

"inputs": {
    "_comment" :            "super heavy H atom LOL",
    "type_map":             ["H", "O", "Ni", "K"] ,
    "mass_map":             [1, 16, 58.7, 39.1],
    "mixed_type": false,
    "do_finetune": false,
    "init_data_prefix":     null,
    "init_data_sys":        "/work/home/ac7cu6ar91/system3.bubble/dpa2/init/data_0"
},

I run a dpgen2 job with the command (dpgen2 submit input.json). The following error message was obtained.

Iraceback(most recent caast):File "/work/home/ac7cu6ar91/system3.bubble/dpa2/work/edb11754b6fa/script", line 33,in input['optional parameter']parameter'"mixed type": true, "finetune mode": "no"}''= handle input parameter('optionalinput sign'optional parameter', None, r'/work/home/ac7cu6ar91system3.bubble/dpa2/work/edb117a0d6b93ab4a585d9f893f0a4663754b6fa/tmp')File " work home/acicuGar91/system3.bubble/dpa2/work/edb117a0d6b93ab4a585d9f893f0a4663754b6fa/tmp/inputs/artifacts dflow python rackages /work/home/ac7cu6ar91 /software/miniconda3/envs/dpgen2/lib/python3.12/site-packages/dflow/python/opio.py"line 274,inget
itemreturn self. datalkeyl
KeyError:optional parameter'

====
I cannot found the "optional_parameter".

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions