Skip to content

A problem for lstm_init_v52 #1

Description

@tzczsq

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions