R session aborted while running autoencoder



I am trying to execute Sparse autoencoder using 120 images of size 100x100. With two hidden layers each having 5000 and 2500 units and 100 iterations, the R session is aborting every single time. I am running this program over a GPU system therefore, I am not able to understand the reason behind r session getting aborted even on reducing hidden layers and iterations. Could anybody help me in this regard?


Any way you could offer a minimal reprex? (FAQ: What's a reproducible example (`reprex`) and how do I do one?), and your error logs?