lrslibrary icon indicating copy to clipboard operation
lrslibrary copied to clipboard

Error using lansvd

Open xKlask opened this issue 7 years ago • 2 comments

Hello, I got the error by running the algorithms:

Running Subspace Tracking with Memory Efficient Dynamic Robust PCA (Narayanamurthy and Vaswani, 2017b) Subspace Tracking with Provable Dynamic Robust PCA or Robust Subspace Tracking (Narayanamurthy and Vaswani, 2017a) Matrix Completion with Nearly Optimal Robust matrix Completion (Cherapanamjeri et al. 2016)

Error using lansvd (line 159)
K must satisfy  K <= LANMAX <= MIN(M,N).

Error in ncrpca (line 59)
        sig_t = lansvd(M-S_t, true_r, 'L'); % svd function from propack

Error in run_alg (line 21)
L_hat_init = ncrpca(TrainData, rank_init);

Error in run_algorithm (line 86)
  run_alg;

Error in process_video (line 35)
	results = run_algorithm(method_id, algorithm_id, M, params);

Error in main>pushbutton_process_Callback (line 200)
  stats = process_video(method_id,algorithm_id,inputFileName,outputFileName);

Error in gui_mainfcn (line 95)
        feval(varargin{:});

Error in main (line 42)
    gui_mainfcn(gui_State, varargin{:});

Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)main('pushbutton_process_Callback',hObject,eventdata,guidata(hObject)) 
Error while evaluating UIControl Callback.

Windows 10 x64, Matlab 2017b

xKlask avatar Sep 14 '18 11:09 xKlask

Hi @xKlask , I am sorry for my delayed feedback to you, and thanks for opening this issue, I will check it soon as possible due to my limited time

andrewssobral avatar Oct 10 '18 22:10 andrewssobral

Hi,

I'm having a similar issue.

Error using VideoReader/init (line 619)
Could not read file due to an unexpected error. Reason: Unable to initialize the video obtain properties

Error in VideoReader (line 172)
            obj.init(fileName);

Error in load_video_file (line 19)
  xyloObj = VideoReader(file);

Error in process_video (line 26)
video = load_video_file(inFile);

Error in main>pushbutton_process_Callback (line 200)
  stats = process_video(method_id,algorithm_id,inputFileName,outputFileName);

Error in gui_mainfcn (line 95)
        feval(varargin{:});

Error in main (line 42)
    gui_mainfcn(gui_State, varargin{:});

Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)main('pushbutton_process_Callback',hObject,eventdata,guidata(hObject)) 
Error while evaluating UIControl Callback.

This occurs for some of the algorithms I tried out with a video other than the demo.avi.

Does it got to do with the video decoding process?

PS: I'm running it on 2017b MATLAB on Ubuntu 16.04

srirambadri avatar Oct 17 '18 07:10 srirambadri