Python 在自定义对象检测中使用tensorflow gpu的错误

Python 在自定义对象检测中使用tensorflow gpu的错误,python,tensorflow,keras,Python,Tensorflow,Keras,我正在尝试使用tensorflow gpu进行自定义对象检测。我已经创建了conda环境,下载并安装了CUDA和CuDNN 10.0以及tensorflow gpu版本1.14。然而,我收到了这个错误 ResourceExhaustedError: 2 root error(s) found. (0) Resource exhausted: OOM when allocating tensor with shape[32,1792,1792,3,2] and type float on /j

我正在尝试使用tensorflow gpu进行自定义对象检测。我已经创建了conda环境,下载并安装了CUDA和CuDNN 10.0以及tensorflow gpu版本1.14。然而,我收到了这个错误

ResourceExhaustedError: 2 root error(s) found.
  (0) Resource exhausted: OOM when allocating tensor with shape[32,1792,1792,3,2] and type float on /job:localhost/replica:0/task:0/device:CPU:0 by allocator gpu_host_bfc
     [[{{node Tile_5}}]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.

  (1) Resource exhausted: OOM when allocating tensor with shape[32,1792,1792,3,2] and type float on /job:localhost/replica:0/task:0/device:CPU:0 by allocator gpu_host_bfc
     [[{{node Tile_5}}]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.

     [[training/Adam/cond_175/Switch_2/_6707]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.

0 successful operations.
0 derived errors ignored.

通过访问此网站。

您的计算机没有足够的内存来运行此功能。可能是@NicolasGervais的副本,我有8GB内存,我已经查看了您给我的帖子。它确实给了我一个错误。稍后我将返回错误,因为我当前正在使用自己的CPU运行代码