After spending DAYS trying to get tensorflow to install on Windows 10, I finally succeeded to get it working through both Command Prompt and Anaconda Prompt. Unfortunately, I was still running into errors when trying to run scripts, so I decided the best thing I could do is uninstall everything and start over. I don’t want to run the risk that installations from anaconda, virtual environment, GitHub desktop, and the various python instances are having competing path variables and py scripts.
This time around, I am going to take a detour to install Ubuntu on my computer and finally be a cool kid that can dual-boot Windows and Linux. Not only will I learn more, but there is a substantial speed increase and other benefits with using tensorflow-gpu on Ubuntu instead of Windows. I also toyed with the idea of adding another SSD to my PC instead of just partitioning my current one, but determined it’s not worth the investment. Below are some links that I found useful to help with my decision to go this route.
- Is Linux better than Windows for using TensorFlow?
- Windows 10 or Ubuntu for Tensorflow-GPU?
- A Full Hardware Guide to Deep Learning
- How much does machine learning benefit from an SSD?
So before I can re-re-reinstall tensorflow-gpu, I will need to be able to boot my PC in Linux. I decided to go with Ubuntu v18.04 LTS since most users use Unbuntu and I found a nifty guide to follow. I’ll keep to a simple list of what I did while following the instructions How To Install Ubuntu Alongside Windows 10.
- Made a backup of my Windows 10 PC
- Created an Ubuntu live USB
- Partitioned my SSD to make room for Ubuntu
- Disabled “Fast Startup” in Windows 10
- Downloaded Gigabyte’s App Center motherboard apps to disable “secure boot” (couldn’t find the setting for Windows 10 while following these instructions) and then immediately uninstalled it after remembering it’s complete rubbish
Normally you can disable secure boot by accessing it in UEFI options after doing an advanced options restart. In MY case, the option was not there, so I’d need togo into the BIOS to disable it there. Simple, right?
WRONG! I can’t seem to enter the BIOS. I restarted about a million times trying different keys (F10, F2, Esc, Delete) and none of them allowed me to enter the BIOS. I then realized that I was using a wireless keyboard, so there was a good chance it wasn’t recognizing my key presses because of that. Unfortunately, I don’t have a wired keyboard on hand at the moment, so once again I will drag this project on to another day.