Skip to content

Commit e7ef3bb

Browse files
committed
update
1 parent b981364 commit e7ef3bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deepmd/utils/argcheck.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3217,7 +3217,7 @@ def training_args(
32173217
"Number of training steps (num_step). Each training uses one batch of data. "
32183218
"Mutually exclusive with num_epoch in single-task mode. In multi-task "
32193219
"mode, this is mutually exclusive with num_epoch_dict. "
3220-
"Accepted names: num_step, num_steps, numb_step, numb_steps."
3220+
"Accepted names: num_step, num_steps, numb_step, numb_steps, stop_batch."
32213221
)
32223222
doc_num_epoch = (
32233223
"Number of training epochs (num_epoch; can be fractional) for single-task "
@@ -3655,7 +3655,7 @@ def training_extra_check(data: dict | None) -> bool:
36553655
if data is None:
36563656
return True
36573657
num_steps = data.get("numb_steps")
3658-
num_epoch = data.get("num_epoch")
3658+
num_epoch = data.get("numb_epoch")
36593659
num_epoch_dict = data.get("num_epoch_dict", {})
36603660
model_prob = data.get("model_prob", {})
36613661
if multi_task:

0 commit comments

Comments
 (0)