• W
    Fix mask resizing crash with tiny masks. · 38ed3398
    Waleed Abdulla 提交于
    skimage.transform.resize() crashes with a floating
    point exception if the image has 1-pixel width or
    height and the mode=“reflection”. Changing mode to
    “constant” (the default) fixes the issue. And, 
    it’s the correct mode to use anyway.
    38ed3398
model.py 111.2 KB