Download dataset from Kaggle to Ubuntu server

First take a screenshot to commemorate the successful download of the HAM10000 dataset

Then record the process

1. Obtain the key file in kaggle

Refer to https://zhuanlan.zhihu.com/p/36061667  , and then copy the generated kaggle.json to ~/.kaggle/kaggle.json. See link for details.

2. Install the Kaggle API on the server side

Reference link https://github.com/Kaggle/kaggle-api/issues/29

Use this command to install: python3 -m pip install kaggle

3. Copy the download command under the data set corresponding to kaggle

(For example here: kaggle datasets download -d kmader/skin-cancer-mnist-ham10000 )

 

Guess you like

Origin blog.csdn.net/daimaliang/article/details/100182653