Sunday, October 28, 2018

Notes on Installing Windows 10 and Google Tensorflow (CPU only)


This is the third time I have installed Windows 10.  These are my notes from the experience.

1. Based on previous disaster, all other disks were unpowered when installing this OS.  The only disk it could get to was the one that it was to be installed on.

2. Based on previous disaster, this disk is connected by SATA because the poor little piece of shit, Windows, cant install on  USB (a marketing decision we are sure).

3. You need a Microsoft account to do this.

4. You sign an agreement which says in so many words that you are stupid for running MS software and if anything goes wrong you should go fuck yourself.

5. It reboots itself without telling you to remove the USB boot disk.

6. You must give it a device PIN.  

7. You do have the option of turning off Windows Cloud, Cortina and weird non-privacy options.

8. It does not let you change the resolution on your screen.

9. When you install Firefox, it complains and tries to make you use its own stupid browser because of course it does.  This is Microsoft.

10. Even though you turned Cortina and MS Cloud off it is still running, because of course it is.

11. When you download the Nvidia driver you have no choice but to load the "GEFORCE Experience" and wait 20 minutes while it downloads. The driver itself is at most a 1 minute download.   Hey dont worry, my time doesnt matter.

12. One of the things I find fascinating is how slow it is.  It is running on 8/16 fairly fast processors and essentially infinite memory, on an SSD drive at SATA 3 speeds and it is still slow.

13. Installing the NVIDIA driver was trivial, but ... here I am waiting for it to reboot.  Will it reboot?  Will it ever leave the SETUP screen?  Oh Oh.  Second reboot and it comes up just fine on the Nvidia card.

14. Must sign in with PIN.  Weird.  No way to turn it off that is obvious.  Whatever they think they are doing with their control panel settings, it isnt helping.  I cant find anything.

15. Now to install VLC for Windows (my preferred video player) and then we get to the good stuff.  Tensorflow and Unity.  OK VLC worked but forgot to turn off metadata download.  Later.

16. Tensorflow ... two versions... CPU only and w/GPU.  It says that beginners should only do CPU.  So I install pip, virtual env, follow instructions for virtual env (one mistake in doc), run virtual env, load tensorflow via pip, run it and it fails!  But wait, it fails because I skipped a step, the "MS Visual Development blahdy blahdy blahdy".

17. So I sign up for visual developer, which means a c/c++ compiler I think, and it also has a python development system and it tries to download 2 GBs.  So I pause it, cut off everything but what I need the core and python, and that is a mere 380 MBs.  Fine.  Installed.

18. Reboot.  Need to reboot twice to get Windows to run. Second time this has happened weird.

19.  But now when I run tensorflow (cpu only) in python, in virtual environment, it works!  Yay!

20. Installed matplotlib.

21. OK we are almost where we were a month ago.

22. Science Marches On!

No comments:

Post a Comment