Skip to main content
628 votes
48 answers
982k views

I'm trying to download a file from google drive in a script, and I'm having a little trouble doing so. The files I'm trying to download are here. I've looked online extensively and I finally managed ...
Arjun's user avatar
  • 6,408
362 votes
39 answers
504k views

Is there a way to programmatically prevent Google Colab from disconnecting on a timeout? The following describes the conditions causing a notebook to automatically disconnect: Google Colab notebooks ...
Chan Kha Vu's user avatar
  • 10.5k
278 votes
17 answers
900k views

I have some data on gDrive, for example at /projects/my_project/my_data*. Also I have a simple notebook in gColab. So, I would like to do something like: for file in glob.glob("/projects/...
Scitator's user avatar
  • 3,018
230 votes
24 answers
516k views

What are the common ways to import private data into Google Colaboratory notebooks? Is it possible to import a non-public Google sheet? You can't read from system files. The introductory docs link to ...
Grae's user avatar
  • 2,458
185 votes
6 answers
534k views

In a project, I have e.g. two different packages, How can I use the setup.py to install these two packages in the Google's Colab, so that I can import the packages?
Lin Jianjie's user avatar
  • 1,860
163 votes
6 answers
384k views

So I'm trying to git clone and cd into that directory using Google collab - but I cant cd into it. What am I doing wrong? !rm -rf SwitchFrequencyAnalysis && git clone https://github.com/...
willwade's user avatar
  • 2,250
163 votes
17 answers
336k views

Is there any way to upload my code in .py files and import them in colab code cells? The other way I found is to create a local Jupyter notebook then upload it to Colab, is it the only way?
Reham M Samir's user avatar
158 votes
11 answers
278k views

Currently, I can download files as individual files with the command files.download(file_name) I also tried uploading them to the drive with the below code snippet but it is uploading them as ...
tetedp's user avatar
  • 1,733
151 votes
17 answers
219k views

Are there any recommended methods to integrate git with colab? For example, is it possible to work off code from google source repositories or the likes? Neither google drive nor cloud storage can ...
Prashanth's user avatar
  • 1,631
140 votes
18 answers
186k views

I want to get access to the files in the Google Drive's "Shared with me" directory. In the Colab python notebook the following commands: import os from google.colab import drive drive.mount('/...
Leon Rai's user avatar
  • 1,671
133 votes
10 answers
118k views

update: this question is related to Google Colab's "Notebook settings: Hardware accelerator: GPU". This question was written before the "TPU" option was added. Reading multiple excited announcements ...
stason's user avatar
  • 6,689
132 votes
4 answers
185k views

Can I run a google colab (free edition) script and then shut down my computer? I am training several deeplearning models with crossvalidation, and therefore I would like to know if I can close the ...
S.MC.'s user avatar
  • 1,761
122 votes
8 answers
267k views

I found many hints how to upload data into Colaboratory. But now I want to do opposite -> I want to download .csv I've created in Colaboratory workspace. How to do this?
F1sher's user avatar
  • 7,360
114 votes
22 answers
96k views

Is there any way to use TensorBoard when training a TensorFlow model on Google Colab?
ociule's user avatar
  • 1,251
111 votes
6 answers
80k views

In Google Colaboratory, I can install a new library using !pip install package-name. But when I open the notebook again tomorrow, I need to re-install it every time. Is there a way to install a ...
korakot's user avatar
  • 41.3k

15 30 50 per page
1
2 3 4 5
513