SheffieldML / GPmat

Matlab implementations of Gaussian processes and other machine learning tools.
BSD 3-Clause "New" or "Revised" License
132 stars 92 forks source link

demStickFgplvm2 error #14

Closed tonygon closed 6 years ago

tonygon commented 7 years ago

Hello, the demStickFgplvm2 demo outputs the following on Mac OSX El Capitan, Matlab 2014, nor on Matlab2013-2016 on Linux SuseLeap 42. After the maximum number of iterations are reached, the visualization shows this figures

Moving the mouse on top of figure 1, or pressing the radio button Run dynamics results in the following error on the matlab command prompt.

...
Cycle  998  Error -9216.916698  Scale 1.000000e-15
Cycle  999  Error -9217.442359  Scale 1.000000e-15
Cycle 1000  Error -9218.522775  Scale 1.000000e-15
Maximum number of iterations has been exceeded
Subscripted assignment dimension mismatch.

Error in stickVisualise (line 20)
handle(1) = plot3(vals(:, 1), vals(:, 2), vals(:, 3), '.');

Error in lvmVisualise (line 124)
visHandle = visualiseInfo.visualiseFunction(visData(1:dim), varargin{:});

Error in lvmResultsDynamic (line 23)
  lvmVisualise(model, lbls, [dataType 'Visualise'], [dataType 'Modify'], ...

Error in demStickFgplvm2 (line 48)
lvmResultsDynamic(model.type, dataSetName, experimentNo, 'stick', connect)

Reference to non-existent field 'visHandle'.

The optimization works but what is it supposed to be shown on figure 2?

Regards,

adamian commented 6 years ago

Figure 2 is supposed to show the stick-man moving (something like this: https://www.youtube.com/watch?v=fHDWloJtgk8). Not sure why this isn't working now, I think it has issues with the dynamical prior. It might work if you try the non-dynamical version. You can also try the vargplvm model.