LogoLogo
  • Overview
  • Setup and Configuration
  • Other Data Versioning Systems
  • Examples
    • Tutorial
      • Creating Bundles with the Python API
      • Push/Pull using S3
      • Simple Pipeline
      • Run the Pipeline
      • Dockerize a Pipeline
      • Run the Pipeline Container (locally)
      • Run the Pipeline Container (AWS)
    • Examples
      • MNIST and TensorFlow
      • Spacy Task
  • Basic Concepts
    • Bundles
      • Naming
      • Bundle Data Types
      • Tags and Parameters
      • Lineage (or Bundle Metadata)
    • Data Contexts
  • Reference
    • CLI Reference
      • dsdt add
      • dsdt apply
      • dsdt cat
      • dsdt context
      • dsdt commit
      • dsdt dockerize
      • dsdt init
      • dsdt lineage
      • dsdt ls
      • dsdt pull
      • dsdt push
      • dsdt remote
      • dsdt rm
      • dsdt rmr
      • dsdt switch
    • Python API
  • Details
  • Building Pipelines
  • Running Pipelines on AWS
  • Admin
    • Contact / Slack
Powered by GitBook
On this page
  • This example illustrates:
  • Setup
  • Optional
  • Now on to TF and MNIST

Was this helpful?

  1. Examples

Examples

PreviousRun the Pipeline Container (AWS)NextMNIST and TensorFlow

Last updated 5 years ago

Was this helpful?

This example illustrates:

  • How to setup a Disdat project to use TensorFlow (require tensorflow in your setup.py)

  • How to assemble Disdat tasks into a pipeline

  • How task outputs become bundles

  • How to include extra data in your Docker container

Setup

Like the Tutorial, let's clone our examples repo:

  1. Clone our examples github repo (https://github.com/seanr15/disdat-examples)

  2. We'll assume you've installed it in $CODE

  3. cd into the $CODE.

Note that it has its own setup.py, defining the requirements for our example pipelines (in the pipelines package). Let's install those requirements into your virtual environment.

$ cd $CODE
$ pip install -e .

We assume you have made an examples context and have switched into it. If not:

$ dsdt context examples
$ dsdt switch examples

Optional

$dsdt context
*	examples	[examples@s3://disdat-prod/context]

If you want to push/pull your MNIST data to/from S3, then we assume you have bound the local context examples to your remote (). So if you list your contexts, you should see that you are in examples and its bound to a directory s3://disdat-prod/ on AWS.

Now on to

here.
described here
TF and MNIST