Keras Docker | Docker Image For Tensorflow/keras

Jeff Heaton

Subscribe Here





Docker Image For Tensorflow/keras


Hi, this is! Jeff Heaton. In this video. I’m going to show you how to make use of a docker image for tensor flow and Python Kiera’s that the things that were using in this course. Okay, So if you look on module one and you scroll down, you’ll see that here. Actually, I have several options for you to install various ways that you can do tensor flow and Charas like you’ll need for this class. Here is a link to the docker image. This is the docker image it’s on backer hub. So you can get to that pretty easily. I’m assuming that you already have docker installed If you don’t just go ahead and Google Docker and install the package file. I’m using a Mac right now, but you can use Windows on this. I will say the docker generally works better on Windows 10 than Windows 7 Windows 7 You have to use sort of a lesser version of docker. I haven’t worked with it. A great deal in seven, so just something to be aware of once You have docker installed. You typically do this from the command line, and it doesn’t matter, really, if you’re dealing Windows or Mac, this part is largely the same. So what you need to do Is they give you the download command here. I’m gonna go ahead and just copy that now just to make it completely clear. I already cleared out everything all the docker images that I had at least on this particular computer. So if I do docker images, you’ll see that I don’t have any. We’re going to go ahead and install that one now. Docker is done through the docker command on some machines. You may Unix. In particular, you may need to do Sudo. Su do and then docker. And whatever you’re going to do on the Mac, At least the way I have it set up, that is not necessary, so I am going to go and do this. This is going to pull download the latest version of the docker image that I have up on Docker hub. The docker file for this, too, is also stored up on Github. So you can get a link to that as well. Basically, if you. If you want to do any modifications, you may want to download my docker file, but if you just want to use it for class, you really just need to follow the steps that I have here, okay, so now that is downloaded, we can see that it’s here by doing and there’s the image, so the next thing we’re going to do is create before we run it. We’re going to create a local directory that we can actually store our files into. I’m going to download the course material for my deep learning class and put that in there just just to give you an initial idea. Okay, so I’ll put it in this directory. Can’t just copy this over or move it actually now. I’m ready to run it. So this is what they recommend to do to. Well, they they be me. This is what I recommend to do to run this particular docker image. I am going to grab this this users. Jacob Temp. That’s where we’re going to want to mount the volume, so you can take all of this almost just as it is. Docker run. But I’m going to put in this. You’ll put in whatever location, if your windows, it’s going to be C colon or D colon or something such as that, that’s how Windows does things. Now you can run it, okay. This is Jupiter notebook running, so we’re going to access it through a Web browser. Jupiter notebook. Does this really stupid thing here where it does not give you the exact address? But you do need that token there for security purposes, so what? I’m going to do is paste in that URL that it gave me, but the problem is, it’s giving you two things here this or that you want to get rid of all, but that and also put localhost in there as well. You run that now you’re in a Jupiter notebook and notice this mount directory that is that is our actual folder that we created that. I put my class examples into now from here. We’ll get to that a moment, but from here, you can create a new Python 3 or R. I gave you both programming languages. I work with both of those quite so if your so let’s lets actually I mean. If you want to create a new one, you can just do that and you’ll have a new a new Python. The beauty of this, though, is is that I already have all of the required packages that you’ll need for the class already loaded, so you can see you have 1.8 tensorflow. That is probably the current version for about five minutes and then. Google will be on to the next version, But for the semester that I recorded this, that was the current version that we were using and I will update the docker image each semester as I as I put in additional things now. If you want to see the actual class material stuff, if you go to mount now, this is now that directory that we created earlier. You go into there. Here’s all the class material you can open class. One and this is just like Github. Except now you can actually edit it. It is fully editable. So now you have an environment completely set up. You had to set up docker. You had to download the image, but you really did not have to do any of the of the setup that would normally be required for this. This course. The instructions are here, so it’s up to you. If docker is something you’re familiar with it and you just want to grab a docker image and do the class that way. This could be a good option for you.

0.3.0 | Wor Build 0.3.0 Installation Guide

Transcript: [MUSIC] Okay, so in this video? I want to take a look at the new windows on Raspberry Pi build 0.3.0 and this is the latest version. It's just been released today and this version you have to build by yourself. You have to get your own whim, and then you...

read more