-
Notifications
You must be signed in to change notification settings - Fork 1.5k
TypeError: regionprops() got an unexpected keyword argument 'coordinates' #6084
Copy link
Copy link
Closed
Description
[2023-03-01T01:56:26.191Z] ======================================================================
[2023-03-01T01:56:26.191Z] ERROR: test_read_patches_cucim_0 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.191Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.191Z] Traceback (most recent call last):
[2023-03-01T01:56:26.191Z] File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.191Z] return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.191Z] froc_score = froc.evaluate()
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.191Z] fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.191Z] ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.191Z] itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.191Z] properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.191Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.191Z]
[2023-03-01T01:56:26.191Z] ======================================================================
[2023-03-01T01:56:26.191Z] ERROR: test_read_patches_cucim_1 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.191Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.191Z] Traceback (most recent call last):
[2023-03-01T01:56:26.191Z] File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.191Z] return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.191Z] froc_score = froc.evaluate()
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.191Z] fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.191Z] ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.191Z] itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.191Z] properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.191Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.191Z]
[2023-03-01T01:56:26.191Z] ======================================================================
[2023-03-01T01:56:26.191Z] ERROR: test_read_patches_cucim_2 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.191Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.191Z] Traceback (most recent call last):
[2023-03-01T01:56:26.191Z] File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.191Z] return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.191Z] froc_score = froc.evaluate()
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.191Z] fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.191Z] ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.191Z] itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.191Z] properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.191Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.191Z]
[2023-03-01T01:56:26.191Z] ======================================================================
[2023-03-01T01:56:26.191Z] ERROR: test_read_patches_cucim_3 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.191Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.191Z] Traceback (most recent call last):
[2023-03-01T01:56:26.191Z] File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.191Z] return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.191Z] froc_score = froc.evaluate()
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.191Z] fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.191Z] ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.191Z] itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.191Z] properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.191Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.191Z]
[2023-03-01T01:56:26.191Z] ======================================================================
[2023-03-01T01:56:26.191Z] ERROR: test_read_patches_cucim_4 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.191Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.191Z] Traceback (most recent call last):
[2023-03-01T01:56:26.191Z] File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.191Z] return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.191Z] File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.191Z] froc_score = froc.evaluate()
[2023-03-01T01:56:26.192Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.192Z] fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.192Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.192Z] ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.192Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.192Z] itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.192Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.192Z] properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.192Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.192Z]
[2023-03-01T01:56:26.192Z] ======================================================================
[2023-03-01T01:56:26.192Z] ERROR: test_read_patches_cucim_5 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.192Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.448Z] Traceback (most recent call last):
[2023-03-01T01:56:26.448Z] File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.448Z] return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.448Z] froc_score = froc.evaluate()
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.448Z] fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.448Z] ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.448Z] itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.448Z] properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.448Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.448Z]
[2023-03-01T01:56:26.448Z] ======================================================================
[2023-03-01T01:56:26.448Z] ERROR: test_read_patches_cucim_6 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.448Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.448Z] Traceback (most recent call last):
[2023-03-01T01:56:26.448Z] File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.448Z] return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.448Z] froc_score = froc.evaluate()
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.448Z] fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.448Z] ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.448Z] itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.448Z] properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.448Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.448Z]
[2023-03-01T01:56:26.448Z] ======================================================================
[2023-03-01T01:56:26.448Z] ERROR: test_read_patches_cucim_7 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.448Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.448Z] Traceback (most recent call last):
[2023-03-01T01:56:26.448Z] File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.448Z] return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.448Z] froc_score = froc.evaluate()
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.448Z] fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.448Z] ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.448Z] itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.448Z] properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.448Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.448Z]
[2023-03-01T01:56:26.448Z] ======================================================================
[2023-03-01T01:56:26.448Z] ERROR: test_read_patches_cucim_8 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.448Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.448Z] Traceback (most recent call last):
[2023-03-01T01:56:26.448Z] File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.448Z] return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.448Z] froc_score = froc.evaluate()
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.448Z] fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.448Z] ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.448Z] itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.448Z] properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.448Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.448Z]
[2023-03-01T01:56:26.448Z] ======================================================================
[2023-03-01T01:56:26.448Z] ERROR: test_read_patches_cucim_9 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.448Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.448Z] Traceback (most recent call last):
[2023-03-01T01:56:26.448Z] File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.448Z] return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.448Z] froc_score = froc.evaluate()
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.448Z] fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.448Z] ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.448Z] itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.448Z] File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.448Z] properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.448Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.448Z]
[2023-03-01T01:56:26.448Z] ----------------------------------------------------------------------
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels