Back

Save GPU RAM Usage in Convolutional Layers to Load Huge Images

Ando, T.

2023-09-22 pathology
10.1101/2023.09.19.558533 bioRxiv
Show abstract

Image recognition models have evolved tremendously. Despite the progress for general images, histopathological images are not easy targets. One of the reasons is that histopathological images can be 100000-200000px in height and width which are often too large for a deep neural network model to handle directly because the RAM of the GPU is limited. Mitigating the obstacle is expected to be a progress in the histopathological image analysis. In this study, we save the RAM consumption in a convolutional layer by allocating only the required data to GPU only when needed and by dividing the calculation into per channel. This RAM Saving Convolutional layer (RSConv) can load larger images than a normal convolutional layer. The code is available at https://github.com/tand826/RAMSavingConv2d.

Matching journals

The top 5 journals account for 50% of the predicted probability mass.

50% of probability mass above

"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.