Forum Replies Created
-
AuthorPosts
-
This is a bit late, but I encountered the same issue and solved it by creating a “?” file myself (copy-paste-rename). I think it might be due to the fact that exclamation marks are escaped in filenames : “\?”. Another reason not to use weird characters/spaces in filenemes.
I tried to replicate the error independently but it seemed to work fine when not using HTK, so I’d guess the issue is there, but not completely sure.Hi,
I’ve managed to get the right label dimensionality by retraining the durational model with the subphone_feats option set to full and the add_frame_features option set to True (as they are with the acoustic model), and also retrained the acoustic model after spotting an unrelated error.
I am now working with labels of dimension 456 with both durational and acoustic model.
However, I am getting an error at the TRAINDNN stage of the durational model, complaining about the different number of frames in labels and acoustic features:2016-07-25 19:09:57,495 INFO acoustic_comp: processing file 2001 of 2002 : /mnt/courses.homes/s1571333/Documents/dna_synth/ss_dnn/data/nn_dur_5/herald_998.cmp exists
2016-07-25 19:09:57,495 INFO acoustic_comp: processing file 2002 of 2002 : /mnt/courses.homes/s1571333/Documents/dna_synth/ss_dnn/data/nn_dur_5/herald_999.cmp exists
2016-07-25 19:10:06,086 INFO main : normalising acoustic (output) features using method MVN
2016-07-25 19:10:11,819 INFO main : saved MVN vectors to /mnt/courses.homes/s1571333/Documents/dna_synth/ss_dnn/data/norm_info_dur_5_MVN.dat
2016-07-25 19:10:11,824 INFO main : saved dur variance vector to /mnt/courses.homes/s1571333/Documents/dna_synth/ss_dnn/data/var/dur_5
2016-07-25 19:10:11,851 DEBUG labels : HTS-derived input feature dimension is 447 + 9 = 456
2016-07-25 19:10:11,851 INFO main : label dimension is 456
2016-07-25 19:10:11,852 INFO main : training DNN
2016-07-25 19:10:11,854 DEBUG main.train_DNN: Starting train_DNN
2016-07-25 19:10:11,854 DEBUG main.train_DNN: Creating training data provider
2016-07-25 19:10:11,856 DEBUG main.train_DNN: Creating validation data provider
2016-07-25 19:10:11,858 CRITICALListDataProvider: the number of frames in label and acoustic features are different: 378 vs 0
378
0
2016-07-25 19:10:11,858 CRITICAL main : train_DNN threw an exception
Traceback (most recent call last):
File “/mnt/courses.homes/s1571333/Documents/dna_synth/dnn_tts/run_lstm.py”, line 1091, in <module>
main_function(cfg)
File “/mnt/courses.homes/s1571333/Documents/dna_synth/dnn_tts/run_lstm.py”, line 808, in main_function
cmp_mean_vector = cmp_mean_vector, cmp_std_vector = cmp_std_vector)
File “/mnt/courses.homes/s1571333/Documents/dna_synth/dnn_tts/run_lstm.py”, line 201, in train_DNN
shared_train_set_xy, temp_train_set_x, temp_train_set_y = train_data_reader.load_one_partition()
File “/mnt/courses.homes/s1571333/Documents/dna_synth/dnn_tts/utils/providers.py”, line 155, in load_one_partition
shared_set_xy, temp_set_x, temp_set_y = self.load_next_partition()
File “/mnt/courses.homes/s1571333/Documents/dna_synth/dnn_tts/run_lstm.py”, line 792, in main_function
os.makedirs(model_dir)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py”, line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists: ‘/mnt/courses.homes/s1571333/Documents/dna_synth/ss_dnn/nnets_model’Would you have any pointers as to where I have messed up?
Thank you for your timeHi,
I went as far as possible with many other things, but I still need to know about those label features if I am to build a full front-end.
Does anyone have any further information about how the values of these features are defined?Thanks.
Thank you, reducing the batch size worked and I’ve been able to wrap the whole thing in my script.
I can’t seem to find what phrase_score means:
id _52 ; name ordinary ; pos_index 6 ; pos_index_score 0 ; pos jj ; phr_pos j ; phrase_score -3.69733 ; pbreak_index 1 ; pbreak_index_score 0 ; pbreak NB ;
-
AuthorPosts