Submitted by kingfung1120 t3_z2kb6r in deeplearning
Lets say I have a huge labeled dataset which contains 3 classes { class_a, class_b, anything_but_a_b} the class 'anything_but_a_b' is neither class_a or class_b. A model is already trained with this dataset.
If I want to add a new class called class_c with a dataset of classes { class_c, not_class_c } (note: not_class_c data could possibly belongs to class_a/class_b/anything_but_a_b, while there could be some class_c inside anything_but_a_b). And I want to build a 4-classes model to predict { class_a, class_b, class_c, anything_but_a_b_c }, how should I train the model without manually relabeling the original 3-classes dataset?
More info:
{ class_a, class_b, class_c, anything_but_a_b_c } these 4 classes are mutually exclusive
​
Edit: modify wordings
suflaj t1_ixgrm1f wrote
You can add a new class to the classifier and then do model surgery to transfer old model weights onto part of your new model.