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

AttributeError: ('The following error happened while compiling the node', Shape_i{0}(x), '\n', "'module' object has no attribute '_get_ndarray_c_version'") #436

Closed yyf closed 5 years ago

yyf commented 5 years ago

Got below error when running the step 05 of building your own voice example:

2019-03-11 22:36:11,730 CRITICAL main : train_DNN threw an exception... AttributeError: ('The following error happened while compiling the node', Shape_i{0}(x), '\n', "'module' object has no attribute '_get_ndarray_c_version'")

Updating theano (1.0.3) and numpy (1.16.2), and changing to older g++ (5.0, 4.8) didn't help. Any other suggestion to resolve this? Thanks.

yyf commented 5 years ago

Updated theano to 1.0.4 (conda install -c conda-forge theano) fixed this issue.