mirror of
https://github.com/FunAudioLLM/SenseVoice.git
synced 2025-09-15 15:08:35 +08:00
Add support for finding the train_ds.py file in site-packages
This commit is contained in:
parent
8bfeb30514
commit
eeec6bb8f2
@ -43,7 +43,6 @@ DISTRIBUTED_ARGS="
|
||||
echo $DISTRIBUTED_ARGS
|
||||
|
||||
# funasr trainer path
|
||||
train_tool=
|
||||
if [ -f `dirname $(which funasr)`/train_ds.py ]; then
|
||||
train_tool=`dirname $(which funasr)`/train_ds.py
|
||||
elif [ -f `dirname $(which funasr)`/../lib/python*/site-packages/funasr/bin/train_ds.py ]; then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user