You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to compile this in windows. i fixed all the dependency related issues, but i am stuck at one place.
The Dump and Load function in utils class is showing error and i am not able to compile it. Any help will be really helpful
Error 101 error C2784: 'void Dump(const Eigen::Matrix<Real,rows,-1,1> &,FILE *)' : could not deduce template argument for 'const Eigen::Matrix<Real,rows,-1,1> &' from 'const RowMatrix' c:\users\users\documents\visual studio 2012\projects\rnnlm\faster-rnnlm\hierarchical_softmax.cc 251
Error 102 error C2784: 'void Load(Eigen::Matrix<Real,rows,-1,1> *,FILE *)' : could not deduce template argument for 'Eigen::Matrix<Real,rows,-1,1> *' from 'RowMatrix *' c:\users\users\documents\visual studio 2012\projects\rnnlm\faster-rnnlm\hierarchical_softmax.cc 255
Error 126 error C2784: 'void Dump(const Eigen::Matrix<Real,rows,-1,1> &,FILE *)' : could not deduce template argument for 'const Eigen::Matrix<Real,rows,-1,1> &' from 'const RowMatrix' c:\users\users\documents\visual studio 2012\projects\rnnlm\faster-rnnlm\nce.cc 196
Error 127 error C2784: 'void Load(Eigen::Matrix<Real,rows,-1,1> *,FILE *)' : could not deduce template argument for 'Eigen::Matrix<Real,rows,-1,1> *' from 'RowMatrix *' c:\users\users\documents\visual studio 2012\projects\rnnlm\faster-rnnlm\nce.cc 200
The text was updated successfully, but these errors were encountered:
@gogabr
I think, your change causes other issues by building under Ubuntu, like my errors:
../faster-rnnlm/util.h: In instantiation of ‘void DumpMatrixArray(std::vector<Matrix*>, FILE_) [with Matrix = Eigen::Matrix<float, 1, -1>; FILE = IO_FILE]’:
../faster-rnnlm/layers/interface.h:128:37: required from here
../faster-rnnlm/util.h:45:9: error: no matching function for call to ‘Dump(Eigen::Matrix<float, 1, -1>&, FILE&)’
../faster-rnnlm/util.h:29:13: note: candidate: template<int rows, int MaxRows, int MaxCols> void Dump(const Eigen::Matrix<float, rows, -1, 1>&, FILE)
inline void Dump(const Eigen::Matrix<Real, rows, Eigen::Dynamic, Eigen::RowMajor>& matrix, FILE fo) {
^
../faster-rnnlm/util.h:29:13: note: template argument deduction/substitution failed:
../faster-rnnlm/util.h:45:9: note: couldn't deduce template parameter ‘_MaxRows’
Dump(*array[i], fo);
I am trying to compile this in windows. i fixed all the dependency related issues, but i am stuck at one place.
The Dump and Load function in utils class is showing error and i am not able to compile it. Any help will be really helpful
Error 101 error C2784: 'void Dump(const Eigen::Matrix<Real,rows,-1,1> &,FILE *)' : could not deduce template argument for 'const Eigen::Matrix<Real,rows,-1,1> &' from 'const RowMatrix' c:\users\users\documents\visual studio 2012\projects\rnnlm\faster-rnnlm\hierarchical_softmax.cc 251
Error 102 error C2784: 'void Load(Eigen::Matrix<Real,rows,-1,1> *,FILE *)' : could not deduce template argument for 'Eigen::Matrix<Real,rows,-1,1> *' from 'RowMatrix *' c:\users\users\documents\visual studio 2012\projects\rnnlm\faster-rnnlm\hierarchical_softmax.cc 255
Error 126 error C2784: 'void Dump(const Eigen::Matrix<Real,rows,-1,1> &,FILE *)' : could not deduce template argument for 'const Eigen::Matrix<Real,rows,-1,1> &' from 'const RowMatrix' c:\users\users\documents\visual studio 2012\projects\rnnlm\faster-rnnlm\nce.cc 196
Error 127 error C2784: 'void Load(Eigen::Matrix<Real,rows,-1,1> *,FILE *)' : could not deduce template argument for 'Eigen::Matrix<Real,rows,-1,1> *' from 'RowMatrix *' c:\users\users\documents\visual studio 2012\projects\rnnlm\faster-rnnlm\nce.cc 200
The text was updated successfully, but these errors were encountered: