Closed LemonAndRabbit closed 5 months ago
get_summary_writer() in the current main branch has no return value so the tensorboard log file will never be written:
get_summary_writer()
Current implementation in hydragnn/utils/model.py:
def get_summary_writer(name, path="./logs/"): _, world_rank = get_comm_size_and_rank() if world_rank == 0: path_name = os.path.join(path, name) writer = SummaryWriter(path_name)
Example use case in examples/ogb/train_gap.py:
writer = hydragnn.utils.get_summary_writer(log_name)
get_summary_writer()
in the current main branch has no return value so the tensorboard log file will never be written:Current implementation in hydragnn/utils/model.py:
Example use case in examples/ogb/train_gap.py: