- RuntimeError: [enforce fail at …c10coreCPUAllocator.cpp:72] data.DefaultCPUAllocator: not enough memory: you tried to allocate xxx bytes.
原因:设置的张量过大,导致内存分配不足,在train.py中把batchsize改小了
OSError: [WinError 127] 找不到指定的程序。 Error loading “C:anaconda3envspython36libsite-packagestorchlibc10_cuda.dll” or one of its dependencies.
我把torch卸载了重装了…不过又遇到了超级多的问题。



