Skip to content

Commit

Permalink
remove reset
Browse files Browse the repository at this point in the history
  • Loading branch information
humanpose1 committed Jul 28, 2021
1 parent 413a2bd commit 11e8a5e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions torch_points3d/metrics/base_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,3 @@ def get_final_loss_metrics(self):
metrics[key] = m.compute()
self.loss_metrics = nn.ModuleDict()
return metrics

def reset(self, stage: str = "train"):
self._finalised = False
self.stage = stage
self.loss_metrics = nn.ModuleDict()
3 changes: 0 additions & 3 deletions torch_points3d/metrics/segmentation/segmentation_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,3 @@ def _finalise(self):
matrix = self.confusion_matrix_metric.compute()
segmentation_metrics = self.compute_metrics_from_cm(matrix)
return segmentation_metrics

def reset(self, stage: str = "train"):
super().reset(stage)

0 comments on commit 11e8a5e

Please sign in to comment.