Inner matrix dimensions must agree error in demToyUnsupervised
psurya1994 opened this issue · 8 comments
psurya1994 commented
I get this error when I run demToyUnsupervised. When I tried to debug, I found that the dimensions actually don't agree.
Error using *
Inner matrix dimensions must agree.
Error in ppcaEmbed (line 50)
X = Ycentre*u(:, 1:dims)*diag(1./sqrt(v(1:dims)));
Error in vargplvmCreate (line 109)
X = initFunc(model.m, q);
Error in vargplvmEmbed (line 67)
model = vargplvmCreate(latentDim, d, Y, options);
Error in hsvargplvmModelCreate (line 164)
curX = [curX initFunc(m{i}, Q1, initXOptions{h}{:})];
Error in demToyHsvargplvm1 (line 101)
model = hsvargplvmModelCreate(Ytr, options, globalOpt, initXOptions);
Error in demToyUnsupervised (line 38)
demToyHsvargplvm1; % Run the actual demo
Error in tutorial (line 39)
demToyUnsupervised; % Call to the demo
Amar2407 commented
Can you try to run demTutorial.m and see if it works there?
psurya1994 commented
@Amar2407 I'm assuming you mean deepGP/matlab/tutorial.m
. Tried that, didn't work from there either.
Amar2407 commented
I will look at it surya and will get back to you!
psurya1994 commented
Sure! :)
WeiHuang05 commented
Hi, you may download netlab and add the path to demToyUnsupervised.
psurya1994 commented
Oh thanks, I'll try that.
psurya1994 commented
Works, thanks for the suggestion @WeiHuang05 :)
WeiHuang05 commented
@psurya1994 I am glad that helps you