Skip to content

Instantly share code, notes, and snippets.

@qaixerabbas
Last active July 22, 2022 11:12
Show Gist options
  • Save qaixerabbas/e968fbc9d8777ca9bf20c226cd3e7204 to your computer and use it in GitHub Desktop.
Save qaixerabbas/e968fbc9d8777ca9bf20c226cd3e7204 to your computer and use it in GitHub Desktop.
A simple code to download Kaggle datasets to specified directories
#pip install opendatasets
#this will download the datasets into the specified folder / Google Drive
#pass the kaggle dataset URL string as an argument to od.download() function
import opendatasets as od
od.download("https://www.kaggle.com/datasets/jangedoo/utkface-new")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment