tfm.vision.factory.build_maskrcnn
Stay organized with collections
Save and categorize content based on your preferences.
Builds Mask R-CNN model.
tfm.vision.factory.build_maskrcnn(
input_specs: tf.keras.layers.InputSpec,
model_config: tfm.vision.configs.maskrcnn.MaskRCNN
,
l2_regularizer: Optional[tf.keras.regularizers.Regularizer] = None,
backbone: Optional[tf.keras.Model] = None,
decoder: Optional[tf.keras.Model] = None
) -> tf.keras.Model
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.
[null,null,["Last updated 2024-02-02 UTC."],[],[],null,["# tfm.vision.factory.build_maskrcnn\n\n\u003cbr /\u003e\n\n|-------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/models/blob/v2.15.0/official/vision/modeling/factory.py#L71-L257) |\n\nBuilds Mask R-CNN model. \n\n tfm.vision.factory.build_maskrcnn(\n input_specs: tf.keras.layers.InputSpec,\n model_config: ../../../tfm/vision/configs/maskrcnn/MaskRCNN,\n l2_regularizer: Optional[tf.keras.regularizers.Regularizer] = None,\n backbone: Optional[tf.keras.Model] = None,\n decoder: Optional[tf.keras.Model] = None\n ) -\u003e tf.keras.Model"]]