We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df4ab57 commit 3672dceCopy full SHA for 3672dce
saber/segmenters/tomo.py
@@ -92,8 +92,8 @@ def segment(
92
# If A Mask is Found, Follow to 3D Segmentation Propagation
93
94
# Initialize Video Predictor
95
- # if self.inference_state is None:
96
- self.inference_state = self.video_predictor.create_inference_state_from_tomogram(vol)
+ if self.inference_state is None:
+ self.inference_state = self.video_predictor.create_inference_state_from_tomogram(vol)
97
98
# Set up a dictionary to capture the object score logits from the mask decoder.
99
# The keys will be frame indices and the values will be a list of score arrays from that frame.
0 commit comments