Closed yokiqust closed 5 years ago
mask = imresize(255 * mask, (self.mask_size, self.mask_size), mode='constant') in the coco.py line 281, in there should use 255.0, when use a integer, the following mask will be a 0 matrix.
mask = imresize(255 * mask, (self.mask_size, self.mask_size), mode='constant')
Thanks for pointing this out! Fixed in https://github.com/google/sg2im/commit/26383737500a2855e772637a222bb0a871034f0d
mask = imresize(255 * mask, (self.mask_size, self.mask_size), mode='constant')
in the coco.py line 281, in there should use 255.0, when use a integer, the following mask will be a 0 matrix.