Describe the bug
|
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:
|
self.test_dir = tempfile.TemporaryDirectory() |
|
work_dir = self.test_dir.name |
I'll address this in #5342
Describe the bug
MONAI/tests/test_masked_inference_wsi_dataset.py
Lines 37 to 45 in da1c32a
the synthetic examples take 9G disk space and causes issues:
it should be generated to a temp directory such as:
MONAI/tests/test_auto3dseg.py
Lines 167 to 168 in da1c32a
I'll address this in #5342