graphinvent/Workflow.py
def create_output_files(self) -> None:
        """
        Creates output files (with appropriate headers) for new (i.e.
        non-restart) jobs. If restart a job, all new output will be appended
        to existing output files.
        """
        if not self.constants.restart:
            print("* Touching output files.", flush=True)
            # begin writing `generation.log` file
            csv_path_and_filename = self.constants.job_dir + "generation.log"
            util.properties_to_csv(prop_dict=self.ts_properties,
                                   csv_filename=csv_path_and_filename,
                                   epoch_key="Training set",
                                   append=False)

            # begin writing `convergence.log` file
            util.write_training_status(append=False)

            # create `generation/` subdirectory to write generation output to
            os.makedirs(self.constants.job_dir + "generation/", exist_ok=True)

        Creates output files (with appropriate headers) for new (i.e.
        non-restart) jobs. If restart a job, all new output will be appended
        to existing output files.
        
Creates output files (with appropriate headers) for new  jobs. If restart a job, all new output will be appended
to existing output files.
Creates output files ( with appropriate headers ) for new jobs . If restart a job all new output will be appended to existing output files .
def create_output_files(self) -> None:
        if not self.constants.restart:
            print("* Touching output files.", flush=True)
            csv_path_and_filename = self.constants.job_dir + "generation.log"
            util.properties_to_csv(prop_dict=self.ts_properties,
                                   csv_filename=csv_path_and_filename,
                                   epoch_key="Training set",
                                   append=False)
            util.write_training_status(append=False)
            os.makedirs(self.constants.job_dir + "generation/", exist_ok=True)
def create_output_files ( self ) -> None : if not self . constants . restart : print ( "* Touching output files." , flush = True ) csv_path_and_filename = self . constants . job_dir + "generation.log" util . properties_to_csv ( prop_dict = self . ts_properties , csv_filename = csv_path_and_filename , epoch_key = "Training set" , append = False ) util . write_training_status ( append = False ) os . makedirs ( self . constants . job_dir + "generation/" , exist_ok = True )
Creates output files (with appropriate headers) for new (i.e.
Creates output files ( with appropriate headers ) for new ( i . e .
"""
        Creates output files (with appropriate headers) for new (i.e.
        non-restart) jobs. If restart a job, all new output will be appended
        to existing output files.
        """ # begin writing `generation.log` file # begin writing `convergence.log` file # create `generation/` subdirectory to write generation output to
self