Skip to content

IndexError when trying to test Silicon graph.pb  #829

@Mskater

Description

@Mskater

Hello again,
Thanks for all previous help.
DeePMD-kit version 1.3.3 TF version 2.2, Ubuntu 18.04.

This time I got a graph.pb to test and ran the command
dp test -m graph.pb -s ~/Si/ -n 30
Also tried: dp test -m graph.pb -s ~/set.009/ -n 30 Which is correct?
I am in the Si directory with all the sets. (set.000 to set.009)

This error came up. (Last line before error thrown.)
File "~/miniconda3/lib/python3.8/site-packages/deepmd/test.py", line 77, in weighted_average
nitems = len(err_coll[0])
IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions