Related to Focal Loss Layer: is it suitable for multi-class classification?

5 ビュー (過去 30 日間)
Deepak Sivadas
Deepak Sivadas 2021 年 4 月 17 日
回答済み: Hrishikesh Borate 2021 年 4 月 20 日
Does the focal loss layer (in Computer vision toolbox) support multi-class classification (or suited for binary prolems only)?

回答 (1 件)

Hrishikesh Borate
Hrishikesh Borate 2021 年 4 月 20 日
Hi,
The focalLossLayer from the Computer Vision Toolbox does support multi-class classification problems. The classes can be defined during the creation of focalLossLayer using ‘Classes’ property, as shown below.
classes = ["class1", "class2", "class3", "class4"];
layer = focalLossLayer('Classes',classes,'Name','focallosslayer');
For more information, refer to focalLossLayer.

カテゴリ

Help Center および File ExchangeRecognition, Object Detection, and Semantic Segmentation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by