CaptchaSolver icon indicating copy to clipboard operation
CaptchaSolver copied to clipboard

when I run digit_all.py I met a problem ,.ResourceExhaustedError: OOM when allocating tensor with shape[33600,1024], so how should I solve this problem?

Open DesirY opened this issue 8 years ago • 0 comments

Traceback (most recent call last): File "captcha.py", line 109, in sess.run(init) File "/root/anaconda2/envs/tensorflow/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 889, in run run_metadata_ptr) File "/root/anaconda2/envs/tensorflow/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1120, in _run feed_dict_tensor, options, run_metadata) File "/root/anaconda2/envs/tensorflow/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1317, in _do_run options, run_metadata) File "/root/anaconda2/envs/tensorflow/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1336, in _do_call raise type(e)(node_def, op, message) tensorflow.python.framework.errors_impl.ResourceExhaustedError: OOM when allocating tensor with shape[33600,1024] [[Node: Variable_2/Adam/Assign = Assign[T=DT_FLOAT, _class=["loc:@Variable_2"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](Variable_2/Adam, Variable_2/Adam/Initializer/zeros)]]

DesirY avatar Nov 25 '17 08:11 DesirY