-
Notifications
You must be signed in to change notification settings - Fork 1.5k
ClassesToIndicesd large RAM consumption #6285
Copy link
Copy link
Closed
Milestone
Description
Currently ClassesToIndicesd can be used to pre-compute and cache the locations of all background/foreground classes.
This significantly speedups the cropping transform RandCropByLabelClassesd, since the coordinates of class voxels do not need to be computed every time.
Unfortunately for an average dataset it requires ~80gb of extra RAM, with an average cache (per image) is on the order of image size itself. (most of it due to background coordinates, or by some large segmentation classes).
PR: #6284
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels