Mohinta2892 / catena

Neuron Segmentation, Synaptic Partner Detection and Microtubule tracking for vEM with EM-2-EM translation. Codebase built upon Funke lab's algorithms.
7 stars 1 forks source link

Predicter Assertion Error: Roi shape mismatch #17

Closed Mohinta2892 closed 4 months ago

Mohinta2892 commented 4 months ago

If an error like below appears when running predicter.py, it means your patch size is larger than the input shape. AssertionError: ROI [568:1000, 568:1000, 568:1000] (432, 432, 432) does not align with voxel size (8, 8, 8) * data shape (1, 3, 72, 72, 72)

To calculate patch size: 432/8 = 54, this is match output size Use input_shape = (172,172,172) to get output_shape=(48,48,48).