Closed njzjz closed 1 month ago
Reproduced as below:
cd examples/water/se_atten_compressible
dp --pt train input.json
dp --pt change-bias -s ../data/ model.ckpt.pt
Here returned_dict
is set to False
when n_batch
is 0 and result
is None
. FYI @wanghan-iapcm
when
n_batch
is 0 andresult
isNone
Note: this only happens with an OOM error
Related PR: #3626
Discussed in https://github.com/deepmodeling/deepmd-kit/discussions/4033