- This topic has 2 replies, 2 voices, and was last updated 1 month ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
› Forums › Technical support › Unable to update train models in hmm1 directory
I am trying to initialize and train a set of models on several users using -S. For some reason, after running the script the trained models in hmm1 folder have not been updated. If I delete them, it does not create new ones. Only by using the standard script that trains on 1 user, trained model files are updated/created in hmm1. I am not sure why this is, here is my script:
PROTO=5state
set -x
# initialise each model
for WORD in cat resources/word_list
do
echo Initialising model of ${WORD}
HInit -T 1 \
-G ESPS \
-m 1 \
-C resources/CONFIG \
-l ${WORD} \
-M models/hmm0 \
-o ${WORD} \
-L ${DATA}/lab/train/ \
-S scripts/${FILE} \
models/proto/$PROTO
echo Training model of ${WORD}
HRest -T 1 \
-G ESPS \
-m 1 \
-C resources/CONFIG \
-l ${WORD} \
-M models/hmm1 \
-L ${DATA}/lab/train/ \
-S scripts/${FILE} \
models/proto/$PROTO
done
You are telling HRest
to load models/proto/$PROTO
whereas it should start with the models just created by HInit
, although this won’t actually cause an error in HTK.
Look for an error message from HRest
– if it is failing to create any models, it should report an error.
Remember to always wipe all models (from hmm0
and hmm1
) before every experiment: this will help you catch errors.
Ah thank you, looks like I forgot to load the initialized models in this script. I didn’t find any error previously, but I can see that the correct trained model files are being written.
Some forums are only available if you are logged in. Searching will only return results from those forums if you log in.
Copyright © 2025 · Balance Child Theme on Genesis Framework · WordPress · Log in