help > CONN 18a SVD did not converge (MVPA)
Showing 1-4 of 4 posts
Oct 4, 2018 06:10 PM | allayankouskaya - Liverpool Hope University
CONN 18a SVD did not converge (MVPA)
Hi Alfonso and CONN community,
I cannot find similar threats and completely stuck with MVPA. I am getting the following error persistently and do not know how to sort it out.
I would greatly appreciate your help/suggestions
thank you in advance,
alla
Analysis: First-level, MVPA, all defaults
Error using svd
SVD did not converge.
Error in conn_process (line 2822)
[Q,D]=svd(c1);
Error in conn_process (line 43)
case 'analyses_gui_vv', disp(['CONN: RUNNING ANALYSIS STEP (voxel-to-voxel analyses)']); conn_process([13],varargin{:});
Error in conn (line 6587)
else conn_process('analyses_gui_vv',CONN_x.vvAnalysis); ispending=false;
Error in conn_menumanager (line 120)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN v.18.a
SPM12 + DEM FieldMap MEEGtools
Matlab v.2018a
storage: 484.9Gb available
spm @ /Volumes/Alla-Work/CURRENT_ANALYSIS/spm12
conn @ /Volumes/Alla-Work/CURRENT_ANALYSIS/conn/conn
I cannot find similar threats and completely stuck with MVPA. I am getting the following error persistently and do not know how to sort it out.
I would greatly appreciate your help/suggestions
thank you in advance,
alla
Analysis: First-level, MVPA, all defaults
Error using svd
SVD did not converge.
Error in conn_process (line 2822)
[Q,D]=svd(c1);
Error in conn_process (line 43)
case 'analyses_gui_vv', disp(['CONN: RUNNING ANALYSIS STEP (voxel-to-voxel analyses)']); conn_process([13],varargin{:});
Error in conn (line 6587)
else conn_process('analyses_gui_vv',CONN_x.vvAnalysis); ispending=false;
Error in conn_menumanager (line 120)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN v.18.a
SPM12 + DEM FieldMap MEEGtools
Matlab v.2018a
storage: 484.9Gb available
spm @ /Volumes/Alla-Work/CURRENT_ANALYSIS/spm12
conn @ /Volumes/Alla-Work/CURRENT_ANALYSIS/conn/conn
Oct 5, 2018 10:10 AM | allayankouskaya - Liverpool Hope University
RE: CONN 18a SVD did not converge (MVPA)
Hi Alfonso and community,
There is a problem with CVD convergence in Matlab 2018a
(https://github.com/brainstorm-tools/brai...).
This issue is fixed in Matlab 2018b. It looks like that upgrading to Matlab 2018b solved the problem: MVPA is running without errors.
alla
There is a problem with CVD convergence in Matlab 2018a
(https://github.com/brainstorm-tools/brai...).
This issue is fixed in Matlab 2018b. It looks like that upgrading to Matlab 2018b solved the problem: MVPA is running without errors.
alla
Oct 5, 2018 10:10 AM | Alfonso Nieto-Castanon - Boston University
RE: CONN 18a SVD did not converge (MVPA)
Hi Alla,
Thanks very much for the follow-up, I was a bit puzzled by the original error and the svd convergence discussion makes a lot of sense. My current plan is to add the following patch to conn_process.m in order to avoid this issue in R2017/R2018a versions:
change the original "[Q,D]=svd(c1);" line 2822 to:
Let me know if that sounds reasonable to you (and/or of course if you have the chance to test it and still run into any issues)
Thanks again
Alfonso
Originally posted by allayankouskaya:
Thanks very much for the follow-up, I was a bit puzzled by the original error and the svd convergence discussion makes a lot of sense. My current plan is to add the following patch to conn_process.m in order to avoid this issue in R2017/R2018a versions:
change the original "[Q,D]=svd(c1);" line 2822 to:
try, [Q,D]=svd(c1);
catch, [Q,D]=svds(c1,NdimsOut);
end
catch, [Q,D]=svds(c1,NdimsOut);
end
Let me know if that sounds reasonable to you (and/or of course if you have the chance to test it and still run into any issues)
Thanks again
Alfonso
Originally posted by allayankouskaya:
Hi Alfonso and community,
There is a problem with CVD convergence in Matlab 2018a
(https://github.com/brainstorm-tools/brai...).
This issue is fixed in Matlab 2018b. It looks like that upgrading to Matlab 2018b solved the problem: MVPA is running without errors.
alla
There is a problem with CVD convergence in Matlab 2018a
(https://github.com/brainstorm-tools/brai...).
This issue is fixed in Matlab 2018b. It looks like that upgrading to Matlab 2018b solved the problem: MVPA is running without errors.
alla
Oct 5, 2018 03:10 PM | allayankouskaya - Liverpool Hope University
RE: CONN 18a SVD did not converge (MVPA)
HI Alfonso,
Just to let you know that I entered the lines as you suggested in CONN (18a) (conn_process.m):
try, [Q,D]=svd(c1);
catch, [Q,D]=svds(c1,NdimsOut) instead of [Q,D]=svd(c1)
I tested MVPA with MATLAB 2018a with 5 subjects (task, 4 sessions, 2 conditions). It runs smoothly with no errors after 1st level and the results of the second level as expected (tested previously with CONN).
Thank you!
best wishes,
alla
Just to let you know that I entered the lines as you suggested in CONN (18a) (conn_process.m):
try, [Q,D]=svd(c1);
catch, [Q,D]=svds(c1,NdimsOut) instead of [Q,D]=svd(c1)
I tested MVPA with MATLAB 2018a with 5 subjects (task, 4 sessions, 2 conditions). It runs smoothly with no errors after 1st level and the results of the second level as expected (tested previously with CONN).
Thank you!
best wishes,
alla