GPU Memory Issue + Tensorflow

I’m currently trying to use this camera to find the distance from objects detected by my DNN. When trying to use ULTRA mode, I get the error ‘[ZED][Init] Insufficient GPU memory (total: 6442123264 - free: 0)
NOT ENOUGH GPU MEMORY’
I think this happens as my model is loaded into the GPU memory, but I know it doesn’t use 6GB. Is there a solution to this?