TsotsosLab / SMILER

The Saliency Model Implementation Library for Experimental Research.
Other
44 stars 16 forks source link

[Matlab][AWS] Error using princomp #5

Closed bwijerat closed 5 years ago

bwijerat commented 5 years ago

Error when running matlab model AWS, princomp is no longer available, use pca instead. https://www.mathworks.com/help/stats/princomp.html

************************************************************
*************************** AWS ****************************
************************************************************
Setting up model...
Running model...
Running image [1/2]: flower1.jpg
Error using princomp (line 13)
princomp has been removed. Use pca instead.

Error in aws

Error in AWS_wrap (line 51)
    [~, salmap] = evalc('aws(img,1,2.1)');

[AWS] Error processing image /home/bwijerat/Pictures/input/flower1.jpg.

  File /usr/local/MATLAB/R2018b/toolbox/stats/stats/princomp.m, line 13, in princomp

  File /home/bwijerat/models/matlab/AWS/aws.p, line 0, in aws

  File /home/bwijerat/models/matlab/AWS/AWS_wrap.m, line 51, in AWS_wrap
princomp has been removed. Use pca instead.

Running image [2/2]: big1.jpg
Error using princomp (line 13)
princomp has been removed. Use pca instead.

Error in aws

Error in AWS_wrap (line 51)
    [~, salmap] = evalc('aws(img,1,2.1)');

[AWS] Error processing image /home/bwijerat/Pictures/input/big1.jpg.

  File /usr/local/MATLAB/R2018b/toolbox/stats/stats/princomp.m, line 13, in princomp

  File /home/bwijerat/models/matlab/AWS/aws.p, line 0, in aws

  File /home/bwijerat/models/matlab/AWS/AWS_wrap.m, line 51, in AWS_wrap
princomp has been removed. Use pca instead.

Done with AWS!

Thanks!

cwloka commented 5 years ago

Sorry, this is an issue with the AWS binary (we do not have access to the raw source code). The AWS authors kindly provided us with an updated version which fixes this problem. Sorry for the delay in getting this released.

bwijerat commented 5 years ago

Retested and it's now working. Thanks!