RuntimeError: [enforce fail at ..\c10\core\CPUAllocator.cpp:72] data. DefaultCPUAllocator: not enoug

运行程序报错:

RuntimeError: [enforce fail at ..\c10\core\CPUAllocator.cpp:72] data. 
DefaultCPUAllocator: not enough memory: you tried to allocate 19267584 bytes. Buy new RAM!

出现这个问题是因为显存不够,我把开的pycharm工程都关掉就可以运行了。。

你可能感兴趣的:(日常bug系列)