Skip to content

Commit

Permalink
Merge branch 'master' of github.com:leondavi/NErlNet into source_nif
Browse files Browse the repository at this point in the history
  • Loading branch information
leondavi committed May 7, 2024
2 parents d134563 + ecf40ff commit 0f35a7f
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions src_py/apiServer/experiment_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,17 +124,20 @@ def print(self):
#LOG_INFO(f"CSV dataset: {self.csv_dataset.get_csv_file_path()}")
LOG_INFO(f"Number of features: {self.csv_dataset.get_num_of_features()}")
LOG_INFO(f"Number of labels: {self.csv_dataset.get_num_of_labels()}")
LOG_INFO("\nPhases:\n")
LOG_INFO("")
LOG_INFO("Phases:")
for phase in self.exp_phase_list:
LOG_INFO(f"Phase name: {phase.get_name()}")
LOG_INFO(f"Phase type: {phase.get_phase_type()}")
LOG_INFO(f"Sources: {phase.get_sources_str_list()}")
LOG_INFO("\nSource pieces:\n")
LOG_INFO(f" Phase name: {phase.get_name()}")
LOG_INFO(f" Phase type: {phase.get_phase_type()}")
LOG_INFO(f" Sources: {phase.get_sources_str_list()}")
LOG_INFO("")
LOG_INFO(" Source pieces:")
for source_piece in phase.get_sources_pieces():
LOG_INFO(f"Source name: {source_piece.get_source_name()}")
LOG_INFO(f"Batch size: {source_piece.get_batch_size()}")
LOG_INFO(f"Phase: {source_piece.get_phase()}")
LOG_INFO(f"Starting offset: {source_piece.get_starting_offset()}")
LOG_INFO(f"Number of batches: {source_piece.get_num_of_batches()}")
LOG_INFO(f"Workers target: {source_piece.get_target_workers()}")
LOG_INFO(f" Source name: {source_piece.get_source_name()}")
LOG_INFO(f" Batch size: {source_piece.get_batch_size()}")
LOG_INFO(f" Phase: {source_piece.get_phase()}")
LOG_INFO(f" Starting offset: {source_piece.get_starting_offset()}")
LOG_INFO(f" Number of batches: {source_piece.get_num_of_batches()}")
LOG_INFO(f" Workers target: {source_piece.get_target_workers()}")
LOG_INFO(" ----------------------")
LOG_INFO("")

0 comments on commit 0f35a7f

Please sign in to comment.