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

  Рет қаралды 151,598

Shriram Vasudevan

Shriram Vasudevan

Күн бұрын

Пікірлер: 279
@MeMonarch
@MeMonarch 4 ай бұрын
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!
@musahabdulmumini2701
@musahabdulmumini2701 2 ай бұрын
@MeMonarch Thank you for the additional guide
@MeMonarch
@MeMonarch 2 ай бұрын
@@musahabdulmumini2701 you're welcome
@kerry_ky
@kerry_ky 16 күн бұрын
Thank you!
@adnaneaboutalib5595
@adnaneaboutalib5595 Жыл бұрын
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! 😍
@ShriramVasudevan
@ShriramVasudevan Жыл бұрын
Thanks
@akhilam2217
@akhilam2217 3 жыл бұрын
Thanks for the tutorial but what if the chosen dataset doesn't contain the API command to copy into the colab..?
@ms.mousoomibora9526
@ms.mousoomibora9526 3 жыл бұрын
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 3 жыл бұрын
Thanks and glad u liked it
@shroukmohamed5664
@shroukmohamed5664 2 жыл бұрын
@@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
@goutamdas641
@goutamdas641 3 жыл бұрын
Perfect tutorial for Kaggle--->Colab. Thank you
@ShriramVasudevan
@ShriramVasudevan 3 жыл бұрын
Thanks and glad u found it useful
@JoshKonoff1
@JoshKonoff1 3 жыл бұрын
What if the chosen dataset doesn't contain the API command to copy into the colab..?
@durgaprasadmurapaka3965
@durgaprasadmurapaka3965 Жыл бұрын
sir, but when i am creating a direc it shows you can not creat any direc, now what should i do for this
@kalpanayadav1142
@kalpanayadav1142 3 жыл бұрын
Very efficient, helpful and easy to understand Thank you!
@ShriramVasudevan
@ShriramVasudevan 3 жыл бұрын
Thanks.
@SidIndian082
@SidIndian082 2 жыл бұрын
@@ShriramVasudevan Sir Word file , pls
@greeshmaaeligeti6179
@greeshmaaeligeti6179 2 жыл бұрын
7:56 im getting 403 forbidden for this statement !kaggle competitions download - dogs-vs-cats-redux-kernels-edition please help me out
@anandhuramesh3462
@anandhuramesh3462 10 ай бұрын
chmod: cannot access '/root/.kaggle/kaggle.json': Not a director not getting this
@chittithotiakhila9280
@chittithotiakhila9280 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
@aegisds1094
@aegisds1094 3 жыл бұрын
Very simple video, very nicely explained. The task which seemed impossible to me, you made it very simple. Jai Shriram
@ShriramVasudevan
@ShriramVasudevan 3 жыл бұрын
Thanks brother
@kinuthiasteve4505
@kinuthiasteve4505 Жыл бұрын
Shriram! This tutorial is undefeated. Thanks
@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
@ShriramVasudevan
@ShriramVasudevan 2 жыл бұрын
Glad it helped
@NagamalliParasa
@NagamalliParasa 8 ай бұрын
Your tutorial is really so much helpful to me. It means a lot. Thanks for sharing such wonderful content to us
@AllAboutBI
@AllAboutBI 3 жыл бұрын
Sir, you have made it simple. It is very useful for the beginners like.me
@ShriramVasudevan
@ShriramVasudevan 3 жыл бұрын
Thanks
@AmeerHamza-c7h9e
@AmeerHamza-c7h9e 2 ай бұрын
When i go for this command # to list all the datasets in kaggle !kaggle datasets list it shows error 401 - Unauthorized - Unauthenticated" so what is its solution and due to this the step afterwards are not working in mine one
@sukanya4498
@sukanya4498 2 жыл бұрын
Crisp & Precise explanation, Thank you! 👌🙌
@ShriramVasudevan
@ShriramVasudevan 2 жыл бұрын
Thanks sukanya .glad u liked
@bardandhakal7300
@bardandhakal7300 5 ай бұрын
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?
@onesaditya3689
@onesaditya3689 Жыл бұрын
Such a clear and efficient explanation..!! Thanks man..!!
@ShriramVasudevan
@ShriramVasudevan Жыл бұрын
Glad it helped!
@archanas8463
@archanas8463 3 жыл бұрын
Very nice explanation, easy to understand and where is the code in the description.? I couldn't find
@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.....
@souradippaul7466
@souradippaul7466 3 жыл бұрын
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 ?
@dheerajnalapatdheerajnalap8226
@dheerajnalapatdheerajnalap8226 3 жыл бұрын
what if the data set does not have the code needed for download
@shireenkhan2105
@shireenkhan2105 3 жыл бұрын
Thank you so much sir.... U made me understand this method in such a easy way.🙏🏻
@ShriramVasudevan
@ShriramVasudevan 3 жыл бұрын
Thanks
@mwarnsle
@mwarnsle 3 жыл бұрын
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"])!
@ShriramVasudevan
@ShriramVasudevan 3 жыл бұрын
😀
@himahimbimba1513
@himahimbimba1513 3 жыл бұрын
thanks dude
@vishnupriyasivaramanr5248
@vishnupriyasivaramanr5248 3 жыл бұрын
thank you
@arvinlukekottarathil3745
@arvinlukekottarathil3745 2 жыл бұрын
Thanku brother🙏
@dharshiniravikumar6383
@dharshiniravikumar6383 2 жыл бұрын
Very nice session sir. Thankyou for your detailed video.
@ShriramVasudevan
@ShriramVasudevan 2 жыл бұрын
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 ?
@musahabdulmumini2701
@musahabdulmumini2701 2 ай бұрын
Thank you for your clear explanations. It was useful
@archanaramesh9118
@archanaramesh9118 3 жыл бұрын
It appears cannot create directory '/root/.kaggle ' : file exists Help me sir what may be the reason???
@datacodedesign
@datacodedesign 6 ай бұрын
ut this is for a competition, what about normal datasets?
@robharris3269
@robharris3269 3 жыл бұрын
Any suggestions for : 401 - Unauthorized
@CricketTube9905
@CricketTube9905 2 жыл бұрын
Couldn't download the dataset. i'm getting 403 - Forbidden as the output. can you please explain why?
@joekanaan2548
@joekanaan2548 2 жыл бұрын
I'm getting the same thing
@rizwanakhan0610
@rizwanakhan0610 6 күн бұрын
did you find any solution?
@arjavjain8338
@arjavjain8338 5 ай бұрын
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
@zooltechno7065
@zooltechno7065 Жыл бұрын
after running command " ! kaggle competitions download -d 'name-of-dataset'" it is generating Error 403: forbidden
@rizwanakhan0610
@rizwanakhan0610 6 күн бұрын
any solution you found?
@rizwanakhan0610
@rizwanakhan0610 6 күн бұрын
i am getting the same error
@abdulrahmanalsaka1345
@abdulrahmanalsaka1345 Жыл бұрын
after unzipping the folders how could i import this to be used in my model?
@saurabhk6004
@saurabhk6004 3 жыл бұрын
do we have to use ( ! ) this before importing datasets
@eswaranbalamurugan8526
@eswaranbalamurugan8526 3 жыл бұрын
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
@eswaranbalamurugan8526
@eswaranbalamurugan8526 3 жыл бұрын
@Watch you grow Thank you
@mdameen5590
@mdameen5590 2 ай бұрын
How can we access these data sets into projects
@lee_badda
@lee_badda 2 жыл бұрын
Thank you so much sir! It is my first time participating on a competition in Kaggle
@ShriramVasudevan
@ShriramVasudevan 2 жыл бұрын
Keep it up
@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
@unnimayanarayanan2503
@unnimayanarayanan2503 3 жыл бұрын
Very interesting... something very useful for beginners in coding
@ShriramVasudevan
@ShriramVasudevan 3 жыл бұрын
Thanks
@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?
@faizanrana9049
@faizanrana9049 3 жыл бұрын
how much data set can we upload my data set is 42GB is it work for me
@sachindubey7560
@sachindubey7560 Жыл бұрын
That's made my day. Thank you so much sir. Worked smoothly. 💙
@ShriramVasudevan
@ShriramVasudevan Жыл бұрын
Glad u liked.
@vyakhyarastogi
@vyakhyarastogi 3 күн бұрын
Thankyouu soo mch sir you saved my 50marks
@chaitanyaravi4482
@chaitanyaravi4482 3 жыл бұрын
Love this video Thankyou so much Shriram garu
@ShriramVasudevan
@ShriramVasudevan 3 жыл бұрын
Thanks brother
@sagarpadhiyar3666
@sagarpadhiyar3666 2 жыл бұрын
Superb video. so so so much helpful. thank you
@ShriramVasudevan
@ShriramVasudevan 2 жыл бұрын
So glad!
@jantojanistdio
@jantojanistdio 8 ай бұрын
Thank you Sir. U save my life❤
@mekkicharfi5454
@mekkicharfi5454 7 ай бұрын
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.
@lisandrodelfino5106
@lisandrodelfino5106 Жыл бұрын
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 Жыл бұрын
You know what? Never mind. Following your tutorial works just fine. Thanks
@prasadshiva8075
@prasadshiva8075 11 ай бұрын
while creating folder i am getting msg like mkdir: cannot create directory ‘/root/’: File exists. please suggest sir
@ShriramVasudevan
@ShriramVasudevan 11 ай бұрын
Create it in the /home
@Khani-id3og
@Khani-id3og 2 жыл бұрын
Asalam-o-Alikumsir sir test.zip file or train.zip file khn li hn ap ny?? or sir in files mn data khn sy liya tha
@anilveeraghattapu
@anilveeraghattapu Жыл бұрын
! kaggle datasets list 401 - Unauthorized Please tell me, what should I do?
@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"
@sakthi1192
@sakthi1192 3 жыл бұрын
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?
@gideonnketiah-v5z
@gideonnketiah-v5z 8 ай бұрын
what happens if the process doesn´t code successfully
@RAVIKUMARSARANU
@RAVIKUMARSARANU Ай бұрын
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". In my case this option also not showing sir
@dattanidumukkala8178
@dattanidumukkala8178 7 ай бұрын
Cannot stat kaggle.json no such file or directory
@NadinMagdy
@NadinMagdy 3 жыл бұрын
Why can I not find an API command for datasets, only competitions? I want to use a dataset
@keremdogan5792
@keremdogan5792 3 жыл бұрын
Same here. Any advice or solution?
@FuriaKKK
@FuriaKKK 2 жыл бұрын
@@keremdogan5792 ! kaggle datasets download [UserName/DatasetName]
@iabdulwahablearning
@iabdulwahablearning Жыл бұрын
Thanks a lot for this helpful information...
@aqsaishrat9086
@aqsaishrat9086 2 жыл бұрын
I want to ask a question... What if only have train.zip file and don't have a test.zip file?
@ShriramVasudevan
@ShriramVasudevan 2 жыл бұрын
It's required to have both. Else, you can create
@Mathi-o4d
@Mathi-o4d Ай бұрын
how to see the output sir
@imroze8840
@imroze8840 Жыл бұрын
Thanks a lot sir, this is very helpful
@Kashish-hw9gd
@Kashish-hw9gd Жыл бұрын
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 6 ай бұрын
In every new sheet, you have to do again
@santoshsp9466
@santoshsp9466 3 жыл бұрын
If the folder already exists then what are the steps sir
@vishalisharma3883
@vishalisharma3883 9 ай бұрын
i am not able to see my dataset when i try to get it from kaggle
@PradeepKumar-jj7fb
@PradeepKumar-jj7fb 3 жыл бұрын
i couldn't find that type of command which was at 7:43 for my dataset , please help mme
@ShriramVasudevan
@ShriramVasudevan 3 жыл бұрын
Lemme check.
@ASUSPC-yh5cy
@ASUSPC-yh5cy Жыл бұрын
Very Nice Sir ..Very Nice
@plavali_znaem
@plavali_znaem 3 жыл бұрын
God bless you Shriram, brilliant!
@ShriramVasudevan
@ShriramVasudevan 3 жыл бұрын
Thanks :)
@felipe100hq
@felipe100hq 3 жыл бұрын
how can I use the labels?
@shardulkhot6376
@shardulkhot6376 3 жыл бұрын
the dataset is quite large ,how do i proceed sir?
@biggusmaximus1651
@biggusmaximus1651 3 жыл бұрын
Great video sir, from tamil
@ShriramVasudevan
@ShriramVasudevan 3 жыл бұрын
Thanks
@sachinmathew6809
@sachinmathew6809 Жыл бұрын
nice work sir !
@RajeshYadav-xw7tn
@RajeshYadav-xw7tn 3 жыл бұрын
Could you please provide the installation step guide that is used in video .
@KrishnaPatel-yb3lm
@KrishnaPatel-yb3lm 3 жыл бұрын
It shows an error when copying kaggle.json file to the folder created
@rishabhshrivastava9001
@rishabhshrivastava9001 6 ай бұрын
How to convert it into dataset?
@sn__sn
@sn__sn 2 жыл бұрын
Thank you for your time, help me a lot!
@ShriramVasudevan
@ShriramVasudevan 2 жыл бұрын
Thanks.
@Wurfenkopf
@Wurfenkopf 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!
@liyasimon7742
@liyasimon7742 2 жыл бұрын
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.
@ShriramVasudevan
@ShriramVasudevan 2 жыл бұрын
Let me check
@mohitchouksey6707
@mohitchouksey6707 2 жыл бұрын
@@ShriramVasudevan please make code file available
@Sreeja2202
@Sreeja2202 3 жыл бұрын
Sir..Wt to do if it shows " no such file or directory" when trying to make directory
@ShriramVasudevan
@ShriramVasudevan 3 жыл бұрын
You might not have created it right.
@luisaraujo6824
@luisaraujo6824 2 жыл бұрын
Thank you so much!! Very well explained👊
@ShriramVasudevan
@ShriramVasudevan 2 жыл бұрын
Thanks and glad you like it
@krishnapisudde9593
@krishnapisudde9593 2 жыл бұрын
great work sir
@ShriramVasudevan
@ShriramVasudevan 2 жыл бұрын
Thanks
@tonihullzer1611
@tonihullzer1611 3 жыл бұрын
thanks man, very helpful, have a nice day:)
@ShriramVasudevan
@ShriramVasudevan 3 жыл бұрын
Thanks brother
@asinusmurtareed4038
@asinusmurtareed4038 2 жыл бұрын
thank you so much. it's really working!!!!!
@ShriramVasudevan
@ShriramVasudevan 2 жыл бұрын
Glad 😊
@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
@mohanks7144
@mohanks7144 3 жыл бұрын
thank u sir. very much needed and useful
@ShriramVasudevan
@ShriramVasudevan 3 жыл бұрын
Thanks and glad u liked
@lakshmikanthagc607
@lakshmikanthagc607 2 жыл бұрын
Hello Sir, very helpful video you have done. Can you share that word document ?
@ngwemo
@ngwemo 8 ай бұрын
Thanks for insights bro. Notes for the commands , can't seem to find it. Will be great to have 😊
@onnm1981
@onnm1981 2 жыл бұрын
Thanks a lot, it helped me a lot !!
@ShriramVasudevan
@ShriramVasudevan 2 жыл бұрын
Glad.
@MrsCatherineJoy
@MrsCatherineJoy 3 жыл бұрын
how to clear this error
@musicalvlogs4418
@musicalvlogs4418 2 жыл бұрын
very helpful,thank you
@ShriramVasudevan
@ShriramVasudevan 2 жыл бұрын
Glad u liked
@izazahmed8944
@izazahmed8944 2 жыл бұрын
Where is document link?
@ngwemo
@ngwemo 8 ай бұрын
Please do another one now setting it inside the Kaggle notebook itself any directions would be appreciated.
@emekeh
@emekeh 2 жыл бұрын
Thanks for this tutorial.
@ShriramVasudevan
@ShriramVasudevan 2 жыл бұрын
Thanks
@anissaa1017
@anissaa1017 2 жыл бұрын
great tutorial, thank you!
@ShriramVasudevan
@ShriramVasudevan 2 жыл бұрын
Thank you
@AshishKumar-qt1rk
@AshishKumar-qt1rk 2 жыл бұрын
Sir you haven't shared the pdf kindly share it
@atulsain6170
@atulsain6170 2 жыл бұрын
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. 😄
@ShriramVasudevan
@ShriramVasudevan 2 жыл бұрын
Thanks..
@AnjaneyuluPHD
@AnjaneyuluPHD 3 жыл бұрын
thank you so much sir with clear explanation ca we have continuation video after importing dataset in colab...
@ShriramVasudevan
@ShriramVasudevan 3 жыл бұрын
Sure..
@AnjaneyuluPHD
@AnjaneyuluPHD 3 жыл бұрын
@@ShriramVasudevan sir can i download the steps in word document
@AnjaneyuluPHD
@AnjaneyuluPHD 3 жыл бұрын
sir you have explained for json files , how to do import for csv fiels ...
@ShriramVasudevan
@ShriramVasudevan 3 жыл бұрын
I will do a video shortly
@monishaarumugam7570
@monishaarumugam7570 3 жыл бұрын
I get no datasets found
Google's 8 Hour AI Essentials Course In 15 Minutes
15:34
Tina Huang
Рет қаралды 156 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 34 МЛН
How to use Kaggle Datasets directly in Colab
4:56
Omar M. Atef
Рет қаралды 3,8 М.
Loading Kaggle data directly into Google Colab
10:45
DigitalSreeni
Рет қаралды 49 М.
How to Read Dataset in Google Colab from Google Drive
9:46
Krish Naik
Рет қаралды 268 М.
CAUTION: Google's Gemini 2 is ACTUALLY useful
11:52
Alex Ziskind
Рет қаралды 81 М.