allow spaces in bash args with "$@" (#6521)

This commit is contained in:
Sam Shleifer
2020-08-17 09:06:35 -04:00
committed by GitHub
parent b41cc0b86a
commit d2da2cb232
7 changed files with 7 additions and 7 deletions

View File

@@ -23,7 +23,7 @@ python finetune.py \
--output_dir=$OUTPUT_DIR \
--num_train_epochs=1 \
--gpus=0 \
--do_train $@
--do_train "$@"
rm -rf cnn_tiny
rm -rf $OUTPUT_DIR