Skip to content

Commit

Permalink
Update common-errors.md (#897)
Browse files Browse the repository at this point in the history
Add 3 error information.
 Since the last PR was directly changed in the devel branch, the PR was invalid after the fork repository was updated with the main repository, so it was resubmitted.

Signed-off-by: ziqi-hu <51811006+ziqi-hu@users.noreply.github.com>

Signed-off-by: ziqi-hu <51811006+ziqi-hu@users.noreply.github.com>
  • Loading branch information
ziqi-hu authored Aug 24, 2022
1 parent 5dc7c1b commit 15662b9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/troubleshooting/common-errors.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Common Errors
(Errors are sorted alphabetically)

## dargs.dargs.ArgumentTypeError: [at root location] key `xxx` gets wrong value type, requires <xxx> but gets <xx>
Please check your parameters with [DPGEN's Document](https://docs.deepmodeling.com/projects/dpgen/en/latest/). Maybe youhave superfluous parentheses in your parameter file.

## Dargs: xxx is not allowed in strict mode.
Strict format check has been applied since version 0.10.7. To avoid misleading users, some older-version keys that are already ignored or absorbed into default settings are not allowed to be present. And the expected structure of the dictionary in the param.json also differs from those before version 0.10.7. This error will occur when format check finds older-fashion keys in the json file. Please try deleting or annotating these keys, or correspondingly modulate the json file. Example files in the newest format could be found in [examples](https://github.com/deepmodeling/dpgen/tree/master/examples).

## FileNotFoundError: [Errno 2] No such file or directory: '.../01.model_devi/graph.xxx.pb'
If you find this error occurs, please check your initial data. Your model will not be generated if the initial data is incorrect.

Expand Down Expand Up @@ -29,3 +35,6 @@ Some common reasons are as follows:

## RuntimeError: find too many unsuccessfully terminated jobs.
The ratio of failed jobs is larger than ratio_failure. You can set a high value for ratio_failure or check if there is something wrong with your input files.

## ValueError: Cannot load file containing picked data when allow_picked=False
Please make sure that there is no excess file where you run DP-GEN.

0 comments on commit 15662b9

Please sign in to comment.