Module: tfm.vision.configs.semantic_segmentation
Stay organized with collections
Save and categorize content based on your preferences.
Semantic segmentation configuration definition.
Classes
class DataConfig
: Input config for training.
class DenseFeatureConfig
: Config for dense features, such as RGB pixels, masks, heatmaps.
class Evaluation
: Evaluation config.
class ExportConfig
: Model export config.
class Losses
: Loss function config.
class MaskScoringHead
: Mask Scoring head config.
class SegmentationHead
: Segmentation head config.
class SemanticSegmentationModel
: Semantic segmentation model config.
class SemanticSegmentationTask
: The model config.
Functions
mnv2_deeplabv3_cityscapes(...)
: Image segmentation on cityscapes with mobilenetv2 deeplabv3.
mnv2_deeplabv3_pascal(...)
: Image segmentation on pascal with mobilenetv2 deeplabv3.
mnv2_deeplabv3plus_cityscapes(...)
: Image segmentation on cityscapes with mobilenetv2 deeplabv3plus.
seg_deeplabv3_pascal(...)
: Image segmentation on pascal voc with resnet deeplabv3.
seg_deeplabv3plus_cityscapes(...)
: Image segmentation on cityscapes with resnet deeplabv3+.
seg_deeplabv3plus_pascal(...)
: Image segmentation on pascal voc with resnet deeplabv3+.
seg_resnetfpn_pascal(...)
: Image segmentation on pascal voc with resnet-fpn.
semantic_segmentation(...)
: Semantic segmentation general.
Other Members |
CITYSCAPES_INPUT_PATH_BASE
|
'cityscapes'
|
CITYSCAPES_TRAIN_EXAMPLES
|
2975
|
CITYSCAPES_VAL_EXAMPLES
|
500
|
PASCAL_INPUT_PATH_BASE
|
'gs://**/pascal_voc_seg'
|
PASCAL_TRAIN_EXAMPLES
|
10582
|
PASCAL_VAL_EXAMPLES
|
1449
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2024-02-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-02-02 UTC."],[],[],null,["# Module: tfm.vision.configs.semantic_segmentation\n\n\u003cbr /\u003e\n\n|-----------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/models/blob/v2.15.0/official/vision/configs/semantic_segmentation.py) |\n\nSemantic segmentation configuration definition.\n\nClasses\n-------\n\n[`class DataConfig`](../../../tfm/vision/configs/semantic_segmentation/DataConfig): Input config for training.\n\n[`class DenseFeatureConfig`](../../../tfm/vision/configs/semantic_segmentation/DenseFeatureConfig): Config for dense features, such as RGB pixels, masks, heatmaps.\n\n[`class Evaluation`](../../../tfm/vision/configs/semantic_segmentation/Evaluation): Evaluation config.\n\n[`class ExportConfig`](../../../tfm/vision/configs/semantic_segmentation/ExportConfig): Model export config.\n\n[`class Losses`](../../../tfm/vision/configs/semantic_segmentation/Losses): Loss function config.\n\n[`class MaskScoringHead`](../../../tfm/vision/configs/semantic_segmentation/MaskScoringHead): Mask Scoring head config.\n\n[`class SegmentationHead`](../../../tfm/vision/configs/semantic_segmentation/SegmentationHead): Segmentation head config.\n\n[`class SemanticSegmentationModel`](../../../tfm/vision/configs/semantic_segmentation/SemanticSegmentationModel): Semantic segmentation model config.\n\n[`class SemanticSegmentationTask`](../../../tfm/vision/configs/semantic_segmentation/SemanticSegmentationTask): The model config.\n\nFunctions\n---------\n\n[`mnv2_deeplabv3_cityscapes(...)`](../../../tfm/vision/configs/semantic_segmentation/mnv2_deeplabv3_cityscapes): Image segmentation on cityscapes with mobilenetv2 deeplabv3.\n\n[`mnv2_deeplabv3_pascal(...)`](../../../tfm/vision/configs/semantic_segmentation/mnv2_deeplabv3_pascal): Image segmentation on pascal with mobilenetv2 deeplabv3.\n\n[`mnv2_deeplabv3plus_cityscapes(...)`](../../../tfm/vision/configs/semantic_segmentation/mnv2_deeplabv3plus_cityscapes): Image segmentation on cityscapes with mobilenetv2 deeplabv3plus.\n\n[`seg_deeplabv3_pascal(...)`](../../../tfm/vision/configs/semantic_segmentation/seg_deeplabv3_pascal): Image segmentation on pascal voc with resnet deeplabv3.\n\n[`seg_deeplabv3plus_cityscapes(...)`](../../../tfm/vision/configs/semantic_segmentation/seg_deeplabv3plus_cityscapes): Image segmentation on cityscapes with resnet deeplabv3+.\n\n[`seg_deeplabv3plus_pascal(...)`](../../../tfm/vision/configs/semantic_segmentation/seg_deeplabv3plus_pascal): Image segmentation on pascal voc with resnet deeplabv3+.\n\n[`seg_resnetfpn_pascal(...)`](../../../tfm/vision/configs/semantic_segmentation/seg_resnetfpn_pascal): Image segmentation on pascal voc with resnet-fpn.\n\n[`semantic_segmentation(...)`](../../../tfm/vision/configs/semantic_segmentation/semantic_segmentation): Semantic segmentation general.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Other Members ------------- ||\n|----------------------------|----------------------------|\n| CITYSCAPES_INPUT_PATH_BASE | `'cityscapes'` |\n| CITYSCAPES_TRAIN_EXAMPLES | `2975` |\n| CITYSCAPES_VAL_EXAMPLES | `500` |\n| PASCAL_INPUT_PATH_BASE | `'gs://**/pascal_voc_seg'` |\n| PASCAL_TRAIN_EXAMPLES | `10582` |\n| PASCAL_VAL_EXAMPLES | `1449` |\n\n\u003cbr /\u003e"]]