Related to Focal Loss Layer: is it suitable for multi-class classification?
8 views (last 30 days)
Hrishikesh Borate on 20 Apr 2021
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.