Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Caused by: org.apache.sysds.runtime.DMLRuntimeException: ERROR: Runtime error in for program block generated from for statement block between lines 0 and 0 -- Error evaluating for program block at org.apache.sysds.runtime.controlprogram.ForProgramBlock.execute(ForProgramBlock.java:164) at org.apache.sysds.runtime.controlprogram.FunctionProgramBlock.execute(FunctionProgramBlock.java:136) ... 53 more Caused by: org.apache.sysds.runtime.DMLRuntimeException: ERROR: Runtime error in program block generated from statement block between lines 52 and 55 -- Error evaluating instruction: CP°rightIndex°logical·FRAME·STRING·false°1·SCALAR·INT64·true°1·SCALAR·INT64·true°i·SCALAR·INT64·false°i·SCALAR·INT64·false°_fVar5845613·FRAME·STRING at org.apache.sysds.runtime.controlprogram.ProgramBlock.executeSingleInstruction(ProgramBlock.java:289) at org.apache.sysds.runtime.controlprogram.ProgramBlock.executeInstructions(ProgramBlock.java:203) at org.apache.sysds.runtime.controlprogram.BasicProgramBlock.execute(BasicProgramBlock.java:125) at org.apache.sysds.runtime.controlprogram.ForProgramBlock.execute(ForProgramBlock.java:143) ... 54 more Caused by: org.apache.sysds.runtime.DMLRuntimeException: Invalid values for frame indexing: [1:1,4:4] must be within frame dimensions [1,3] at org.apache.sysds.runtime.matrix.data.FrameBlock.slice(FrameBlock.java:1086) at org.apache.sysds.runtime.matrix.data.FrameBlock.slice(FrameBlock.java:1065) at org.apache.sysds.runtime.matrix.data.FrameBlock.slice(FrameBlock.java:1058) at org.apache.sysds.runtime.instructions.cp.FrameIndexingCPInstruction.processInstruction(FrameIndexingCPInstruction.java:54) at org.apache.sysds.runtime.controlprogram.ProgramBlock.executeSingleInstruction(ProgramBlock.java:254) ... 57 more
This issue occurs whenever a specific logical pipeline with less than num-configs occurs:
Example 1:
# FRAME: nrow = 1, ncol = 4 # C1 C2 C3 C4 # STRING STRING STRING STRING imputeByMean wtomeklink dummycoding ppca # FRAME: nrow = 1, ncol = 3 # C1 C2 C3 # STRING STRING STRING ED DUMMY DIM
Example 2:
# FRAME: nrow = 1, ncol = 6 # C1 C2 C3 C4 C5 C6 # STRING STRING STRING STRING STRING STRING imputeByMean imputeByMean imputeByMean SMOTE dummycoding m_pca # FRAME: nrow = 1, ncol = 3 # C1 C2 C3 # STRING STRING STRING ED DUMMY DIM