dcgan-completion.tensorflow icon indicating copy to clipboard operation
dcgan-completion.tensorflow copied to clipboard

OOM error when training data

Open wiwengweng opened this issue 7 years ago • 0 comments

Hi, all. how is possible to make use of my GTX 950M with only 4G gpu-ram? I tried to modify --epoch 10 --batch_size 10, but still get this error.

ResourceExhaustedError (see above for traceback): OOM when allocating tensor of shape [5,5,2048,4096] and type float
	 [[Node: generator/g_h2/w/Adam/Initializer/zeros = Const[dtype=DT_FLOAT, value=Tensor<type: float shape: [5,5,2048,4096] values: [[[0 0 0]]]...>, _device="/job:localhost/replica:0/task:0/device:GPU:0"]()]]

wiwengweng avatar Jul 10 '18 06:07 wiwengweng