tf-models-nightly 2.19.0.dev20241120__py2.py3-none-any.whl → 2.19.0.dev20241121__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tf-models-nightly might be problematic. Click here for more details.
- official/vision/modeling/heads/instance_heads.py +2 -2
- official/vision/modeling/heads/segmentation_heads.py +1 -1
- official/vision/modeling/layers/roi_aligner.py +6 -4
- official/vision/modeling/retinanet_model.py +8 -6
- official/vision/modeling/segmentation_model.py +3 -2
- {tf_models_nightly-2.19.0.dev20241120.dist-info → tf_models_nightly-2.19.0.dev20241121.dist-info}/METADATA +1 -1
- {tf_models_nightly-2.19.0.dev20241120.dist-info → tf_models_nightly-2.19.0.dev20241121.dist-info}/RECORD +11 -11
- {tf_models_nightly-2.19.0.dev20241120.dist-info → tf_models_nightly-2.19.0.dev20241121.dist-info}/AUTHORS +0 -0
- {tf_models_nightly-2.19.0.dev20241120.dist-info → tf_models_nightly-2.19.0.dev20241121.dist-info}/LICENSE +0 -0
- {tf_models_nightly-2.19.0.dev20241120.dist-info → tf_models_nightly-2.19.0.dev20241121.dist-info}/WHEEL +0 -0
- {tf_models_nightly-2.19.0.dev20241120.dist-info → tf_models_nightly-2.19.0.dev20241121.dist-info}/top_level.txt +0 -0
@@ -173,7 +173,7 @@ class DetectionHead(tf_keras.layers.Layer):
|
|
173
173
|
|
174
174
|
super(DetectionHead, self).build(input_shape)
|
175
175
|
|
176
|
-
def call(self, inputs: tf.Tensor, training: bool = None):
|
176
|
+
def call(self, inputs: tf.Tensor, training: bool = None): # pytype: disable=annotation-type-mismatch
|
177
177
|
"""Forward pass of box and class branches for the Mask-RCNN model.
|
178
178
|
|
179
179
|
Args:
|
@@ -379,7 +379,7 @@ class MaskHead(tf_keras.layers.Layer):
|
|
379
379
|
|
380
380
|
super(MaskHead, self).build(input_shape)
|
381
381
|
|
382
|
-
def call(self, inputs: List[tf.Tensor], training: bool = None):
|
382
|
+
def call(self, inputs: List[tf.Tensor], training: bool = None): # pytype: disable=annotation-type-mismatch
|
383
383
|
"""Forward pass of mask branch for the Mask-RCNN model.
|
384
384
|
|
385
385
|
Args:
|
@@ -167,7 +167,7 @@ class MaskScoring(tf_keras.Model):
|
|
167
167
|
|
168
168
|
super(MaskScoring, self).build(input_shape)
|
169
169
|
|
170
|
-
def call(self, inputs: tf.Tensor, training: bool = None): # pytype: disable=signature-mismatch
|
170
|
+
def call(self, inputs: tf.Tensor, training: bool = None): # pytype: disable=annotation-type-mismatch,signature-mismatch
|
171
171
|
"""Forward pass mask scoring head.
|
172
172
|
|
173
173
|
Args:
|
@@ -38,10 +38,12 @@ class MultilevelROIAligner(tf_keras.layers.Layer):
|
|
38
38
|
}
|
39
39
|
super(MultilevelROIAligner, self).__init__(**kwargs)
|
40
40
|
|
41
|
-
def call(
|
42
|
-
|
43
|
-
|
44
|
-
|
41
|
+
def call(
|
42
|
+
self, # pytype: disable=annotation-type-mismatch
|
43
|
+
features: Mapping[str, tf.Tensor],
|
44
|
+
boxes: tf.Tensor,
|
45
|
+
training: bool = None,
|
46
|
+
):
|
45
47
|
"""Generates ROIs.
|
46
48
|
|
47
49
|
Args:
|
@@ -81,12 +81,14 @@ class RetinaNetModel(tf_keras.Model):
|
|
81
81
|
self._detection_generator = detection_generator
|
82
82
|
self._anchor_boxes = anchor_boxes
|
83
83
|
|
84
|
-
def call(
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
84
|
+
def call(
|
85
|
+
self, # pytype: disable=annotation-type-mismatch
|
86
|
+
images: Union[tf.Tensor, Sequence[tf.Tensor]],
|
87
|
+
image_shape: Optional[tf.Tensor] = None,
|
88
|
+
anchor_boxes: Mapping[str, tf.Tensor] | None = None,
|
89
|
+
output_intermediate_features: bool = False,
|
90
|
+
training: bool = None,
|
91
|
+
) -> Mapping[str, tf.Tensor]:
|
90
92
|
"""Forward pass of the RetinaNet model.
|
91
93
|
|
92
94
|
Args:
|
@@ -58,8 +58,9 @@ class SegmentationModel(tf_keras.Model):
|
|
58
58
|
self.head = head
|
59
59
|
self.mask_scoring_head = mask_scoring_head
|
60
60
|
|
61
|
-
def call(
|
62
|
-
|
61
|
+
def call(
|
62
|
+
self, inputs: tf.Tensor, training: bool = None # pytype: disable=annotation-type-mismatch,signature-mismatch
|
63
|
+
) -> Dict[str, tf.Tensor]:
|
63
64
|
backbone_features = self.backbone(inputs)
|
64
65
|
|
65
66
|
if self.decoder:
|
@@ -1050,9 +1050,9 @@ official/vision/modeling/factory_3d.py,sha256=2pUdT2mC1tg20qqSHUtitGIvLKW866R2Ss
|
|
1050
1050
|
official/vision/modeling/factory_test.py,sha256=ojUEYRMdtkKq75IcesdtOlrPwTxfJUgrS12BEsHps5w,6700
|
1051
1051
|
official/vision/modeling/maskrcnn_model.py,sha256=03QTWfRGb5wacFVo1SHOSLJ4hLc9Eq8VfEXJntylAEc,20774
|
1052
1052
|
official/vision/modeling/maskrcnn_model_test.py,sha256=UuNX3_BApjXXvuCNIMtbjkS-ZOtq8mORpOVNkG4glNU,14825
|
1053
|
-
official/vision/modeling/retinanet_model.py,sha256=
|
1053
|
+
official/vision/modeling/retinanet_model.py,sha256=d2rqliULA4fh_EO5c3YDWtZxEpadzcTpQg1M5YhJAU0,10350
|
1054
1054
|
official/vision/modeling/retinanet_model_test.py,sha256=KOHqE1wRKD_488XBnPy1qTdCkkgCpo7BYAoA67iPwNQ,11145
|
1055
|
-
official/vision/modeling/segmentation_model.py,sha256=
|
1055
|
+
official/vision/modeling/segmentation_model.py,sha256=WgWI-KF4s655O7rITJzDsqQXrwhgaq6yUAxrIvD_C9E,3405
|
1056
1056
|
official/vision/modeling/segmentation_model_test.py,sha256=fimmpt0pFMcX214Vuf0C4NcRdWLLB9F2IJeiuTFUO54,2817
|
1057
1057
|
official/vision/modeling/video_classification_model.py,sha256=RKrT22D5yW435S9AyYlgOFCIi0knbmZFvgwh_5JubPI,4713
|
1058
1058
|
official/vision/modeling/video_classification_model_test.py,sha256=V6dZUHSdV-2R5l0dAnAr7ArFdYIHFm6mbQgtt_7GbbY,3252
|
@@ -1094,9 +1094,9 @@ official/vision/modeling/decoders/nasfpn_test.py,sha256=vHyfoJ5XjIEsN66-Clvr6Vvc
|
|
1094
1094
|
official/vision/modeling/heads/__init__.py,sha256=u3-HLjhhOzNx5Yhshw1j6-pgQAIHl4lAJWvoht8YDCk,1088
|
1095
1095
|
official/vision/modeling/heads/dense_prediction_heads.py,sha256=t-vbxQBCJwTg41WQZZsBXVWUMffaiZCVJNTGq6Ey2mk,27822
|
1096
1096
|
official/vision/modeling/heads/dense_prediction_heads_test.py,sha256=VKjvGzcWWGBmaeqlFEWWnAjQnwvxPBgcmP7N31OmRIU,9060
|
1097
|
-
official/vision/modeling/heads/instance_heads.py,sha256=
|
1097
|
+
official/vision/modeling/heads/instance_heads.py,sha256=AOXouP8w8f3Jv_2S8fOgv0MrsuUJ2Lob1_SJOkGWNUs,17898
|
1098
1098
|
official/vision/modeling/heads/instance_heads_test.py,sha256=k6lqCAFOEnW-rcSHwlqUE6-I72tpKg2ldFJn5nE8ai4,4188
|
1099
|
-
official/vision/modeling/heads/segmentation_heads.py,sha256=
|
1099
|
+
official/vision/modeling/heads/segmentation_heads.py,sha256=E3wWfpazWC6VZ1u0iHyCByXaJM8IhJs9AbDT5mswo-w,20172
|
1100
1100
|
official/vision/modeling/heads/segmentation_heads_test.py,sha256=XgpA_AewJ8ivS8m1q0LNk0XtVKG3nqy7lRqgPW3ZNFA,3793
|
1101
1101
|
official/vision/modeling/layers/__init__.py,sha256=_RjeNeStjst4yPYwYUBZ1G9dnmx4Lz5X110N5H1f6uU,2597
|
1102
1102
|
official/vision/modeling/layers/box_sampler.py,sha256=UakVZOA9EVY00RzgTFbuTsUvuzFZ2feJWvn5f6U0m6c,3411
|
@@ -1113,7 +1113,7 @@ official/vision/modeling/layers/nn_blocks_3d_test.py,sha256=6JC8SgZW1EIgll2MqiRF
|
|
1113
1113
|
official/vision/modeling/layers/nn_blocks_test.py,sha256=4cQhJvIq7jxp5ldfjPCf7CDcU3_7Syk2-kzBg2u7KPs,40401
|
1114
1114
|
official/vision/modeling/layers/nn_layers.py,sha256=_Ftdcbl04zbEXxkaB_61Lq8jXvNmRkS3XHhjkot-mlw,52982
|
1115
1115
|
official/vision/modeling/layers/nn_layers_test.py,sha256=EnQrMEAuPFe0P15KbiSqwnqEfM-UxcVOnPM-U6v0mF0,13319
|
1116
|
-
official/vision/modeling/layers/roi_aligner.py,sha256=
|
1116
|
+
official/vision/modeling/layers/roi_aligner.py,sha256=ZEtAJnqxSla2xVQS0JfOze51-dOxFUgyQDFiYXWhUpc,2583
|
1117
1117
|
official/vision/modeling/layers/roi_aligner_test.py,sha256=zOxhUJqbbtheKMFrBy0RfUCUDzTDYe61klvW6K24QjQ,1285
|
1118
1118
|
official/vision/modeling/layers/roi_generator.py,sha256=ZL-m5IObg8JsXJ_DZ0QQusv2UBzHNiGXlTZZU1rJorU,14418
|
1119
1119
|
official/vision/modeling/layers/roi_sampler.py,sha256=uajmniFsZrmAR_-ojva_dVm9xZU3wze5EqCryP9gUoQ,10006
|
@@ -1222,9 +1222,9 @@ tensorflow_models/tensorflow_models_test.py,sha256=nc6A9K53OGqF25xN5St8EiWvdVbda
|
|
1222
1222
|
tensorflow_models/nlp/__init__.py,sha256=4tA5Pf4qaFwT-fIFOpX7x7FHJpnyJT-5UgOeFYTyMlc,807
|
1223
1223
|
tensorflow_models/uplift/__init__.py,sha256=mqfa55gweOdpKoaQyid4A_4u7xw__FcQeSIF0k_pYmI,999
|
1224
1224
|
tensorflow_models/vision/__init__.py,sha256=zBorY_v5xva1uI-qxhZO3Qh-Dii-Suq6wEYh6hKHDfc,833
|
1225
|
-
tf_models_nightly-2.19.0.
|
1226
|
-
tf_models_nightly-2.19.0.
|
1227
|
-
tf_models_nightly-2.19.0.
|
1228
|
-
tf_models_nightly-2.19.0.
|
1229
|
-
tf_models_nightly-2.19.0.
|
1230
|
-
tf_models_nightly-2.19.0.
|
1225
|
+
tf_models_nightly-2.19.0.dev20241121.dist-info/AUTHORS,sha256=1dG3fXVu9jlo7bul8xuix5F5vOnczMk7_yWn4y70uw0,337
|
1226
|
+
tf_models_nightly-2.19.0.dev20241121.dist-info/LICENSE,sha256=WxeBS_DejPZQabxtfMOM_xn8qoZNJDQjrT7z2wG1I4U,11512
|
1227
|
+
tf_models_nightly-2.19.0.dev20241121.dist-info/METADATA,sha256=kkf1-eZIurwCImjbs_KaAfa0TbLAcn7CAVXxtS__NT0,1432
|
1228
|
+
tf_models_nightly-2.19.0.dev20241121.dist-info/WHEEL,sha256=kGT74LWyRUZrL4VgLh6_g12IeVl_9u9ZVhadrgXZUEY,110
|
1229
|
+
tf_models_nightly-2.19.0.dev20241121.dist-info/top_level.txt,sha256=gum2FfO5R4cvjl2-QtP-S1aNmsvIZaFFT6VFzU0f4-g,33
|
1230
|
+
tf_models_nightly-2.19.0.dev20241121.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|