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!
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 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
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.....
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"])!
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
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
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
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?
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.
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 ?
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
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?
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.
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
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
@@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
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
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!
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?
Hi there, Thank you for uploading this video. I tried to understand the complete procedure but couldn't understand '600' here: #CHANGE THE PERMISSION OF KAGGLE.JSON FILE ! chmod 600 ~/.kaggle/kaggle.json One request, pls explain a bit more about the queries we are running. Thank you again.
pls use ur file name #change the permission !chmod a+rx sample_data ~/.kaggle/kaggle.json a+rx u can also use 600 and instead of sample_data write ur own file name
@@eswaranbalamurugan8526 You need to accept the rules of the competition. Go to the dataset, in the data tab click the download all button, which will prompt you to the rule tab to accept all the terms and conditions^^
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!
@MeMonarch Thank you for the additional guide
@@musahabdulmumini2701 you're welcome
Thank you!
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! 😍
Thanks
Thanks for the tutorial but what if the chosen dataset doesn't contain the API command to copy into the colab..?
Perfect tutorial for Kaggle--->Colab. Thank you
Thanks and glad u found it useful
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.
Thanks and glad u liked it
@@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
Very efficient, helpful and easy to understand
Thank you!
Thanks.
@@ShriramVasudevan Sir Word file , pls
7:56 im getting 403 forbidden for this statement
!kaggle competitions download - dogs-vs-cats-redux-kernels-edition
please help me out
Very nice session sir.
Thankyou for your detailed video.
Thank you 🙏
Shriram! This tutorial is undefeated. Thanks
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.....
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
Glad it helped
Very simple video, very nicely explained. The task which seemed impossible to me, you made it very simple. Jai Shriram
Thanks brother
sir, but when i am creating a direc it shows you can not creat any direc, now what should i do for this
Your tutorial is really so much helpful to me. It means a lot. Thanks for sharing such wonderful content to us
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"])!
😀
thanks dude
thank you
Thanku brother🙏
Thankyouu soo mch sir you saved my 50marks
Sir, you have made it simple. It is very useful for the beginners like.me
Thanks
Crisp & Precise explanation, Thank you! 👌🙌
Thanks sukanya .glad u liked
What if the chosen dataset doesn't contain the API command to copy into the colab..?
Such a clear and efficient explanation..!!
Thanks man..!!
Glad it helped!
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
chmod: cannot access '/root/.kaggle/kaggle.json': Not a director not getting this
Very nice explanation, easy to understand and where is the code in the description.? I couldn't find
Love this video
Thankyou so much Shriram garu
Thanks brother
Superb video. so so so much helpful. thank you
So glad!
Thank you for your clear explanations. It was useful
Thank you so much sir.... U made me understand this method in such a easy way.🙏🏻
Thanks
Thank you Sir. U save my life❤
Couldn't download the dataset. i'm getting 403 - Forbidden as the output. can you please explain why?
I'm getting the same thing
did you find any solution?
Very interesting... something very useful for beginners in coding
Thanks
Very Nice Sir ..Very Nice
i couldn't find that type of command which was at 7:43 for my dataset , please help mme
Lemme check.
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
Thanks a lot for this helpful information...
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
@Watch you grow Thank you
Thanks a lot sir, this is very helpful
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?
nice work sir !
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 ?
Thank you so much sir! It is my first time participating on a competition in Kaggle
Keep it up
That's made my day. Thank you so much sir. Worked smoothly.
💙
Glad u liked.
God bless you Shriram, brilliant!
Thanks :)
Great video sir, from tamil
Thanks
great work sir
Thanks
Excuse me Mr Vasudevan.
Any chance you could share that word with the step by step in the description of this video?
Thanks!
You know what? Never mind.
Following your tutorial works just fine. Thanks
ut this is for a competition, what about normal datasets?
I want to ask a question... What if only have train.zip file and don't have a test.zip file?
It's required to have both. Else, you can create
what if the data set does not have the code needed for download
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.
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 ?
Any suggestions for : 401 - Unauthorized
do we have to use ( ! ) this before importing datasets
after running command " ! kaggle competitions download -d 'name-of-dataset'"
it is generating
Error 403: forbidden
any solution you found?
i am getting the same error
Why can I not find an API command for datasets, only competitions? I want to use a dataset
Same here. Any advice or solution?
@@keremdogan5792 ! kaggle datasets download [UserName/DatasetName]
after unzipping the folders how could i import this to be used in my model?
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
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. 😄
Thanks..
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?
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.
Let me check
@@ShriramVasudevan please make code file available
while creating folder i am getting msg like mkdir: cannot create directory ‘/root/’: File exists. please suggest sir
Create it in the /home
how much data set can we upload my data set is 42GB is it work for me
Thank you so much!! Very well explained👊
Thanks and glad you like it
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
It appears cannot create directory '/root/.kaggle ' : file exists
Help me sir what may be the reason???
How can we access these data sets into projects
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
In every new sheet, you have to do again
very helpful video brother
Glad u liked
@@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
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
thank u sir. very much needed and useful
Thanks and glad u liked
Thanks for insights bro.
Notes for the commands , can't seem to find it. Will be great to have
😊
Thank you for your time, help me a lot!
Thanks.
Please do another one now setting it inside the Kaggle notebook itself any directions would be appreciated.
thanks man, very helpful, have a nice day:)
Thanks brother
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
nice.
next part show me the OUTPUT sir.
Sure.
thank you so much sir with clear explanation ca we have continuation video after importing dataset in colab...
Sure..
@@ShriramVasudevan sir can i download the steps in word document
sir you have explained for json files , how to do import for csv fiels ...
I will do a video shortly
Sir..Wt to do if it shows " no such file or directory" when trying to make directory
You might not have created it right.
thank you so much. it's really working!!!!!
Glad 😊
Hello Sir, very helpful video you have done. Can you share that word document ?
! kaggle datasets list
401 - Unauthorized
Please tell me, what should I do?
great ....please put command descriptions under the video
Thanks and will do.
Sir can you tell me "How can I unzip the CSV files downloaded when the .zip file is not present"
what happens if the process doesn´t code successfully
Cannot stat kaggle.json no such file or directory
very helpful,thank you
Glad u liked
Could you please provide the installation step guide that is used in video .
sir , please also show us how to submit data in kaggle through google colab
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!
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?
Thank you so much sir! You should create a tip char and I will happily donate!
My pleasure
@@ShriramVasudevan give me kegel begel, men
i am not able to see my dataset when i try to get it from kaggle
Thanks a lot, it helped me a lot !!
Glad.
thankful to u sir .. .. it's helps
Glad.
Hi there,
Thank you for uploading this video.
I tried to understand the complete procedure but couldn't understand '600' here:
#CHANGE THE PERMISSION OF KAGGLE.JSON FILE
! chmod 600 ~/.kaggle/kaggle.json
One request, pls explain a bit more about the queries we are running.
Thank you again.
Thanks and sure would do that
pls use ur file name
#change the permission
!chmod a+rx sample_data ~/.kaggle/kaggle.json
a+rx u can also use 600 and instead of sample_data write ur own file name
how to see the output sir
If the folder already exists then what are the steps sir
Wonderfull explanation. Do you have any video with all the process: importing from kaggle o Drive until the training results?. Thank you so much ♥♥♥♥♥
I shall get the stuff soon
Thanks for the great session
Thanks bro.
how can I use the labels?
I couldn't do the downloading part. it is showing "403 forbidden". what is the solution?
Let me check n getback
@@ShriramVasudevan also how can we save that dataset to google drive?
I too face the "403 forbidden" error
@@eswaranbalamurugan8526 You need to accept the rules of the competition. Go to the dataset, in the data tab click the download all button, which will prompt you to the rule tab to accept all the terms and conditions^^
@eswaran thankyou.