-
Notifications
You must be signed in to change notification settings - Fork 1.5k
test_masked_inference_wsi_dataset temp_tissue_mask* too large #5343
Copy link
Copy link
Closed
Description
Describe the bug
MONAI/tests/test_masked_inference_wsi_dataset.py
Lines 37 to 45 in da1c32a
| HEIGHT = 32914 | |
| WIDTH = 46000 | |
| def prepare_data(): | |
| mask = np.zeros((HEIGHT // 2, WIDTH // 2)) | |
| mask[100, 100] = 1 | |
| np.save(MASK1, mask) |
the synthetic examples take 9G disk space and causes issues:
it should be generated to a temp directory such as:
Lines 167 to 168 in da1c32a
| self.test_dir = tempfile.TemporaryDirectory() | |
| work_dir = self.test_dir.name |
I'll address this in #5342
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels