How to Import (use) Kaggle datasets in Google Colab?

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • In this session, we can understand how do we import the Kaggle datasets into Colab.

Комментарии • 265

  • @akhilam2217
    @akhilam2217 3 года назад +14

    Thanks for the tutorial but what if the chosen dataset doesn't contain the API command to copy into the colab..?

  • @adnaneaboutalib5595
    @adnaneaboutalib5595 9 месяцев назад +3

    Very Helpful ! Thank you !
    Summary commands :
    1- Install kaggle
    !pip install kaggle
    2- Upload you API token kaggle.json:
    from google.colab import files
    files.upload()
    3- Create a directory kaggle , move the kaggle.json to kaggle directory , change permissions to the file :
    !mkdir ~/.kaggle
    !mv kaggle.json ~/.kaggle/
    !chmod 600 ~/.kaggle/kaggle.json
    4- Copy API command in dataset section in Kaggle , (ADD '!' at the first of the command)
    Enjoy the ride as your data models take flight! 😍

  • @goutamdas641
    @goutamdas641 3 года назад +2

    Perfect tutorial for Kaggle--->Colab. Thank you

  • @ms.mousoomibora9526
    @ms.mousoomibora9526 2 года назад +6

    I was struggling for this for quite a long time..Thank you very much for the video..it helps a lot for the new researcher in the DL field.

    • @ShriramVasudevan
      @ShriramVasudevan  2 года назад

      Thanks and glad u liked it

    • @shroukmohamed5664
      @shroukmohamed5664 2 года назад +1

      @@ShriramVasudevan
      Could you help me?
      I stopped at 7:55. I can't find this point in Kaggle.
      I didn't find the file in the description could you send again

  • @kalpanayadav1142
    @kalpanayadav1142 2 года назад +12

    Very efficient, helpful and easy to understand
    Thank you!

  • @MeMonarch
    @MeMonarch Месяц назад

    For those who are starting in the updated Kaggle site. The API command might not be available on the "Data" card so what you have to do is click on 3 dots, right after the "Download" button on top right of your dataset. Once you click that you will see an option "Copy API command". Click that and you are good to go!

  • @aegisds1094
    @aegisds1094 2 года назад +2

    Very simple video, very nicely explained. The task which seemed impossible to me, you made it very simple. Jai Shriram

  • @kinuthiasteve4505
    @kinuthiasteve4505 Год назад

    Shriram! This tutorial is undefeated. Thanks

  • @durgaprasadmurapaka3965
    @durgaprasadmurapaka3965 Год назад +2

    sir, but when i am creating a direc it shows you can not creat any direc, now what should i do for this

  • @user-ub4db5bq4i
    @user-ub4db5bq4i 4 месяца назад

    Your tutorial is really so much helpful to me. It means a lot. Thanks for sharing such wonderful content to us

  • @sukanya4498
    @sukanya4498 Год назад +2

    Crisp & Precise explanation, Thank you! 👌🙌

  • @aadarshkumar2257
    @aadarshkumar2257 2 года назад

    Thank You so so much.
    I can't explain how much irritated and lost i was feeling before watchin this video.
    Now it's clear to me and i can explain to anyone else.
    Once again Thanks a lot.....

  • @honest_review2492
    @honest_review2492 2 года назад

    Great work simple and to the point very basic steps are addressed which are not found in many videos.you have solved my big problem.thank you sir

  • @onesaditya3689
    @onesaditya3689 Год назад +1

    Such a clear and efficient explanation..!!
    Thanks man..!!

  • @AllAboutBI
    @AllAboutBI 3 года назад +1

    Sir, you have made it simple. It is very useful for the beginners like.me

  • @mwarnsle
    @mwarnsle 3 года назад +9

    It appears Kaggle's interface has changed a bit already since January, and I'm at loss at where the command line for this dataset it...
    Edit: never mind, found it(on side, 3 dots["copy API command"])!

  • @shireenkhan2105
    @shireenkhan2105 2 года назад +1

    Thank you so much sir.... U made me understand this method in such a easy way.🙏🏻

  • @zooltechno7065
    @zooltechno7065 Год назад +1

    after running command " ! kaggle competitions download -d 'name-of-dataset'"
    it is generating
    Error 403: forbidden

  • @chittithotiakhila9280
    @chittithotiakhila9280 2 года назад +2

    Hi sir thank you so much for this information
    But while I am running the step 2 that is "*from google.colab import files
    files.upload" I can't get "Choose Files" option in my laptop what I can do? and error raised it's shown

  • @archanas8463
    @archanas8463 3 года назад +4

    Very nice explanation, easy to understand and where is the code in the description.? I couldn't find

  • @jantojanistdio
    @jantojanistdio 4 месяца назад

    Thank you Sir. U save my life❤

  • @bardandhakal7300
    @bardandhakal7300 Месяц назад

    colab tends to disconnect when not used for a longtime. Do we have to run all the commands and upload the api every single time the colab notebook disconnects?

  • @mekkicharfi5454
    @mekkicharfi5454 4 месяца назад

    Thank you very much . And how to carry out the reverse process, that is to say convert a Colab application to Kaggle? That's what's important, because notebooks are not the same.

  • @ngwemo
    @ngwemo 4 месяца назад

    Please do another one now setting it inside the Kaggle notebook itself any directions would be appreciated.

  • @lee_badda
    @lee_badda 2 года назад

    Thank you so much sir! It is my first time participating on a competition in Kaggle

  • @unnimayanarayanan2503
    @unnimayanarayanan2503 3 года назад +1

    Very interesting... something very useful for beginners in coding

  • @anandhuramesh3462
    @anandhuramesh3462 6 месяцев назад +1

    chmod: cannot access '/root/.kaggle/kaggle.json': Not a director not getting this

  • @sachindubey7560
    @sachindubey7560 Год назад

    That's made my day. Thank you so much sir. Worked smoothly.
    💙

  • @souradippaul7466
    @souradippaul7466 3 года назад +1

    Sir I have question, I was trying to create a kaggle directory, but I was unable to generate it. Could you please suggest me how I can generate it ?

  • @CricketTube9905
    @CricketTube9905 2 года назад +1

    Couldn't download the dataset. i'm getting 403 - Forbidden as the output. can you please explain why?

  • @dharshiniravikumar6383
    @dharshiniravikumar6383 2 года назад

    Very nice session sir.
    Thankyou for your detailed video.

  • @archanaramesh9118
    @archanaramesh9118 3 года назад +1

    It appears cannot create directory '/root/.kaggle ' : file exists
    Help me sir what may be the reason???

  • @JoshKonoff1
    @JoshKonoff1 2 года назад +1

    What if the chosen dataset doesn't contain the API command to copy into the colab..?

  • @abhishekpatil406
    @abhishekpatil406 4 дня назад

    Saved my day, 💕

  • @plavali_znaem
    @plavali_znaem 2 года назад

    God bless you Shriram, brilliant!

  • @ASUSPC-yh5cy
    @ASUSPC-yh5cy Год назад

    Very Nice Sir ..Very Nice

  • @iabdulwahablearning
    @iabdulwahablearning Год назад

    Thanks a lot for this helpful information...

  • @imroze8840
    @imroze8840 11 месяцев назад

    Thanks a lot sir, this is very helpful

  • @chaitanyaravi4482
    @chaitanyaravi4482 2 года назад

    Love this video
    Thankyou so much Shriram garu

  • @sagarpadhiyar3666
    @sagarpadhiyar3666 2 года назад

    Superb video. so so so much helpful. thank you

  • @shahabasmuhammed7523
    @shahabasmuhammed7523 Год назад

    Should we do all the steps again in other collab file to download another dataset or can we directly copy the API command and run it to download another set of data ?

  • @eswaranbalamurugan8526
    @eswaranbalamurugan8526 3 года назад +2

    Hi I am facing "403 forbidden"
    How can i resolve. ? I tried !pip install kaggle --upgrade
    and !pip install --upgrade --force-reinstall --no-deps kaggle.... Still same

  • @sn__sn
    @sn__sn 2 года назад

    Thank you for your time, help me a lot!

  • @dheerajnalapatdheerajnalap8226
    @dheerajnalapatdheerajnalap8226 3 года назад +1

    what if the data set does not have the code needed for download

  • @sachinmathew6809
    @sachinmathew6809 Год назад

    nice work sir !

  • @narangfamily7668
    @narangfamily7668 2 месяца назад

    AWESOME! THANKS ❤

  • @anissaa1017
    @anissaa1017 2 года назад +1

    great tutorial, thank you!

  • @jyothsnasarvadevabhatla1870
    @jyothsnasarvadevabhatla1870 2 года назад

    Thank you. Well explained.

  • @datacodedesign
    @datacodedesign 2 месяца назад

    ut this is for a competition, what about normal datasets?

  • @luisaraujo6824
    @luisaraujo6824 2 года назад

    Thank you so much!! Very well explained👊

  • @ngwemo
    @ngwemo 4 месяца назад

    Thanks for insights bro.
    Notes for the commands , can't seem to find it. Will be great to have
    😊

  • @santhoshs8373
    @santhoshs8373 4 месяца назад

    Thank you so much!!

  • @abdullahalfahad4634
    @abdullahalfahad4634 2 года назад

    Thanks for the great session

  • @abhijeet6431
    @abhijeet6431 2 года назад

    I want to import great barrier reef (GBR) dataset into colab , GBR dataset has few folders of different types of data files like images ,videos, csv, apis , zip files .. I used your method but in my colab I am only able to see few 100 images but in dataset there are 23000 images, what should I do to get entire data in colab?

  • @bharatns598
    @bharatns598 5 месяцев назад

    for each seperate file we need to do this it is one time and we can create n no of new python files

  • @musicalvlogs4418
    @musicalvlogs4418 Год назад +1

    very helpful,thank you

  • @arjavjain8338
    @arjavjain8338 Месяц назад

    I'm getting the problem while using this dataset. I'm getting this error "403 - Forbidden - You must accept this competition's rules before you'll be able to download files.". How to solve this problems anyone can tell to me

  • @jasdeo5652
    @jasdeo5652 2 года назад

    Hello Sir, I got this message for the last command to get data in collab Kernel log downloaded to /path/to/dest/eda-to-prediction-dietanic.log instead of data in the file folder. can you tell me why so

  • @Wurfenkopf
    @Wurfenkopf 2 года назад +3

    Thank you very much for the explanation... Actually, I came here for a problem that's probably trivial with respect to all this, but I couldn't solve it.
    In a Kaggle code I found the initial instruction:
    from shutil import copyfile
    copyfile(src = "../input/lrp-scripts/utils.py", dst = "../working/utils.py")
    For sure I have to update those paths, but how can I do it?
    Thank you very much!

  • @lisandrodelfino5106
    @lisandrodelfino5106 11 месяцев назад

    Excuse me Mr Vasudevan.
    Any chance you could share that word with the step by step in the description of this video?
    Thanks!

    • @lisandrodelfino5106
      @lisandrodelfino5106 11 месяцев назад

      You know what? Never mind.
      Following your tutorial works just fine. Thanks

  • @mohanks7144
    @mohanks7144 3 года назад

    thank u sir. very much needed and useful

  • @MahmoudSheliel--
    @MahmoudSheliel-- Год назад

    perfect video thank you

  • @vishalisharma3883
    @vishalisharma3883 5 месяцев назад

    i am not able to see my dataset when i try to get it from kaggle

  • @krishnapisudde9593
    @krishnapisudde9593 Год назад

    great work sir

  • @asinusmurtareed4038
    @asinusmurtareed4038 Год назад

    thank you so much. it's really working!!!!!

  • @onnm1981
    @onnm1981 Год назад

    Thanks a lot, it helped me a lot !!

  • @biggusmaximus1651
    @biggusmaximus1651 2 года назад

    Great video sir, from tamil

  • @atulsain6170
    @atulsain6170 Год назад

    Thanks. That was very helpful. If I had watched it 1 day ago, it would save from wasting 2 gb data and a day of headache. 😄

  • @est.camilo.ballest5941
    @est.camilo.ballest5941 2 года назад

    excelent video!

  • @sakthi1192
    @sakthi1192 2 года назад

    I have copied the API and pasted it in the code section. After execution, kernel log downloaded to '.log'. Like this, it is showing. Sir, please comment how to solve this?

  • @tonihullzer1611
    @tonihullzer1611 2 года назад

    thanks man, very helpful, have a nice day:)

  • @mahrokhebrahimi6863
    @mahrokhebrahimi6863 3 года назад

    perfect, thanks for the explanation

  • @angelferhati
    @angelferhati 2 года назад

    You deserve more credit

  • @user-tl1gr1ic1q
    @user-tl1gr1ic1q Год назад

    love you!

  • @abdulrahmanalsaka1345
    @abdulrahmanalsaka1345 Год назад

    after unzipping the folders how could i import this to be used in my model?

  • @techforall9859
    @techforall9859 3 года назад

    This is so useful!

  • @user-zl8bl3ui1s
    @user-zl8bl3ui1s 4 месяца назад

    what happens if the process doesn´t code successfully

  • @liyasimon7742
    @liyasimon7742 2 года назад +1

    Thank you so much for this great tutorial, You tell that to paste the commands in the description box, I could not get it. I got some errors in it please paste the commands if you can.

  • @IsraelMolina1997
    @IsraelMolina1997 Год назад

    Thanks so much!

  • @dmoriasi
    @dmoriasi 2 года назад

    Perfect!! Thank you!

  • @faizanrana9049
    @faizanrana9049 2 года назад

    how much data set can we upload my data set is 42GB is it work for me

  • @saurabhk6004
    @saurabhk6004 2 года назад

    do we have to use ( ! ) this before importing datasets

  • @NadinMagdy
    @NadinMagdy 3 года назад +1

    Why can I not find an API command for datasets, only competitions? I want to use a dataset

    • @keremdogan5792
      @keremdogan5792 2 года назад

      Same here. Any advice or solution?

    • @FuriaKKK
      @FuriaKKK 2 года назад

      @@keremdogan5792 ! kaggle datasets download [UserName/DatasetName]

  • @paroleoleon9654
    @paroleoleon9654 Год назад

    Man, thank you very much!

  • @jatinmor4216
    @jatinmor4216 3 года назад

    very helpful video brother

    • @ShriramVasudevan
      @ShriramVasudevan  3 года назад

      Glad u liked

    • @jatinmor4216
      @jatinmor4216 3 года назад

      @@ShriramVasudevan bro could you please tell how to give path of that downloaded file ...I want to build a model of gender recognition with the help of cv2 but I am unable to give the path so that I can read every image of that folder

  • @Kashish-hw9gd
    @Kashish-hw9gd 8 месяцев назад

    Do i have to go through all these steps everytime i want to import datasets from kaggle in colab ?? or just doing it for one time is enough for using datasets

    • @iitianritesh5961
      @iitianritesh5961 2 месяца назад

      In every new sheet, you have to do again

  • @robharris3269
    @robharris3269 2 года назад

    Any suggestions for : 401 - Unauthorized

  • @aravindvalsarajan3284
    @aravindvalsarajan3284 Год назад

    thank you sir!

  • @AshishKumar-qt1rk
    @AshishKumar-qt1rk 2 года назад

    Sir can you tell me "How can I unzip the CSV files downloaded when the .zip file is not present"

  • @daktilo_
    @daktilo_ Год назад

    you are amazing thank you very much

  • @prasadshiva8075
    @prasadshiva8075 7 месяцев назад

    while creating folder i am getting msg like mkdir: cannot create directory ‘/root/’: File exists. please suggest sir

  • @pratibhagoudar6817
    @pratibhagoudar6817 3 года назад

    thankful to u sir .. .. it's helps

  • @monalisabanra2733
    @monalisabanra2733 2 года назад

    cp: cannot create regular file '/root/.kaggle/': Not a directory its showing this what should I do?

  • @dattanidumukkala8178
    @dattanidumukkala8178 4 месяца назад

    Cannot stat kaggle.json no such file or directory

  • @lakshmikanthagc607
    @lakshmikanthagc607 2 года назад

    Hello Sir, very helpful video you have done. Can you share that word document ?

  • @greeshmaaeligeti6179
    @greeshmaaeligeti6179 Год назад +1

    7:56 im getting 403 forbidden for this statement
    !kaggle competitions download - dogs-vs-cats-redux-kernels-edition
    please help me out

  • @zeshn100
    @zeshn100 2 года назад

    really helpful

  • @Rahul_Singh_Rajput_04
    @Rahul_Singh_Rajput_04 2 года назад

    sir , please also show us how to submit data in kaggle through google colab

  • @RajeshYadav-xw7tn
    @RajeshYadav-xw7tn 3 года назад

    Could you please provide the installation step guide that is used in video .

  • @raghus8535
    @raghus8535 2 года назад

    Thank you sir, appreciate it