CSTR-Edinburgh / merlin

This is now the official location of the Merlin project.
http://www.cstr.ed.ac.uk/projects/merlin/
Apache License 2.0
1.3k stars 441 forks source link

Shape error during training #486

Open antontc opened 4 years ago

antontc commented 4 years ago

2019-10-12 20:40:38,462 INFO acoustic_comp: processing file 1 of 226 : /home/parallels/Desktop/merlin-master/egs/slt_arctic/s1/experiments/slt_arctic_full/acoustic_model/inter_module/nn_lf0_60/arctic_a0005.cmp Traceback (most recent call last): File "/home/parallels/Desktop/merlin-master/src/run_merlin.py", line 1322, in main_function(cfg) File "/home/parallels/Desktop/merlin-master/src/run_merlin.py", line 694, in main_function perform_acoustic_composition(delta_win, acc_win, in_file_list_dict, nn_cmp_file_list, cfg, parallel=True) File "/home/parallels/Desktop/merlin-master/src/run_merlin.py", line 510, in perform_acoustic_composition pool.map(perform_acoustic_composition_on_split, splits_full) File "/usr/lib/python2.7/multiprocessing/pool.py", line 253, in map return self.map_async(func, iterable, chunksize).get() File "/usr/lib/python2.7/multiprocessing/pool.py", line 572, in get raise self._value ValueError: could not broadcast input array from shape (8120,1) into shape (406,20)

Hi. I'm trying to train acoustic model. For my task I change lf0 to 20. The data in lf0 folder have (x, 20) dimension. What is wrong?