File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
src/otx/algo/classification/heads Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,10 @@ All notable changes to this project will be documented in this file.
7272 (< https://github.com/openvinotoolkit/training_extensions/pull/3946 > )
7373- Fix config converter for tiling
7474 (< https://github.com/openvinotoolkit/training_extensions/pull/3973 > )
75+ - Fix num_trials calculation on dataset length less than num_class
76+ (< https://github.com/openvinotoolkit/training_extensions/pull/4014 > )
77+ - Fix out_features in HierarchicalCBAMClsHead
78+ (< https://github.com/openvinotoolkit/training_extensions/pull/4016 > )
7579
7680## \[ v2.1.0\]
7781
Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ def __init__(
355355 self .fc_superclass = nn .Linear (in_channels * self .step_size [0 ] * self .step_size [1 ], num_multiclass_heads )
356356 self .attention_fc = nn .Linear (num_multiclass_heads , in_channels * self .step_size [0 ] * self .step_size [1 ])
357357 self .cbam = CBAM (in_channels )
358- self .fc_subclass = nn .Linear (in_channels * self .step_size [0 ] * self .step_size [1 ], num_single_label_classes )
358+ self .fc_subclass = nn .Linear (in_channels * self .step_size [0 ] * self .step_size [1 ], num_classes )
359359
360360 self ._init_layers ()
361361
You can’t perform that action at this time.
0 commit comments