mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 16:13:54 +08:00
[tune] Fixed bug with joining experiment_path twice. (#5106)
This commit is contained in:
@@ -66,7 +66,7 @@ class ExperimentAnalysis(object):
|
||||
"No experiment state found in {}!".format(experiment_path))
|
||||
experiment_filename = max(
|
||||
list(experiment_state_paths)) # if more than one, pick latest
|
||||
with open(os.path.join(experiment_path, experiment_filename)) as f:
|
||||
with open(experiment_filename) as f:
|
||||
self._experiment_state = json.load(f)
|
||||
|
||||
if "checkpoints" not in self._experiment_state:
|
||||
|
||||
Reference in New Issue
Block a user