I am training an U-net on TensorFlow 2. When I load the model, it takes up almost all the memory of the GPU (22 GB out 26 GB), though my model is supposed to take up at best