Closed Meulen92 closed 4 years ago
Hi,
First of all, thanks for the awesome work.
My question: Is it possible to train the models using images paired with masks. So, not random masks? Very much as in testing mode. My dataset consists of images and a mask file for each image.
Can I, for example, use mask type 6 in the config?
if mask_type == 6: mask = imread(self.mask_data[index]) mask = self.resize(mask, imgh, imgw, centerCrop=False) mask = rgb2gray(mask) mask = (mask > 0).astype(np.uint8) * 255 return mask
Thanks in advance!
Tried this and it seems to work fine. Thank you.
Hi,
First of all, thanks for the awesome work.
My question: Is it possible to train the models using images paired with masks. So, not random masks? Very much as in testing mode. My dataset consists of images and a mask file for each image.
Can I, for example, use mask type 6 in the config?
Thanks in advance!