Failed copying input tensor from /job:localhost even gpu vRam used is only 1/3 of total vRam available
I am training a ResNet50 transfer learning model on ubuntu 24 with 64GB Ram, 3070 12GB vRAM with tensorflow 2.16 and python3.12. During model.fit, the model keeps throwing error: