(self, iter_nr)
Exports all logs of the current run in Tensorboard's format and as json files.
Exports all logs of the current run in Tensorboard's format and as json files.
Exports all logs of the current run in Tensorboard s format and as json files .
def export_all(self, iter_nr):
        """
        Exports all logs of the current run in Tensorboard's format and as json files.
        """
        if self._path_log_storage is not None:
            path_crayon = ospj(self._path_log_storage, str(self._name), str(iter_nr), "crayon")
            path_json = ospj(self._path_log_storage, str(self._name), str(iter_nr), "as_json")
            create_dir_if_not_exist(path=path_crayon)
            create_dir_if_not_exist(path=path_json)
            for e in self._experiments.values():
                e.to_zip(filename=ospj(path_crayon, e.xp_name + ".zip"))
                write_dict_to_file_json(dictionary=self._custom_logs, _dir=path_json, file_name="logs")
def export_all ( self , iter_nr ) : if self . _path_log_storage is not None : path_crayon = ospj ( self . _path_log_storage , str ( self . _name ) , str ( iter_nr ) , "crayon" ) path_json = ospj ( self . _path_log_storage , str ( self . _name ) , str ( iter_nr ) , "as_json" ) create_dir_if_not_exist ( path = path_crayon ) create_dir_if_not_exist ( path = path_json ) for e in self . _experiments . values ( ) : e . to_zip ( filename = ospj ( path_crayon , e . xp_name + ".zip" ) ) write_dict_to_file_json ( dictionary = self . _custom_logs , _dir = path_json , file_name = "logs" )