burney47
(Hannes Hinrichs)
July 1, 2019, 7:41am
1
When I try to download the planets dataset from Kaggle into my drive I get the following issue. It somehow can’t handle the space in “My Drive”. Could you tell me how to fix that?
path = Path(base_dir + 'data/planet')
path.mkdir(parents=True, exist_ok=True)
path
PosixPath(’/content/gdrive/My Drive/fastai-v3/data/planet’)
! kaggle competitions download -c planet-understanding-the-amazon-from-space -f train-jpg.tar.7z -p {path}
! kaggle competitions download -c planet-understanding-the-amazon-from-space -f train_v2.csv -p {path}
! unzip -q -n {path}/train_v2.csv.zip -d {path}
404 - Not Found
404 - Not Found
unzip: cannot find or open /content/gdrive/My, /content/gdrive/My.zip or /content/gdrive/My.ZIP.
kushaj
(Kushajveer Singh)
July 1, 2019, 8:07am
2
Have you followed all the steps as in this guide link .
Zerotool
(Mac Mohan)
July 1, 2019, 12:29pm
3
@burney47 you can use some tools like floydhub or clouderizer.com to get rid of these challenges. It gives very cool and clean integration.
TomB
July 1, 2019, 12:56pm
4
You have to put quotes around any arguments with spaces on the linux command line. So try:
! unzip -q -n "{path}/train_v2.csv.zip" -d "{path}"
(Note that {path}
is expanded before the command is passed to the linux shell so your original version is like trying to execute unzip -q -n /content/gdrive/My Drive/fastai-v3/data/planet/train_v2.csv.zip -d /content/gdrive/My Drive/fastai-v3/data/planet
)
4 Likes
You have to download it. Search it on the forum that someone has uploaded it on Google drive and shared it for you.
shiven_004
(Shivender Khajuria)
August 4, 2020, 4:20am
8
Hi DL Team,
I am getting “404 not found” and “unzip command not recognized” error on my local Jupyter notebook.
Kindly guide on this.
Thanks,
Shiven
shiven_004
(Shivender Khajuria)
August 5, 2020, 3:36am
9
@all and sundry: Any update on this?