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

  • Post author:
  • Post category:其他


运行程序报错:

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

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



版权声明:本文为qq_35037684原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。