Skip to content
Snippets Groups Projects
Commit 37d514f1 authored by Mélodie Boillet's avatar Mélodie Boillet Committed by Yoann Schneider
Browse files

Remove num_op from PostProcessingModule

parent 491ebb25
No related branches found
No related tags found
1 merge request!151Remove num_op from PostProcessingModule
......@@ -15,7 +15,6 @@ class PostProcessingModule:
def __init__(self):
self.prediction = None
self.confidence = None
self.num_op = 0
def post_processing(self):
raise NotImplementedError
......@@ -39,7 +38,6 @@ class PostProcessingModule:
self.prediction.insert(index, label)
if self.confidence is not None:
self.confidence.insert(index, 0)
self.num_op += 1
def del_label(self, index):
"""
......@@ -48,7 +46,6 @@ class PostProcessingModule:
del self.prediction[index]
if self.confidence is not None:
del self.confidence[index]
self.num_op += 1
class PostProcessingModuleSIMARA(PostProcessingModule):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment