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

Windows上ubuntu wsl 运行失败
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
4条回答 默认 最新
关注
你这个用的是GPU,需要重新创建一个虚拟环境,以tf2.0为例:
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对应版本
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报