-
Notifications
You must be signed in to change notification settings - Fork 484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: expected str, bytes or os.Pathlike object, not NoneType #2767
Comments
The correct argument is |
Thank you for your reply! I use this directive: dp train --init-model model.ckpt.index init-model.json, and still report: TypeError: expected str, bytes or os.PathLike object, not NoneType |
The checkpoint should be |
|
njzjz
added a commit
to njzjz/deepmd-kit
that referenced
this issue
Sep 4, 2023
wanghan-iapcm
pushed a commit
that referenced
this issue
Sep 5, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: