How to install tensorflow GPU version on VirtualBox Ubuntu OS. And host OS is windows 10

房东的猫 提交于 2020-01-14 07:30:28

问题


I want to setup environment for deep learning using Anaconda (python 3.6). I have system having nvidia get force 1060 with windows installed on it. Now I want to have Ubuntu OS in VB. Can I install Cuda and CuDNN libraries in VB based Ubuntu OS? Any one that can help me?


回答1:


You can not use your GPU on virtual box. Because virtual box cannot pass through the host GPU.

However, you can use the windows version of python which can use the GPU on your windows machine. Here is the installation procedure for windows.

After installing cuda, cudnn and anaconda 3.6 I just used,

$ pip install tensorflow-gpu

That's all.



来源:https://stackoverflow.com/questions/49345786/how-to-install-tensorflow-gpu-version-on-virtualbox-ubuntu-os-and-host-os-is-wi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!