sayedmohamedscu / kaggle-dataset-to-colab

this repo shows how to load data from Kaggle to colab directly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kaggle-dataset-to-colab

1- create account

2- get the json file

3- upload it to colab

4- run the following

!mkdir -p ~/.kaggle #will make the kaggle directory

!cp kaggle.json ~/.kaggle/ #will copy the json file to the path

!kaggle datasets download -d nunenuh/pytorch-challange-flower-dataset #based on the dataset which you want #this will download the dataset

then you can unzip it by using just !unzip 'the directory '