From dde266a520b03a991e49cac94509b58e7b10e7f2 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Mon, 2 Mar 2020 14:06:59 +0530 Subject: Publish deploy 2020-03-02 14:06 --- .../2020-01-15-Setting-up-Kaggle-to-use-with-Colab/index 2.html | 9 +++++++++ .../2020-01-15-Setting-up-Kaggle-to-use-with-Colab/index 5.html | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab/index 2.html create mode 100644 posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab/index 5.html (limited to 'posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab') diff --git a/posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab/index 2.html b/posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab/index 2.html new file mode 100644 index 0000000..ea6a41c --- /dev/null +++ b/posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab/index 2.html @@ -0,0 +1,9 @@ +Setting up Kaggle to use with Google Colab | Navan Chauhan
1 minute readCreated on January 15, 2020Last modified on January 19, 2020

Setting up Kaggle to use with Google Colab

In order to be able to access Kaggle Datasets, you will need to have an account on Kaggle (which is Free)

Grabbing Our Tokens

Go to Kaggle

Click on your User Profile and Click on My Account

Scroll Down untill you see Create New API Token

This will download your token as a JSON file

Copy the File to the root folder of your Google Drive

Setting up Colab

Mounting Google Drive

import os +from google.colab import drive +drive.mount('/content/drive') +
+ +

After this click on the URL in the output section, login and then paste the Auth Code

Configuring Kaggle

os.environ['KAGGLE_CONFIG_DIR'] = "/content/drive/My Drive/" +
+ +

Voila! You can now download kaggel datasets

Tagged with:
\ No newline at end of file diff --git a/posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab/index 5.html b/posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab/index 5.html new file mode 100644 index 0000000..ea6a41c --- /dev/null +++ b/posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab/index 5.html @@ -0,0 +1,9 @@ +Setting up Kaggle to use with Google Colab | Navan Chauhan
1 minute readCreated on January 15, 2020Last modified on January 19, 2020

Setting up Kaggle to use with Google Colab

In order to be able to access Kaggle Datasets, you will need to have an account on Kaggle (which is Free)

Grabbing Our Tokens

Go to Kaggle

Click on your User Profile and Click on My Account

Scroll Down untill you see Create New API Token

This will download your token as a JSON file

Copy the File to the root folder of your Google Drive

Setting up Colab

Mounting Google Drive

import os +from google.colab import drive +drive.mount('/content/drive') +
+ +

After this click on the URL in the output section, login and then paste the Auth Code

Configuring Kaggle

os.environ['KAGGLE_CONFIG_DIR'] = "/content/drive/My Drive/" +
+ +

Voila! You can now download kaggel datasets

Tagged with:
\ No newline at end of file -- cgit v1.2.3