tensorflow-deeplab-v3-plus
tensorflow-deeplab-v3-plus copied to clipboard
Training in two classes
I need to train the network only in two classes from PASLAC VOC. Background and personal.
train.py
_NUM_CLASSES = 2
preprocessing.py
label_colours = [(0, 0, 0), # 0=background
(192, 128, 128) # 15=person]
Am I doing the right thing?
Yes, if your training set, person label, is 192,128,128, that should work. I use (128,0,0) to annotate the other class
what should I set If I want to retrain the model in two classes, that is, I want to the model output two classes