52fe8de7880d08fc7f2eff1115e95d8a98b34dd0,deepmedic/dataManagement/sampling.py,,extractSegmentsGivenSliceCoords,#Any#Any#Any#Any#,879

Before Change


    channsForSegmentsPerPathToReturn = [[] for i in range(
        cnn3d.getNumPathwaysThatRequireInput())]  // [pathway, image parts, channels, r, c, z]
    // RCZ dims of input to primary pathway (NORMAL). Which should be the first one in .pathways.
    dimsOfPrimarySegment = cnn3d.pathways[0].getShapeOfInput("test")[2:]

    for segment_i in range(numberOfSegmentsToExtract):
        rLowBoundary = sliceCoordsOfSegmentsToExtract[segment_i][0][0]
        rFarBoundary = sliceCoordsOfSegmentsToExtract[segment_i][0][1]

After Change


    channsForSegmentsPerPathToReturn = [[] for i in range(
        cnn3d.getNumPathwaysThatRequireInput())]  // [pathway, image parts, channels, r, c, z]
    // RCZ dims of input to primary pathway (NORMAL). Which should be the first one in .pathways.
    dimsOfPrimarySegment = cnn3d.get_inp_shape_of_path(0, "test")
    
    for segment_i in range(numberOfSegmentsToExtract):
        rLowBoundary = sliceCoordsOfSegmentsToExtract[segment_i][0][0]
        rFarBoundary = sliceCoordsOfSegmentsToExtract[segment_i][0][1]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: Kamnitsask/deepmedic
Commit Name: 52fe8de7880d08fc7f2eff1115e95d8a98b34dd0
Time: 2020-01-15
Author: konstantinos.kamnitsas12@imperial.ac.uk
File Name: deepmedic/dataManagement/sampling.py
Class Name:
Method Name: extractSegmentsGivenSliceCoords


Project Name: Kamnitsask/deepmedic
Commit Name: 52fe8de7880d08fc7f2eff1115e95d8a98b34dd0
Time: 2020-01-15
Author: konstantinos.kamnitsas12@imperial.ac.uk
File Name: deepmedic/dataManagement/sampling.py
Class Name:
Method Name: load_subj_and_sample


Project Name: Kamnitsask/deepmedic
Commit Name: 52fe8de7880d08fc7f2eff1115e95d8a98b34dd0
Time: 2020-01-15
Author: konstantinos.kamnitsas12@imperial.ac.uk
File Name: deepmedic/routines/testing.py
Class Name:
Method Name: inference_on_whole_volumes