百度paddleGAN超分模型如何调 batch size大小?显存一直提示不足

官方debug文档我看了一下。还是没有解决。网上面说调小一下size。可在配置文档里面。调了一下。还是一样。或许是我配置错误了嘛?正确的配置文档在那个文件夹?

提示代码如下,
Out of memory error on GPU 0. Cannot allocate 3.027344GB memory on GPU 0, 10.873169GB memory has been allocated and available memory is only 1.037048GB.

Please check whether there is any other process using GPU 0.

  1. If yes, please stop them, or start PaddlePaddle on another GPU.
  2. If no, please decrease the batch size of your model.
    If the above ways do not solve the out of memory problem, you can try to use CUDA managed memory. The command is export FLAGS_use_cuda_managed_memory=false.
    (at /paddle/paddle/fluid/memory/allocation/cuda_allocator.cc:87)
    . (at /paddle/paddle/fluid/imperative/tracer.cc:307)