Hi Everyone.
I remember @jeremy gave instruction to download a Kaggle data using the Curl command in Firefox.
I wanted to download https://www.kaggle.com/c/dog-breed-identification/data for experimenting Lesson 1. Below is the Curl command from the Firefox
curl 'https://storage.googleapis.com/kaggle-competitions-data/kaggle/7327/labels.csv.zip?GoogleAccessId=competitions-data@kaggle-161607.iam.gserviceaccount.com&Expires=1509818286&Signature=kVhHkOVrMgUXDakeDoPPRaa3gCD8FFh5CXzdKsFeQjQTKesS3F5mlBtwi6Pv8kFC4XHi76jHGkQ%2F4vpYoUhQkreUjyUvH3TtviEKHJpXfHxSGfOxX5l%2BC7g9dycIbDFYiX2PRgTcvHCd4QC66pYweAeTos6k2hC0bp0jZLZlSjWeMARDBi%2FXsQCZxYfJgOf%2BeN%2FhEEUdjpjdiFWgsjtTSH%2F%2F0UISUxPDbD3xxqLPMLaDMM5PFx6aLKD5lfF5JLIXDgnflgD9%2BF8AweDjq%2FitUVw6MFQbRzEwNcrklkV8J4ZX0ZFyRiSi7ylbKxjbC0ght8fdWt%2BEktjrtDx2NixXFA%3D%3D' -H 'Host: storage.googleapis.com' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:54.0) Gecko/20100101 Firefox/54.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-GB,en;q=0.5' --compressed -H 'Referer: https://www.kaggle.com/c/dog-breed-identification/data' -H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -o data
It is not downloading nor it is giving any error. Can you please help.
P.S I am not sure if it is ok to Post the command. If there is any security risk please flag it I will remove the post.
For Kaggle, I personally like the kaggle-cli tool found here from the previous version of this course.
Since the data is in .zip, you’d need to install unzip on Crestle. It doesn’t let you sudo in (which you’d need, as described in that link I mention above). Use conda install unzip as a workaround and unzip later.
…however what should I do to make this work in practice with kaggle-cli ?
For others potentially strugging with the same problem: I finally managed to get the data loaded to Crestle using the cURL trick showed by Jeremy in the Machine Learning course lesson 1 video (around 23:00 minutes). However, I wasn’t able to paste anything (in this case the long cURL) to Crestle terminal using Firefox. When I tried with Internet Explorer, the “paste” option became available when right-clicking…
Thanks, Everyone , that worked. But it will also be good @anurag can provide an upload with a zip files for the dataset then it will be great. This will allow us to prepare the dataset preprocessing and update it to crestle .
Under which directory of crestle? I can’t find the dataset… And When I try to use the kaggle cli, I get the error like "pkg_resources.DistributionNotFound: The ‘lxml<4.1,>= 4.0.0’ distribution not found and is required by kaggle-cli "
The problem is not with the Non-Type, I guess it is the problem with the password/username/competition, When I execute -kg config -g -u bdekoven -p xxxx -c dog-breed-identification
it works.