mirror of
https://github.com/vale981/ray
synced 2025-03-06 18:41:40 -05:00
[tune] Fixed bug with joining experiment_path twice. (#5106)
This commit is contained in:
parent
1a543a6571
commit
41a16c55ef
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue