Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kaldi_2015
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yoann HOUPERT
kaldi_2015
Commits
073b7826
Commit
073b7826
authored
Aug 11, 2015
by
vesis84
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nnet1: cosmetic change to
0b216964
parent
6d2036c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
egs/rm/s5/local/nnet/run_multilingual.sh
egs/rm/s5/local/nnet/run_multilingual.sh
+4
-4
No files found.
egs/rm/s5/local/nnet/run_multilingual.sh
View file @
073b7826
...
...
@@ -39,9 +39,9 @@ num_langs=${#lang_code[@]}
# Check if all the input directories exist,
for
i
in
$(
seq
0
$[
num_langs-1]
)
;
do
echo
"lang =
${
lang_code
[
$i
]
}
, alidir =
${
ali_dir
[
$i
]
}
, datadir =
${
data_dir
[
$i
]
}
"
[
!
-d
${
ali_dir
[
$i
]
}
]
&&
echo
"Missing
${
ali_dir
[
$i
]
}
"
&&
exit
1
[
!
-d
${
data_dir
[
$i
]
}
]
&&
echo
"Missing
${
data_dir
[
$i
]
}
"
&&
exit
1
echo
"lang =
${
lang_code
[
$i
]
}
, alidir =
${
ali_dir
[
$i
]
}
, datadir =
${
data_dir
[
$i
]
}
"
[
!
-d
${
ali_dir
[
$i
]
}
]
&&
echo
"Missing
${
ali_dir
[
$i
]
}
"
&&
exit
1
[
!
-d
${
data_dir
[
$i
]
}
]
&&
echo
"Missing
${
data_dir
[
$i
]
}
"
&&
exit
1
done
# Make the features,
...
...
@@ -88,7 +88,7 @@ objective_function="multitask$(echo ${ali_dim[@]} | tr ' ' '\n' | \
awk
-v
w
=
$lang_weight_csl
'BEGIN{ split(w,w_arr,/[,:]/); } { printf(",xent,%d,%s", $1, w_arr[NR]); }'
)
"
echo
"Multitask objective function:
$objective_function
"
# DNN training will be in $dir, the alignments are prepared beforeh
ea
d,
# DNN training will be in $dir, the alignments are prepared beforeh
an
d,
dir
=
exp/dnn4g-multilingual
${
num_langs
}
-
$(
echo
$lang_code_csl
|
tr
','
'-'
)
[
!
-e
$dir
]
&&
mkdir
-p
$dir
echo
"
$lang_code_csl
"
>
$dir
/lang_code_csl
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment