Skip to content

Error using UGM_makeEdgeVEC #8

@TJ1451154

Description

@TJ1451154

hello, Thank you for sharing your code.
my operating system is ubuntu16.04. I downloaded UGM_2011.zip and compiled it successfully.
when i run benchmark.m:
Error using UGM_makeEdgeVEC
Requested 4296291607x7311422349372966656 (17179869184.0GB) array exceeds maximum array size preference. Creation of arrays greater than this limit may take a long time and
cause MATLAB to become unresponsive. See array size limit or preference panel for more information.
Error in UGM_makeEdgeVE (line 11)
[V,E] = UGM_makeEdgeVEC(int32(edgeEnds),int32(nNodes));

Error in UGM_makeEdgeStruct (line 26)
[V,E] = UGM_makeEdgeVE(edgeEnds,nNodes,useMex);

Error in LBP_sum_product (line 21)
edgeStruct = UGM_makeEdgeStruct(adjacency,nClasses,1);

Error in benchmark (line 37)
[p_lpb_sp, T] = LBP_sum_product(initial_classif, graph, .5, 10);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions