Windows上ubuntu wsl 运行失败

想在windows上的ubuntu wsl中进行机器学习训练,但一直卡在这个界面。是出了什么问题吗?
Your kernel may not have been built with NUMA support.
terminate called after throwing an instance of 'std::bad_alloc'
what():

img

你这个用的是GPU,需要重新创建一个虚拟环境,以tf2.0为例:

img

conda create --name tf python=3
conda activate tf
conda install cudatoolkit=10.0 tensorflow=2.0

其他版本参照链接https://www.tensorflow.org/install/source#linux ,其中CUDA版本则为cudatoolkit对应版本

嗯,你把报错,还有你用的哪个教程你发给我

  1. 请尝试启动一下VMMS service看看有没有用。
  2. 请问您最近在host上做什么更改了吗?
  3. 如果之前可以成功运行,现在有问题的话,可以尝试将Unbuntu的VM先导出到移动硬盘,然后尝试重新安装Hyper V role,再将虚拟机import回去看看是否可以。

这应该不是问题、不用管