Skip to content

Commit

Permalink
Fix bash string
Browse files Browse the repository at this point in the history
  • Loading branch information
carmocca committed Aug 27, 2021
1 parent 338f267 commit 8d1c423
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions pl_examples/run_examples.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
set -ex

dir_path=$(dirname "${BASH_SOURCE[0]}")
args="--trainer.max_epochs=1 " \
"--data.batch_size=32 " \
"--trainer.limit_train_batches=2 " \
"--trainer.limit_val_batches=2 " \
"--trainer.limit_test_batches=2 "\
"--trainer.limit_predict_batches=2"
args="
--data.batch_size=32
--trainer.max_epochs=1
--trainer.limit_train_batches=2
--trainer.limit_val_batches=2
--trainer.limit_test_batches=2
--trainer.limit_predict_batches=2
"

python "${dir_path}/basic_examples/simple_image_classifier.py" ${args} "$@"
python "${dir_path}/basic_examples/backbone_image_classifier.py" ${args} "$@"
Expand Down

0 comments on commit 8d1c423

Please sign in to comment.