Why array exceeds maximum array size preference with Graph-Cut energy minimization techniques?

1 visualización (últimos 30 días)
Hi
I am using a toolbox for alpha-beta expansion technique for energy minimization, my data 60 slices of 256x256 pix (tot ~4G voxels), that is slices is a 256-by-256-by-60 array. Once you feed slices into your net (one by one or in batches ) I have prob probability of size 256-by-256-by-60-by-4. Note: even with one slice of stack 5 classes, i am getting memory error.
I am facing the following error:
Error using UGM_Decode_ICMC
Requested 4298768384x80 (2562.3GB) 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_Decode_ICM (line 15)
y =
UGM_Decode_ICMC(nodePot,edgePot,int32(edgeStruct.edgeEnds),int32(edgeStruct.nStates),int32(edgeStruct.V),int32(edgeStruct.E),int32(y));
Error in example_alphaBeta_UGM (line 17)
yICM = UGM_Decode_ICM(nodePot,edgePot,edgeStruct);
Do you have any suggestion? I really appreciate it. Thanks

Respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by