-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi, so I have trained the model to segment my custom dataset into multiple classes (different zones of the object). My masks are having 0, 1, 2 and 3 as pixel values to represent backgound and the 3 zones of the object. However, when I try to run predict.py it generates completely black masks, I tried to parse through the image to check if it contains any non-zero values and found out that all pixels are zeros. Is there anywhere in the training or prediction code I would have to change to accommodate my requirements? I gave the number of classes as 4 in training and prediction arguments, is that incorrect? Should I have given 3 as perhaps you don't count background as a class?
Metadata
Metadata
Assignees
Labels
No labels