How to classify multitasking and multi-label in MATLAB using deeplearning?

9 views (last 30 days)
In the past alexnet, googlenet, etc. are multi-category single-label classification network.Recently, I just want to train a single network can be a picture of many aspects of the description, I do not know whether the current MATLAB can achieve such a problem?
  3 Comments
cui,xingxing
cui,xingxing on 24 Jun 2023
You should be looking for answers on your own, based on misinformation, rather than asking for solutions without thinking.

Sign in to comment.

Accepted Answer

cui,xingxing
cui,xingxing on 24 Jun 2023
Multi-label classification can be done by changing the loss function to "binary cross-entropy loss", as far as I can remember, using a statement like the following
loss = crossentropy(Y,T. TargetCategories="independent")

More Answers (0)

Community Treasure Hunt

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

Start Hunting!