报错解决:ResourceExhaustedError: OOM when allocating tensor with shape
早上在使用tensorflow时遇到如下报错:
Traceback (most recent call last):
File "C:\Users\peter\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 786, in runfile
execfile(filename, namespace)
File "C:\Users\peter\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
exec(compile