(self)
| 613 | # utils |
| 614 | #################### |
| 615 | def get_task_ref(self): |
| 616 | from utils.commons.base_task import BaseTask |
| 617 | task: BaseTask = self.task.module if isinstance(self.task, DDP) else self.task |
| 618 | return task |
| 619 | |
| 620 | def log_metrics_to_tb(self, metrics, step=None): |
| 621 | """Logs the metric dict passed in. |
no outgoing calls
no test coverage detected