mirror of
https://github.com/wassname/ray.git
synced 2026-08-09 12:20:09 +08:00
[tune] Tutorial UX Changes (#4990)
* add integration, iris, ASHA, recursive changes, set reuse_actors=True, and enable Analysis as a return object * docstring * fix up example * fix * cleanup tests * experiment analysis
This commit is contained in:
@@ -176,6 +176,14 @@ class Experiment(object):
|
||||
else:
|
||||
raise TuneError("Improper 'run' - not string nor trainable.")
|
||||
|
||||
@property
|
||||
def local_dir(self):
|
||||
return self.spec.get("local_dir")
|
||||
|
||||
@property
|
||||
def checkpoint_dir(self):
|
||||
return os.path.join(self.spec["local_dir"], self.name)
|
||||
|
||||
|
||||
def convert_to_experiment_list(experiments):
|
||||
"""Produces a list of Experiment objects.
|
||||
|
||||
Reference in New Issue
Block a user