深度学习时的问题 双系统在ubuntu下运行

运行深度学习时出现的问题,windows ubuntu双系统
在ubuntu系统下运行代码
出现问题RuntimeError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 1.96 GiB total capacity; 1.46 GiB already allocated; 1024.00 KiB free; 63.38 MiB cached)
windows系统显示机带RAM 8GB
已经把batch_size调整到1
是电脑配置太低不能跑这个模型吗?

你查看一下cuda是否可用,如果Ubuntu有gpu,通过nvidia-smi看看gpu运行情况,是否是其他进程占满了导致无法运行