train_shapes.ipynb
99.2 KB
-
由 Waleed Abdulla 提交于
If the mask is a rectangle, its mini-mask pixels become all 1s, and it has no zeros. Scipy imresize fails on that and returns 0s instead. This update fixes the problem.
dffcb611
If the mask is a rectangle, its mini-mask pixels become all 1s, and it has no zeros. Scipy imresize fails on that and returns 0s instead. This update fixes the problem.