annotate bugs.m @ 106:298fa66fe344

Merge
author Mark Plumbley <mark.plumbley@eecs.qmul.ac.uk>
date Wed, 13 Apr 2011 00:12:06 +0100
parents e1f90e0f76ec e2ce05e21a55
children
rev   line source
mark@100 1 % MDP: File "COPYING" is not included in the distribution?
mark@100 2
jespiaud@88 3 % I encountered an error while running SMALL_solver_test_Audio :
jespiaud@88 4
jespiaud@88 5 %??? Error using ==>
jespiaud@88 6 %problems\private\completeOps>@(x)reshape(data.B(x,1),data.signalSize)
jespiaud@88 7 %Too many input arguments.
jespiaud@88 8 %Error in ==> SMALL_playAudio at 17
jespiaud@88 9 %SMALL.solver.reconstructed = SMALL.Problem.reconstruct(SMALL.solver.solution);
jespiaud@88 10 %Error in ==> SMALL_solver_test_Audio at 96
jespiaud@88 11 %SMALL_playAudio(SMALL);
jespiaud@88 12
jespiaud@88 13
Raja@91 14 % version of Matlab used: 7.9.0.529 - 64 bits
Raja@91 15
Raja@91 16
Raja@91 17
Raja@90 18 Bugs by Raja Giryes:
Raja@90 19 Using the tollbox on windows with Matlab R2010b:
Raja@90 20 bug1:
Raja@90 21 running SMALL_solver_test_Audio.m
Raja@90 22 I get:
Raja@90 23 Starting solver SMALL_cgp...
Raja@90 24 Solver SMALL_cgp finished task in 251.208410 seconds (cpu time).
Raja@90 25 Solver SMALL_cgp finished task in 159.905633 seconds (tic-toc time).
Raja@90 26
Raja@90 27 Starting solver SolveBP...
Raja@90 28 ??? Error using ==> eval
Raja@90 29 Undefined function or method 'SolveBP' for input arguments of type
Raja@90 30 'function_handle'.
Raja@90 31
Raja@90 32 Error in ==> SMALL_solve at 46
Raja@90 33 y = eval([solver.name,'(SparseLab_A, b, n,',solver.param,');']);
Raja@90 34
Raja@90 35 Error in ==> SMALL_solver_test_Audio at 93
Raja@90 36 SMALL.solver(i)=SMALL_solve(SMALL.Problem, SMALL.solver(i));
Raja@90 37
Raja@90 38 running SMALL_solver_test.m
Raja@90 39 I get:
Raja@90 40 Starting solver SMALL_cgp...
Raja@90 41 Solver SMALL_cgp finished task in 2.839218 seconds (cpu time).
Raja@90 42 Solver SMALL_cgp finished task in 2.821443 seconds (tic-toc time).
Raja@90 43
Raja@90 44 Starting solver SolveOMP...
Raja@90 45 ??? Error using ==> eval
Raja@90 46 Undefined function or method 'SolveOMP' for input arguments of type
Raja@90 47 'function_handle'.
Raja@90 48
Raja@90 49 Error in ==> SMALL_solve at 46
Raja@90 50 y = eval([solver.name,'(SparseLab_A, b, n,',solver.param,');']);
Raja@90 51
Raja@90 52 Error in ==> SMALL_solver_test at 113
Raja@90 53 SMALL.solver(i)=SMALL_solve(SMALL.Problem, SMALL.solver(i));
myvaigha@97 54
myvaigha@97 55
myvaigha@97 56 Bug report from Mehrdad Yaghoobi:
myvaigha@97 57 1. The rice mdwt crashed on my matlab session runing on linux 64!!!
myvaigha@97 58 2. problem with hg merge using EasyMercurial.
myvaigha@97 59
valentin@103 60
valentin@103 61
valentin@103 62
mark@105 63 % MDP: Files "my_dummy_solver.m" etc should include the boiler plate function
mark@105 64 % header etc.
mark@106 65
mark@106 66
mark@106 67
mark@106 68
valentin@102 69 %%%%%%%%%%%%%%%%%
valentin@102 70 % bug by Valentin
valentin@102 71 %%%%%%%%%%%%%%%%%
valentin@102 72 % In SMALLboxSetup.m
valentin@102 73 % On Windows XP, 32 bits, Matlab R2010a
valentin@102 74 %
valentin@102 75 % > SMALLboxSetup
valentin@102 76 % ...
valentin@102 77 % Compiling the Rice Wavelet Toolbox MEX interfaces...Error mdwt.c: 39 undeclared identifier `intptr_t'
valentin@102 78 % Warning mdwt.c: 39 Statement has no effect
valentin@102 79 % Error mdwt.c: 39 syntax error; found `m' expecting `;'
valentin@102 80 % Error mdwt.c: 39 undeclared identifier `m'
valentin@102 81 % Error mdwt.c: 39 undeclared identifier `n'
valentin@102 82 % Error mdwt.c: 39 undeclared identifier `h_col'
valentin@102 83 % Error mdwt.c: 39 undeclared identifier `h_row'
valentin@102 84 % Error mdwt.c: 39 undeclared identifier `lh'
valentin@102 85 % Error mdwt.c: 39 undeclared identifier `L'
valentin@102 86 % Error mdwt.c: 39 undeclared identifier `i'
valentin@102 87 % Error mdwt.c: 39 undeclared identifier `po2'
valentin@102 88 % Error mdwt.c: 39 undeclared identifier `j'
valentin@102 89 % Warning mdwt.c: 39 Statement has no effect
valentin@102 90 % Error mdwt.c: 40 illegal statement termination
valentin@102 91 % Error mdwt.c: 40 skipping `double'
valentin@102 92 % Error mdwt.c: 40 undeclared identifier `mtest'
valentin@102 93 % Error mdwt.c: 40 undeclared identifier `ntest'
valentin@102 94 % Warning mdwt.c: 40 Statement has no effect
valentin@102 95 % Error mdwt.c: 62 operands of * have illegal types `int' and `pointer to double'
valentin@102 96 % Warning mdwt.c: 39 possible usage of po2 before definition
valentin@102 97 % Warning mdwt.c: 39 possible usage of intptr_t before definition
valentin@102 98 % Warning mdwt.c: 38 local `pointer to double Lf' is not referenced
valentin@102 99 % Error mdwt.c: 106 missing parameter type
valentin@102 100 % Error mdwt.c: 106 syntax error; found `m' expecting `)'
valentin@102 101 % Error mdwt.c: 106 skipping `m' `,' `intptr_t' `n' `,'
valentin@102 102 % Error mdwt.c: 106 syntax error; found `double' expecting `{'
valentin@102 103 % Error mdwt.c: 106 too many errors
valentin@102 104 %
valentin@102 105 % C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: Compile of 'mdwt.c' failed.
valentin@102 106 %
valentin@102 107 % Warning: Could not compile Rice Wavelet Toolbox MEX interfaces.\n
valentin@102 108 % > In SMALLboxSetup at 365
valentin@102 109 %
valentin@102 110 % ******************************************************************
valentin@102 111 %
valentin@102 112 % Initialising SMALLbox Examples Setup
valentin@102 113 % ******************************************************************
valentin@102 114 %
valentin@102 115 % SMALLbox Installation Complete!
valentin@102 116 %
valentin@102 117 % For more information on the installed toolboxes see
valentin@102 118 %
valentin@102 119 % Sparco: http://www.cs.ubc.ca/labs/scl/sparco/
valentin@102 120 %
valentin@102 121 % SPGL1: http://www.cs.ubc.ca/labs/spgl1/?n=HomePage
valentin@102 122 %
valentin@102 123 % SparseLab: http://sparselab.stanford.edu/ (PLEASE REGISTER SPARSELAB!)
valentin@102 124 %
valentin@102 125 % Sparsify: http://www.see.ed.ac.uk/~tblumens/sparsify/sparsify.html
valentin@102 126 %
valentin@102 127 % GPSR: http://www.lx.it.pt/~mtf/GPSR/
valentin@102 128 %
valentin@102 129 % OMPbox and KSVDBox: http://www.cs.technion.ac.il/~ronrubin/
valentin@102 130 %
valentin@102 131 %
valentin@102 132 % Would you like to run a demo: ([y]/n)?
valentin@102 133 %
valentin@102 134 % 1 to run SMALL_solver_test
valentin@102 135 % 2 to run Dictionary Learning for Image Denoising demo
valentin@102 136 % q to quit: 1
valentin@102 137 %
valentin@102 138 % Running SMALL_solver_test problem
valentin@102 139 %
valentin@102 140 % Example test of SMALL solvers against their counterparts on Sparco problems.
valentin@102 141 %
valentin@102 142 % ??? Undefined function or method 'mdwt' for input arguments of type
valentin@102 143 % 'double'.
valentin@102 144 %
valentin@102 145 % Error in ==> opWavelet>opWavelet_intrnl at 55
valentin@102 146 % [y,l] = mdwt(reshape(x,[m,n]), h, levels);
valentin@102 147 %
valentin@102 148 % Error in ==>
valentin@102 149 % opWavelet>@(x,mode)opWavelet_intrnl(m,n,family,filter,levels,type,h,x,mode)
valentin@102 150 % at 37
valentin@102 151 % op = @(x,mode)
valentin@102 152 % opWavelet_intrnl(m,n,family,filter,levels,type,h,x,mode);
valentin@102 153 %
valentin@102 154 % Error in ==> prob006 at 67
valentin@102 155 % data.x0 = data.op.Daubechies(data.signal,2);
valentin@102 156 %
valentin@102 157 % Error in ==> generateProblem at 101
valentin@102 158 % [data] = eval(sprintf('prob%03d(varargin{:});',index));
valentin@102 159 %
valentin@102 160 % Error in ==> SMALL_solver_test at 61
valentin@102 161 % SMALL.Problem = generateProblem(6, 'P', 6, 'm', 270,'n',1024,
valentin@102 162 % 'show');
valentin@102 163 %
valentin@102 164 % Error in ==> SMALLboxSetup at 416
valentin@102 165 % SMALL_solver_test;
valentin@102 166 %