fix example led_en_zh st1 (#3955)

pull/3956/head
Wang Xin 1 week ago committed by GitHub
parent 8ee3a7ee40
commit 1b9217f9f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -203,7 +203,7 @@ if [ ${stage} -le 3 ] && [ ${stop_stage} -ge 3 ]; then
echo "stage 3: Format the Json Data" echo "stage 3: Format the Json Data"
for (( i=0; i<${#x[*]}; ++i)); do for (( i=0; i<${#x[*]}; ++i)); do
python3 ${MAIN_ROOT}/utils/espnet_json_to_manifest.py \ python3 ${MAIN_ROOT}/utils/espnet_json_to_manifest.py \
--json-file ${x[$i]}/data_${bpemode}${nbpe}.json --json-file ${x[$i]}/data_${bpemode}${nbpe}.json \
--manifest-file data/manifest.${y[$i]} --manifest-file data/manifest.${y[$i]}
done done
fi fi

@ -11,8 +11,6 @@ import json
import logging import logging
import sys import sys
from espnet.utils.cli_utils import get_commandline_args
from paddlespeech.utils.argparse import strtobool from paddlespeech.utils.argparse import strtobool
is_python2 = sys.version_info[0] == 2 is_python2 = sys.version_info[0] == 2
@ -44,7 +42,7 @@ if __name__ == "__main__":
logging.basicConfig(level=logging.INFO, format=logfmt) logging.basicConfig(level=logging.INFO, format=logfmt)
else: else:
logging.basicConfig(level=logging.WARN, format=logfmt) logging.basicConfig(level=logging.WARN, format=logfmt)
logging.info(get_commandline_args()) logging.info(args)
# make intersection set for utterance keys # make intersection set for utterance keys
js = [] js = []

Loading…
Cancel
Save