mirror of
https://github.com/wassname/ray.git
synced 2026-10-28 13:21:06 +08:00
[tune] Fixed bug with joining experiment_path twice. (#5106)
This commit is contained in:
1 parent
1a543a6571
commit
41a16c55ef
1 file changed
+1
-1
@@ -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