can we train alexnet or others for only one class via transfer learning?

3 views (last 30 days)
is it possible ? can it recognize other classes?

Answers (1)

Mohammad Sami
Mohammad Sami on 26 Dec 2019
For transfer learning, you need to remove the final 3 layers and replace them with your own.
Hence you can train it as binomial model as you wish. The number of classes is determined by the final classfication layer in matlab.
For a tutorial please follow the example from Matlab here

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!