Input raw EM that are smaller than (232,232,232) in shape need to be padded before inference.
However, if padded with 0s, predicted affinities may not be highly accurate (see screenshot).
Potential solution is to use reflect padding, instead of constant in np.pad
Input raw EM that are smaller than (232,232,232) in shape need to be padded before inference. However, if padded with 0s, predicted affinities may not be highly accurate (see screenshot).
Potential solution is to use
reflect
padding, instead ofconstant
innp.pad