Validation always happens on first step (#1300)
This commit is contained in:
@@ -62,7 +62,6 @@ class EvalFirstStepCallback(
|
|||||||
):
|
):
|
||||||
if (
|
if (
|
||||||
args.evaluation_strategy == IntervalStrategy.STEPS
|
args.evaluation_strategy == IntervalStrategy.STEPS
|
||||||
and args.eval_steps < 1.0
|
|
||||||
and state.global_step == 1
|
and state.global_step == 1
|
||||||
):
|
):
|
||||||
control.should_evaluate = True
|
control.should_evaluate = True
|
||||||
|
|||||||
Reference in New Issue
Block a user