training package
Submodules
training.utils module
- training.utils.concat_all_gather(tensor)[source]
Performs all_gather operation on the provided tensor * Warning *: torch.distributed.all_gather has no gradient.
- training.utils.exp_lr_scheduler_with_warmup(optimizer, init_lr, epoch, warmup_epoch, max_epoch)[source]
- training.utils.log_evaluation_result(writer, dice_list, ASD_list, HD_list, name, epoch, args)[source]
- training.utils.multistep_lr_scheduler_with_warmup(optimizer, init_lr, epoch, warmup_epoch, lr_decay_epoch, max_epoch, gamma=0.1)[source]