Skip to content

Error using demo_LiFE.m #98

@sarwart

Description

@sarwart

Hi!

I downloaded the recommended dataset and ran demo_LiFE.m without making any change to the code or dataset. But I have received the following error

Error using histc
Edge vector must be monotonically non-decreasing.

Error in hist (line 126)
    nn = histc(y,edgesc,1);

Error in feComputeEvidence (line 25)
[se.lesion.hist,   se.lesion.xhist]   = hist(se.lesion.rmse.all,  se.bins);

Error in demo_LiFE (line 252)
se = feComputeEvidence(prob.rmse,det.rmse); 

When I checked the values of "y" and "edgesc", both contained NaNs. Can you please guide what am I doing wrong? I am using MATLAB 2018a on Windows OS. "rmse", "rmsexv", "rrmse" and "w" all are also NaNs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions