slurm predict-plot: fixup

This commit is contained in:
Starbeamrainbowlabs 2022-09-16 19:27:26 +01:00
parent 7e9c119b04
commit 24c5263bf0
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -36,7 +36,7 @@ if [[ -z "${INPUT}" ]]; then
exit 0;
fi
if [[ ! -d "${INPUT}" ]]; then
if [[ ! -r "${INPUT}" ]]; then
echo -e "Error: The input filepath at '${INPUT}' containing the input .tfrecord dataset either doesn't exist or isn't a directory.";
show_help;
exit 1;