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 Kommentare

Tarily
Tarily am 11 Jun. 2023
Bearbeitet: Tarily am 11 Jun. 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.

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!