#!/bin/bash

FWDIR="$(cd `dirname $0`/..; pwd)"
pushd $FWDIR

IMAGENET_TRAIN_DIR="/imagenet-train-all-scaled-tar"
IMAGENET_VAL_DIR="/imagenet-validation-all-scaled-tar"
IMAGENET_LABELS="/root/shivaram-keystone/src/main/resources/imagenet-labels"

DATE=`date +"%Y_%m_%d_%H_%M_%S"`
mkdir -p /mnt/logs

export SPARK_HOME=/root/spark

KEYSTONE_MEM=100g ./bin/run-pipeline.sh \
  pipelines.images.imagenet.LazyImageNetDaisyLcsFV \
  --trainLocation $IMAGENET_TRAIN_DIR \
  --testLocation $IMAGENET_VAL_DIR \
  --labelPath $IMAGENET_LABELS \
  --numPcaSamples 10000000 \
  --numGmmSamples 10000000 \
  --vocabSize 64 \
  --centroidBatchSize 32 2>&1 | tee /mnt/logs/imagenet-daisy-$DATE-vocab-64.log

popd

Add script to run daisy
Add script to run daisy
