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

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 commentaires

Tarily
Tarily le 11 Juin 2023
Modifié(e) : Tarily le 11 Juin 2023
Dear, do you know this answer? I have the same question now 🥺
Perhaps this example will give you some inspiration and you can change it to suit your needs.
You should be looking for answers on your own, based on misinformation, rather than asking for solutions without thinking.

Connectez-vous pour commenter.

 Réponse acceptée

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")

Plus de réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!