OP_REQUIRES failed at conv_ops.cc:386 : Resource exhausted: OOM when allocating tensor with shape..

tensorflow-gpu authentication accuracy is given as:

Solution:

1. 加入 os.environ [ 'CUDA_VISIBLE_DEVICES'] = '2'

Forced to use slower CPU verification -----

2.'batch_size ', is reduced to 32, using a GPU can run faster ------

 

Guess you like

Origin www.cnblogs.com/jfdwd/p/11225196.html