train:
  description: Train MNIST classifier
  main: mnist
  default: yes
  requires:
    target-path: data
    default-unpack: no
    sources:
      - url: http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz
      - url: http://yann.lecun.com/exdb/mnist/train-labels-idx1-ubyte.gz
      - url: http://yann.lecun.com/exdb/mnist/t10k-images-idx3-ubyte.gz
      - url: http://yann.lecun.com/exdb/mnist/t10k-labels-idx1-ubyte.gz
  flags-import:
    - batch_size
    - epochs
  compare:
    - loss step as step
    - loss as train_loss
    - acc as train_acc
  plugins: all

evaluate:
  description: Evaluate a trained MNIST classifier
  main: mnist --test
  requires:
    - operation: train
      select:
        - model
        - data
  flags-import: no
  compare:
    - loss as val_loss
    - acc as val_acc
  plugins: all

train:
  description: Train MNIST classifier
  main: mnist
  default: yes
  requires:
    target-path: data
    default-unpack: no
    sources:
      - url: https://guild-pub.s3.amazonaws.com/mnist/train-images-idx3-ubyte.gz
        sha256: 440fcabf73cc546fa21475e81ea370265605f56be210a4024d2ca8f203523609
      - url: https://guild-pub.s3.amazonaws.com/mnist/train-labels-idx1-ubyte.gz
        sha256: 3552534a0a558bbed6aed32b30c495cca23d567ec52cac8be1a0730e8010255c
      - url: https://guild-pub.s3.amazonaws.com/mnist/t10k-images-idx3-ubyte.gz
        sha256: 8d422c7b0a1c1c79245a5bcf07fe86e33eeafee792b84584aec276f5a2dbc4e6
      - url: https://guild-pub.s3.amazonaws.com/mnist/t10k-labels-idx1-ubyte.gz
        sha256: f7ae60f92e00ec6debd23a6088c31dbd2371eca3ffa0defaefb259924204aec6
  flags-import:
    - batch_size
    - epochs
  compare:
    - loss step as step
    - loss as train_loss
    - acc as train_acc
  plugins: all

evaluate:
  description: Evaluate a trained MNIST classifier
  main: mnist --test
  requires:
    - operation: train
      select:
        - model
        - data
  flags-import: no
  compare:
    - loss as val_loss
    - acc as val_acc
  plugins: all

Change refs to new MNIST resource location
Change refs to new MNIST resource location
