Merge pull request #737 from Jackwaterveg/fixing_bug

Fixing bug
pull/739/head
Hui Zhang 3 years ago committed by GitHub
commit 8432b9b256
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,10 +15,10 @@ if [ $? -ne 0 ]; then
fi
# download well-trained model
bash local/download_model.sh
if [ $? -ne 0 ]; then
exit 1
fi
#bash local/download_model.sh
#if [ $? -ne 0 ]; then
# exit 1
#fi
# start demo server
CUDA_VISIBLE_DEVICES=0 \

@ -116,7 +116,8 @@ def create_manifest(data_dir, manifest_path):
subset = os.path.splitext(manifest_path)[1][1:]
manifest_dir = os.path.dirname(manifest_path)
meta_path = os.path.join(manifest_dir, dtype) + '.meta'
data_dir_name = os.path.split(data_dir)[-1]
meta_path = os.path.join(manifest_dir, data_dir_name) + '.meta'
with open(meta_path, 'w') as f:
print(f"{subset}:", file=f)
print(f"{total_num} utts", file=f)

@ -95,7 +95,8 @@ def create_manifest(data_dir, manifest_path):
subset = os.path.splitext(manifest_path)[1][1:]
manifest_dir = os.path.dirname(manifest_path)
meta_path = os.path.join(manifest_dir, dtype) + '.meta'
data_dir_name = os.path.split(data_dir)[-1]
meta_path = os.path.join(manifest_dir, data_dir_name) + '.meta'
with open(meta_path, 'w') as f:
print(f"{subset}:", file=f)
print(f"{total_num} utts", file=f)

Loading…
Cancel
Save