Open DecentMakeover opened 4 years ago
Hi there,
I hope this question is still of interest. I will assume that you talk about a computer vision problem using a deep neural network. What you are talking about is commonly referred to as transfer learning. Transfer learning uses the fact, that the lower layers in a convolutional network learn lower level features like straight lines or circles, etc.. The classification usually takes place in the fully connected layers at the top of your network. In order to reuse the weights on different classes, you have to do the following:
Best regards
Hello Thanks for sharing your work.
Lets say i have 5 classes in my first dataset =[cat, dog, cheetah, lion, tiger] i train a model for these classes.
How can i use the weights trained for this model and fine tune a model on 3 classes =[panda, bear, gorilla]
since the classes in the second dataset are not present in the first one.How can this be done?
Any suggestion will be helpful.Thanks in advance.