コード例 #1
0
 def snapshot_dir(self):
     return check_path(hub.job_dir,
                       hub.record_dir,
                       hub.snapshot_folder_name,
                       self._model.mark,
                       create_path=hub.snapshot)
コード例 #2
0
ファイル: agent.py プロジェクト: rscv5/tframe
 def gather_summ_path(self):
   return os.path.join(check_path(self.root_path), hub.gather_summ_name)
コード例 #3
0
 def log_dir(self):
     return check_path(hub.job_dir,
                       hub.record_dir,
                       hub.log_folder_name,
                       self._model.mark,
                       create_path=hub.summary)
コード例 #4
0
 def ckpt_dir(self):
     return check_path(hub.job_dir,
                       hub.record_dir,
                       hub.ckpt_folder_name,
                       self._model.mark,
                       create_path=hub.save_model)
コード例 #5
0
ファイル: model.py プロジェクト: zkmartin/tframe
 def log_dir(self):
     return check_path(self.job_dir, config.record_dir,
                       config.log_folder_name, self.mark)
コード例 #6
0
 def note_dir(self):
     return check_path(hub.job_dir,
                       hub.record_dir,
                       hub.note_folder_name,
                       self._model.mark,
                       create_path=hub.export_note)
コード例 #7
0
ファイル: model.py プロジェクト: zkmartin/tframe
 def snapshot_dir(self):
     return check_path(self.job_dir, config.record_dir,
                       config.snapshot_folder_name, self.mark)
コード例 #8
0
ファイル: agent.py プロジェクト: winkywow/tframe
 def ckpt_dir(self):
     if hub.specified_ckpt_path is not None: return hub.specified_ckpt_path
     return check_path(self.root_path,
                       hub.ckpt_folder_name,
                       self._model.mark,
                       create_path=hub.save_model)
コード例 #9
0
ファイル: agent.py プロジェクト: winkywow/tframe
 def log_dir(self):
     return check_path(self.root_path,
                       hub.log_folder_name,
                       self._model.mark,
                       create_path=hub.summary)
コード例 #10
0
ファイル: agent.py プロジェクト: winkywow/tframe
 def note_dir(self):
     return check_path(self.root_path,
                       hub.note_folder_name,
                       self._model.mark,
                       create_path=hub.export_note)
コード例 #11
0
ファイル: agent.py プロジェクト: winkywow/tframe
 def snapshot_dir(self):
     return check_path(self.root_path,
                       hub.snapshot_folder_name,
                       self._model.mark,
                       create_path=hub.snapshot)