Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A problem for lstm_init_v52 #1

Open
tzczsq opened this issue Dec 13, 2016 · 3 comments
Open

A problem for lstm_init_v52 #1

tzczsq opened this issue Dec 13, 2016 · 3 comments

Comments

@tzczsq
Copy link

tzczsq commented Dec 13, 2016

Hi,
when I run vLSTM/applications/speaker-naming/audio_only/sn_audio_train.m, or vLSTM/applications/speaker-naming/face_only/sn_face_train.m, there exists an error as described below.

没有为类 'gpuArray' 找到具有匹配签名的方法 'cumprod'。

出错 lstm_core_v52 (line 117)
cum_prod = cumprod(mem.forget_gate{L}{s}(:,:,2:t), 3, 'reverse');

出错 sn_audio_train (line 59)
lstm_core_v52(in, label);

My platform is Windows 7 and Matlab 2014a. When i implement "help cumprod", the cumprod can be found.

help cumprod
cumprod - Cumulative product

This MATLAB function returns an array the same size as the array A containing
the cumulative product.If A is a vector, then cumprod(A) returns a vector
containing the cumulative product of the elements of A.If A is a matrix, then
cumprod(A) returns a matrix containing the cumulative products for each column
of A.If A is a multidimensional array, then cumprod(A) acts along the first
nonsingleton dimension.

B = cumprod(A)
B = cumprod(A,dim)

I do not know why.
Could you tell me how to fix this problem.

@jimmy-ren
Copy link
Owner

jimmy-ren commented Dec 13, 2016 via email

@tzczsq
Copy link
Author

tzczsq commented Dec 14, 2016 via email

@tzczsq
Copy link
Author

tzczsq commented Apr 4, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants