Update num_classes parameter description in ObjectDetectionTask class (#2101)

* Update num_classes parameter description in ObjectDetectionTask class

* Update num_classes parameter description in SemanticSegmentationTask class
This commit is contained in:
Robin Cole 2024-05-30 18:11:48 +01:00 коммит произвёл GitHub
Родитель 4dbb177629
Коммит d91b3913f5
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -82,7 +82,7 @@ class ObjectDetectionTask(BaseTask):
weights: Initial model weights. True for ImageNet weights, False or None
for random weights.
in_channels: Number of input channels to model.
num_classes: Number of prediction classes.
num_classes: Number of prediction classes (including the background).
trainable_layers: Number of trainable layers.
lr: Learning rate for optimizer.
patience: Patience for learning rate scheduler.

Просмотреть файл

@ -54,7 +54,7 @@ class SemanticSegmentationTask(BaseTask):
model does not support pretrained weights. Pretrained ViT weight enums
are not supported yet.
in_channels: Number of input channels to model.
num_classes: Number of prediction classes.
num_classes: Number of prediction classes (including the background).
num_filters: Number of filters. Only applicable when model='fcn'.
loss: Name of the loss function, currently supports
'ce', 'jaccard' or 'focal' loss.