‫Alrighty.
‫Now we've got a Google CoLab notebook running.
‫Let's get it set up for our project.
‫Now, if you read through the external data, Google CoLab, the notebooks, I, O, IP and B, oh,
‫that's a little tidbit too.
‫So even though we're working in Google's program here, Google CoLab, it's still running the same extension
‫as our Jupyter Notebook.
‫So I pi and B so we can go here.
‫Download I.P. and B.
‫So if we did that, it would download this notebook here from CoLab in the format of a Jupyter notebook
‫that we could load in Jupyter, the workspace we've been using previously.
‫So that's just a little tidbit to know.
‫Now, if you read through that.
‫You would find that there's one way if we wanted to upload files to Google CoLab, we could go to this
‫little file tab here and click Upload.
‫Now.
‫That is definitely one way to do it.
‫However, what you might find is that when your Google lab runtime disconnects and you might be wondering,
‫Daniel, what's runtime?
‫Well, that's over here.
‫So you see this little tick and if we read that connected to Python three, Google Compute engine back
‫end.
‫Ah.
‫So this is where we can access a GPU.
‫Right.
‫This colab notebook is actually not running on our computer anymore.
‫It's running on Google servers.
‫So that's where you can see they're connected to Python three, Google Compute Engine back end.
‫So this notebook is being powered by one of Google's computers in their warehouse.
‫And if we upload a data through here, if our runtime disconnected, like what?
‫You'll see a message like this.
‫It's going to remove all of the data from here because we can't just keep storing data on Google's machines,
‫otherwise they'd just get overflowed and we'd we'd lose data and some some data you might have might
‫be private.
‫So it shouldn't be stored on Google's machine anyway.
‫Now, if you're wondering, okay, Daniel, all of this sounds confusing, runtimes, all this sort
‫of stuff.
‫But it's important to know because if you were to upload your files here and then the runtime disconnects,
‫say Google's machine just shuts down on you, you'd lose everything that you're working on, which is
‫not an ideal scenario.
‫Now, if you're wondering how long does a session last?
‫Well, this is, again, something that's really hard to answer, because I've had times where I'm sitting
‫here coding away that wasn't code.
‫But you could pretend I was coding and the runtime I get a message like this runtime disconnected.
‫So I've written here a colab connection will sometimes drop out.
‫It's hard to tell when.
‫If it does, you'll need to reconnect and potentially rerun all of your cells.
‫So if you see this message right, it won't always come up.
‫So I can't guarantee that it comes up during the videos.
‫Press reconnect and you might have to rerun your cells like this.
‫And if you're wondering about more information about how a CoLab workspace runs, I'll leave this in
‫the resources as well.
‫So if we go Google CoLab HQ, so these are some frequently asked questions.
‫A great little resource here.
‫This is your homework before the next video is to read through this.
‫So what is collaboratory?
‫Is it free to use?
‫Yes, it is free.
‫What are the limitations?
‫So this is what we're looking at.
‫Collab resources are not guaranteed and are not unlimited.
‫The usage limits sometimes fluctuate, so that's why we might randomly see one of these runtimes disconnected.
‫And you might also see one of these messages.
‫But we haven't connected Google Drive to Collab yet, so this won't appear just yet.
‫We're still in the process of getting our workspace set up.
‫So as quick as Collab is to get started compared to Jupyter, there are still a couple of little issues
‫because providing a free service like this is what Google is doing.
‫It's no easy thing to do.
‫So we'll see where this might come up in the next video.
‫But in the meantime, I want you to read through the code laboratory frequently asked questions.
‫I'll leave that in the resources section and just make sure that you've got a little green tick here.
‫And if you don't, this will change to connect.
‫And I want you to click on that and see what it says.