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 Commenti

Tarily
Tarily il 11 Giu 2023
Modificato: Tarily il 11 Giu 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.

Accedi per commentare.

 Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Deep Learning Toolbox in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!