#!/bin/bash
if [ $# -eq 0 ]; then
    echo "Please provide the experiment string as an agrument"
    exit -1
fi
export BINARY='bazel run -c opt --config=cuda //experimental/dma/traffic_lights:convert_zimulator_main -- '
#export EXP_DIR='/mnt/flashblade/ekaterina/data/'$1
export EXP_DIR='/mnt/flashblade/zimdata/Intermediate/'$1

export CAMERA_NAME='north_wide_left'
export CAMERA_SERIAL='16062230'
COMMAND="$BINARY --data_dir=${EXP_DIR} --camera_string_identifier=0001-${CAMERA_NAME}__${CAMERA_SERIAL} --camera_name=${CAMERA_NAME}"
echo $COMMAND
$COMMAND


exit




export CAMERA_NAME='north_wide_right'
export CAMERA_SERIAL='16062180'
COMMAND="$BINARY --input_dir=${EXP_DIR} --camera_dirname=0001-${CAMERA_NAME}__${CAMERA_SERIAL} --camera_name=${CAMERA_NAME}"
echo $COMMAND
$COMMAND
