This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# The add-lhuc directive adds "lhuc" layers (NaturalGradientPerElementScaleComponent) | |
# after each layer matching name (can include wildcards). | |
model_dir=exp/nnet3/my_model | |
echo "$0: Adding LHUC layers into existing model $model_dir/final.mdl" | |
edits="add-lhuc name='tdnn*l' param-mean=1.0 param-stddev=0.0" |