-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I have pushed a new feature: getting pixel masks. It is quite hacky and can give imperfect results:
import genthor.datasets as gd
dataset = gd.GenerativeDatasetTest()
preproc = {'crop': None,
'crop_rand': None,
'dtype': 'float32',
'mask': None,
'mode': 'RGB',
'normalize': False,
'size': (256, 256, 3),
'seed': 0}
pm = dataset.get_pixel_masks(preproc)
imshow(pm[50])Which comes from the fact that I am rendering on a solid color background and then checking which points are that color. @yamins81 Are there any simple tricks I could play with the lighting spec and choice of solid color that would minimize these types of errors?
Metadata
Metadata
Assignees
Labels
No labels