调用VGG网络的训练时候出现了这个问题报错信息:RuntimeError: CUDA out of memory. Tried to allocate 823.88 MiB (GPU 0; 7.93 GiB total capacity; 6.96 GiB already allocated; 189.31 MiB free; 10.26 MiB cached)从报错信息可以看到,是因为GPU内存不足。因为VGG网络是一个参数很庞大的网络,所以在训练过程中,需要存储大量的参数和损失函数信息等等。.
摘要由CSDN通过智能技术生成
调用VGG网络的训练时候出现了这个问题
报错信息:
RuntimeError: CUDA out of memory. Tried to allocate 823.88 MiB (GPU 0;7.93 GiB total capacity;6.96 GiB already allocated;189.31 MiB free;10.26 MiB cached)