Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

download.py 352 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  1. import pathlib
  2. import kaggle
  3. from zntrack import NodeConfig, nodify
  4. @nodify(
  5. outs=pathlib.Path("dataset"), params={"dataset": "datamunge/sign-language-mnist"}
  6. )
  7. def download_kaggle(cfg: NodeConfig):
  8. """Download dataset from kaggle"""
  9. kaggle.api.dataset_download_files(
  10. dataset=cfg.params.dataset, path=cfg.outs, unzip=True
  11. )
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...