Skip to content

Commit 7275ec1

Browse files
committed
Update plugin_model_inference.py
1 parent 9ea13d8 commit 7275ec1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

napari_cellseg3d/code_plugins/plugin_model_inference.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,7 @@ def on_yield(self, result: InferenceResult):
745745

746746
labels = result.instance_labels
747747
method = self.worker_config.post_process_config.instance.method
748+
748749
number_cells = (
749750
np.unique(labels.flatten()).size - 1
750751
) # remove background
@@ -771,5 +772,5 @@ def on_yield(self, result: InferenceResult):
771772
)
772773

773774
# self.log.print_and_log(
774-
# f"\nNUMBER OF CELLS : {number_cells}\n"
775+
# f"OBJECTS DETECTED : {number_cells}\n"
775776
# )

0 commit comments

Comments
 (0)