def sync_job_info(self, job_name):
        """Load information of the job with the given job name.

        1. Traverse each experiment sub-directory and sync information
           for each trial.
        2. Create or update the job information, together with the job
           meta file.

        Args:
            job_name (str) name of the Tune experiment
        """
        job_path = os.path.join(self._logdir, job_name)

        if job_name not in self._monitored_jobs:
            self._create_job_info(job_path)
            self._monitored_jobs.add(job_name)
        else:
            self._update_job_info(job_path)

        expr_dirs = filter(lambda d: os.path.isdir(os.path.join(job_path, d)),
                           os.listdir(job_path))

        for expr_dir_name in expr_dirs:
            self.sync_trial_info(job_path, expr_dir_name)

        self._update_job_info(job_path)
def sync_job_info ( self , job_name ) : job_path = os . path . join ( self . _logdir , job_name ) if job_name not in self . _monitored_jobs : self . _create_job_info ( job_path ) self . _monitored_jobs . add ( job_name ) else : self . _update_job_info ( job_path ) expr_dirs = filter ( lambda d : os . path . isdir ( os . path . join ( job_path , d ) ) , os . listdir ( job_path ) ) for expr_dir_name in expr_dirs : self . sync_trial_info ( job_path , expr_dir_name ) self . _update_job_info ( job_path )
Load information of the job with the given job name.

        1. Traverse each experiment sub-directory and sync information
           for each trial.
        2. Create or update the job information, together with the job
           meta file.

        Args:
            job_name (str) name of the Tune experiment