I am trying to run some image processing algorithms on google colab but ran out of memory (after the free 25Gb option).
I am thinking of purchasing Colab Pro, but the website is not that informative (it says double, but, is it double 12 or double 25?).
The images that I am working on are whole scan images (15000px x 15000px approx or more). Any other suggestions on how to tackle this problem? (on my current system 32Gb Ram I solved this through swap memory)
More memory With Colab Pro you have the option to access high-memory VMs when they are available, and with Pro+ even more so. To set your notebook preference to use a high-memory runtime, select the Runtime > 'Change runtime type' menu, and then select High-RAM in the Runtime shape dropdown.
Advantages of Google Colab Pro and Pro+ When creating ki-generated images, the processing time of the images in the Pro and Pro+ model is about six times faster than in the free Colab - a good argument to book at least the Colab Pro version for around 10 euros a month.
Colab is able to provide resources free of charge in part by having dynamic usage limits that sometimes fluctuate, and by not providing guaranteed or unlimited resources. This means that overall usage limits as well as idle timeout periods, maximum VM lifetime, GPU types available, and other factors vary over time.
Go to the upper toolbar > select 'Runtime' > 'Change Runtime Type' > hardware accelerator: select 'TPU'. This will provide you with 35.5GB instead of 25GB of free RAM
You can now subscribe to the Colab Pro Plus solution provided by Google, which has a maximum RAM of 52Gb.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With