mirror of
https://github.com/wassname/ray.git
synced 2026-07-13 17:45:08 +08:00
Issue 8919 checkpoint at end ignored (#8933)
This commit is contained in:
@@ -124,6 +124,9 @@ def ckpt_restore_test(alg_name, tfe=False):
|
||||
if abs(a1 - a2) > .1:
|
||||
raise AssertionError("algo={} [a1={} a2={}]".format(
|
||||
alg_name, a1, a2))
|
||||
# Stop both Trainers.
|
||||
alg1.stop()
|
||||
alg2.stop()
|
||||
|
||||
|
||||
class TestCheckpointRestore(unittest.TestCase):
|
||||
|
||||
@@ -149,6 +149,7 @@ def run(args, parser):
|
||||
args.experiment_name: { # i.e. log to ~/ray_results/default
|
||||
"run": args.run,
|
||||
"checkpoint_freq": args.checkpoint_freq,
|
||||
"checkpoint_at_end": args.checkpoint_at_end,
|
||||
"keep_checkpoints_num": args.keep_checkpoints_num,
|
||||
"checkpoint_score_attr": args.checkpoint_score_attr,
|
||||
"local_dir": args.local_dir,
|
||||
|
||||
Reference in New Issue
Block a user