Added time as input feature
This commit is contained in:
@@ -41,7 +41,7 @@ class Trainer:
|
||||
self.patience = patience
|
||||
self.delta = delta
|
||||
|
||||
def add_metrics_to_track(self, loss: torch.nn.Module | list[torch.nn.Module]):
|
||||
def add_metrics_to_track(self, loss):
|
||||
if isinstance(loss, list):
|
||||
self.metrics_to_track.extend(loss)
|
||||
else:
|
||||
@@ -59,7 +59,8 @@ class Trainer:
|
||||
if self.debug:
|
||||
task.add_tags("Debug")
|
||||
|
||||
change_description = input("Enter a change description: ")
|
||||
# change_description = input("Enter a change description: ")
|
||||
change_description = ""
|
||||
if change_description:
|
||||
task.set_comment(change_description)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user