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.31k stars 440 forks source link

Error when executing train_duration_model.sh script #514

Open priyanthini opened 4 years ago

priyanthini commented 4 years ago

I'm getting the following error when trying to train duration model. Can someone help me to solve this please?

Traceback (most recent call last): File "/home/abc/python-environments/merlin/src/run_merlin.py", line 1320, in main_function(cfg) File "/home/abc/python-environments/merlin/src/run_merlin.py", line 647, in main_function min_max_normaliser.find_min_max_values(nn_label_file_list[0:cfg.train_file_number]) File "/home/abc/python-environments/merlin/src/frontend/min_max_norm.py", line 100, in find_min_max_values temp_min = numpy.amin(features, axis = 0) File "/home/abc/python-environments/pyvirtual/local/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 2618, in amin initial=initial) File "/home/abc/python-environments/pyvirtual/local/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 86, in _wrapreduction return ufunc.reduce(obj, axis, dtype, out, passkwargs) ValueError: zero-size array to reduction operation minimum which has no identity**

Thank you.