显存不够----ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[4096]
2018-02-08 11:01
676 查看
ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[4096]
类似问题 https://github.com/CharlesShang/TFFRCNN/issues/68参考:
http://blog.csdn.net/qing101hua/article/details/77153222
方案:
take a look at the memory usage of your gpu with
nvidia-smi -l 3
if still free memory that can be used
-> edit lib/fast_rcnn/train.py
~line396 : config.gpu_options.per_process_gpu_memory_fraction = 0.40
edit 0.40 to larger propotion (e.g. 0.9)
相关文章推荐
- ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[4096]
- ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[4096]
- ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[100,35,35,64
- ResourceExhaustedError: OOM when allocating tensor with shape[10,256,400,528]
- tensorflow.python.framework.errors_impl.ResourceExhaustedError: OOM when allocating tensor with shap
- Tensorflow Deep MNIST: Resource exhausted: OOM when allocating tensor with shape[10000,32,28,28]
- OOM when allocating tensor with shape[96,3,299,299] and type float on /job:localhost/replica:0/task:0/device:GPU:0
- OOM when allocating tensor with shape
- InvalidArgumentError (see above for traceback): Shape [-1,-1] has negative d
- InvalidArgumentError (see above for traceback): logits and labels must be same size:
- keras vgg16:InvalidArgumentError (see above for traceback): Matrix size-incompatible: In[0]: [32,167
- SurfaceFlinger/gralloc Out of Memory error when allocating buffer memory for use with virtual frame
- Tensorflow中遇到OOM when allocating tensor
- TypeError: List of Tensors when single Tensor expected - when using const with tf.random_normal
- Job for vsftpd.service failed because the control process exited with error code. See "systemctl sta
- error: No resource identifier found for attribute 'layout_with' in package 'android'
- Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details
- Job for postfix.service failed because the control process exited with error code. See "systemctl st
- nodejs错误:ld: library not found for -lgcc_s.10.5 clang: error: linker command failed with exit code 1 (use -v to see invocation)
- ld: library not found for -lPods clang: error: linker command failed with exit code 1 (use -v to see