Skip to content

TypeError: expected str, bytes or os.Pathlike object, not NoneType #2767

@XuFanffei

Description

@XuFanffei

Summary

I want to use the “dp train init-model.json --init-model model.ckpt.index” instruction to improve my model, but this error occurred:
TypeError: expected str, bytes or os.Pathlike object, not NoneType
init-model.json.zip

DeePMD-kit Version

deepmd-kit-2.1.5

TensorFlow Version

2.9.0

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

No response

Details

err.zip

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions