AutoTrain - Part 1: Ingredients

Builtin RegistryURL copied

1. Create a section with function you want to refer toURL copied

  • Here, the function is going to be called under the variable project.data.download,
  • the function that we will be writing will be registered under the name download_mnist, and
  • it will take the variables base and source as inputs
[project]
version = 0.0.1
name = mnist
root = /home/me/projects/${project.name}

[project.data]
source = https://files.fast.ai/data/examples/mnist_tiny.tgz
root = ${root}/data/

[project.data.download]
@download_function = download_mnist
base = ${project.data.root}
source_url = ${project.data.source}
config.ini