#!/bin/bash
DOMAIN="triangles_mnist"
NAME="map_elites_line_${DOMAIN}"

# TQDM is disabled to hopefully help speed up the jobs by preventing them from
# competing for stdout.
TQDM_DISABLE=1 python -m src.discrete_qd --multirun hydra/launcher=joblib \
  hydra.launcher.n_jobs=1 \
  hydra.job.name="$NAME" \
  hydra.sweep.dir="'./logs/$NAME/\${now:%Y-%m-%d_%H-%M-%S}'" \
  hydra.sweep.subdir="'\${hydra:job.num}__\${hydra:runtime.choices.domain}_seed=\${seed}'" \
  domain="${DOMAIN}" \
  algo=map_elites_line \
  algo/archive=cvt_mnist_1000 \
  itrs=10000 \
  eval=standard \
  eval/archive=cvt_mnist_1000 \
  seed=$(python scripts/seeds.py 5)
