You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
numpy.core._exceptions._ArrayMemoryError: Unable to allocate 30.7 GiB for an array with shape (1417, 2260, 2573) and data type float32
how to set patch size?
and how to resolve the question of memory?
The text was updated successfully, but these errors were encountered:
Hey @bobonannan I guess this error is from the very first step of plantseg, i.e. pre-processing? My guess is that your RAM is not big enough for keep this volume. This is, in turn, due to the rescaling of pre-processing, which makes your original volume huge. The first thing I would do is to see if the rescaling is really necessary. We provide networks trained by the same data with different resolution. You may choose a network of lower resolution so you don't have to rescale the data.
We currently don't support pre-/post-processing by patch. Please confirm this @lorenzocerrone
qin-yu
changed the title
windows: numpy.core._exceptions._ArrayMemoryError: Unable to allocate 30.7 GiB for an array with shape (1417, 2260, 2573) and data type float32
Out of (host) memory at Data Pre-Processing step
Apr 15, 2024
numpy.core._exceptions._ArrayMemoryError: Unable to allocate 30.7 GiB for an array with shape (1417, 2260, 2573) and data type float32
how to set patch size?
and how to resolve the question of memory?
The text was updated successfully, but these errors were encountered: