histocartography / zoommil

ZoomMIL is a multiple instance learning (MIL) method that learns to perform multi-level zooming for efficient Whole-Slide Image (WSI) classification.
MIT License
63 stars 6 forks source link

MemoryError #2

Closed Mairafatoretto closed 1 year ago

Mairafatoretto commented 1 year ago

Hello,

I have Memory error in the process with 20x for images grather than 350mb.

Is it normal?

kevthan commented 1 year ago

Hi,

This can happen in some cases if you do not have sufficient CPU (or GPU) memory. These images can become extremely large at 20x magnification. If you cannot get more memory, you could try adapting the image loading process or choose a lower magnification.