Skip to content

Commit

Permalink
added quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornell committed Jun 14, 2023
1 parent a130763 commit a959fce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion egs2/chime7_task1/asr1/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ asr_batch_size=$(calc_int 128*$ngpu) # reduce 128 bsz if you get OOMs errors
asr_max_lr=$(calc_float $ngpu/10000.0)
asr_warmup=$(calc_int 40000.0/$ngpu)

if [[ $decode_only != "dev" ]] && [[ $decode_only != "eval" ]] && [[ -n $decode_only ]];
if [[ $decode_only != "dev" ]] && [[ $decode_only != "eval" ]] && [[ -n "$decode_only" ]];
then
log "decode_only argument should be either dev, eval or empty"
exit
Expand Down
2 changes: 1 addition & 1 deletion egs2/chime7_task1/diar_asr1/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ if [ "${decode_only}" == "eval" ]; then
fi


if [[ $decode_only != "dev" ]] && [[ $decode_only != "eval" ]] && [[ -n $decode_only ]];
if [[ $decode_only != "dev" ]] && [[ $decode_only != "eval" ]] && [[ -n "$decode_only" ]];
then
log "decode_only argument should be either dev, eval or empty"
exit
Expand Down

0 comments on commit a959fce

Please sign in to comment.