From 9947f94407c745a7bef6c71f9fa53fc994ec1d38 Mon Sep 17 00:00:00 2001 From: Matthew Maciejewski Date: Tue, 1 Jan 2019 14:09:42 -0500 Subject: [PATCH] switched from bc to perl for overlap computation --- egs/callhome_diarization/v1/diarization/extract_ivectors.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/callhome_diarization/v1/diarization/extract_ivectors.sh b/egs/callhome_diarization/v1/diarization/extract_ivectors.sh index 882b5800908..d7bb389bad5 100755 --- a/egs/callhome_diarization/v1/diarization/extract_ivectors.sh +++ b/egs/callhome_diarization/v1/diarization/extract_ivectors.sh @@ -92,7 +92,7 @@ if [ $stage -le 0 ]; then fi utils/data/get_uniform_subsegments.py \ --max-segment-duration=$window \ - --overlap-duration=$(echo "$window-$period" | bc) \ + --overlap-duration=$(perl -e "print $window-$period") \ --max-remaining-duration=$min_segment \ --constant-duration=True \ $segments > $dir/subsegments