mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-22 09:13:01 +00:00
pretrain-predict: only queue pretrain-plot if I we output jsonl
This commit is contained in:
parent
ffcb2e3735
commit
13a8f3f511
1 changed files with 5 additions and 3 deletions
|
@ -85,6 +85,8 @@ echo COMMAND: conda run -n py38 /usr/bin/env time -v src/index.py pretrain-predi
|
||||||
conda run -n py38 /usr/bin/env time -v src/index.py pretrain-predict --input "${INPUT}" --output "${filepath_output}" -c "${CHECKPOINT}" ${ARGS}
|
conda run -n py38 /usr/bin/env time -v src/index.py pretrain-predict --input "${INPUT}" --output "${filepath_output}" -c "${CHECKPOINT}" ${ARGS}
|
||||||
echo ">>> exited with code $?";
|
echo ">>> exited with code $?";
|
||||||
|
|
||||||
# dirpath_output="$(dirname "${filepath_output}")";
|
if [[ "${filepath_output}" != *.tfrecord* ]]; then
|
||||||
INPUT="${filepath_output}" POSTFIX="${POSTFIX}" sbatch slurm-pretrain-plot.job
|
# dirpath_output="$(dirname "${filepath_output}")";
|
||||||
echo ">>> Queued UMAP plot"
|
INPUT="${filepath_output}" POSTFIX="${POSTFIX}" sbatch slurm-pretrain-plot.job
|
||||||
|
echo ">>> No tfrecord output detected, queued UMAP plot"
|
||||||
|
fi
|
Loading…
Reference in a new issue