ResourceExhaustedError: OOM when allocating tensor with shape[17656320,1024] and type float
This question has been asked a couple of times and I tried this, this, this etc, but couldn’t solve my problem. I have just 4 images of approximately 1MB which I’m trying to fit into a deep learning model. However, I keep getting the resource exhaust error. The error occurs in the dense layer but I need all the layers for my analysis. Please can someone help with a workround?