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

2 次查看(过去 30 天)
is it possible ? can it recognize other classes?

回答(1 个)

Mohammad Sami
Mohammad Sami 2019-12-26
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

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by