Mohinta2892 / catena

Refactored and revived code from Funke lab for Neuron Segmentation, Synaptic Partner Detection and Microtubule tracking.
0 stars 0 forks source link

Padding inputs with zeros before prediction causes affinity predictions to wrong #6

Open Mohinta2892 opened 2 months ago

Mohinta2892 commented 2 months ago

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).

image

Potential solution is to use reflect padding, instead of constant in np.pad