projects
/
BK-2020-03.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat(user/bknpass):Move unitproc ver to user
[BK-2020-03.git]
/
user
/
transcribe_whisper.sh
diff --git
a/user/transcribe_whisper.sh
b/user/transcribe_whisper.sh
index 39944cea1bd6065d008327b5f6335ab4c59c5bc1..00dc3139add4422ec23629bb51dd89648aad90f8 100755
(executable)
--- a/
user/transcribe_whisper.sh
+++ b/
user/transcribe_whisper.sh
@@
-3,7
+3,7
@@
# Usage: ./transcribe_whisper.sh [dir] 3
# Input: arg1 input dir
# arg2 CUDA graphics card number (zero-indexed)
# Usage: ./transcribe_whisper.sh [dir] 3
# Input: arg1 input dir
# arg2 CUDA graphics card number (zero-indexed)
-# Version: 0.
2
.0
+# Version: 0.
4
.0
# Depends: whisper ( https://github.com/openai/whisper )
# Find settings
# Depends: whisper ( https://github.com/openai/whisper )
# Find settings
@@
-54,7
+54,7
@@
find_flist() {
}; # print file list to stdout from dir with script parameters
main() {
# Input: arg1: dir_in input dir
}; # print file list to stdout from dir with script parameters
main() {
# Input: arg1: dir_in input dir
- # arg2
cuda_num cuda GPU index
+ # arg2
:
cuda_num cuda GPU index
# var: fdepth (find_flist) find depth
# var: firegex (find_flist) pattern find iregex
# var: fsize (find_flist) find size
# var: fdepth (find_flist) find depth
# var: firegex (find_flist) pattern find iregex
# var: fsize (find_flist) find size
@@
-89,7
+89,7
@@
main() {
echo "STATUS:$SECONDS:Finished:$line" 1>&2;
rm "$ftmp"; # remove .tmp file
);
echo "STATUS:$SECONDS:Finished:$line" 1>&2;
rm "$ftmp"; # remove .tmp file
);
- done < <(find_flist "$dir_in");
+ done < <(find_flist "$dir_in"
| shuf
);
}; # main program
export -f yell die must find_flist;
}; # main program
export -f yell die must find_flist;