mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-12-22 22:25: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}
|
||||
echo ">>> exited with code $?";
|
||||
|
||||
# dirpath_output="$(dirname "${filepath_output}")";
|
||||
INPUT="${filepath_output}" POSTFIX="${POSTFIX}" sbatch slurm-pretrain-plot.job
|
||||
echo ">>> Queued UMAP plot"
|
||||
if [[ "${filepath_output}" != *.tfrecord* ]]; then
|
||||
# dirpath_output="$(dirname "${filepath_output}")";
|
||||
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