tf-models-nightly 2.11.0.dev20230303__py2.py3-none-any.whl → 2.11.0.dev20230305__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.
- official/legacy/detection/ops/nms.py +4 -3
- official/vision/ops/nms.py +4 -3
- {tf_models_nightly-2.11.0.dev20230303.dist-info → tf_models_nightly-2.11.0.dev20230305.dist-info}/METADATA +1 -1
- {tf_models_nightly-2.11.0.dev20230303.dist-info → tf_models_nightly-2.11.0.dev20230305.dist-info}/RECORD +8 -8
- {tf_models_nightly-2.11.0.dev20230303.dist-info → tf_models_nightly-2.11.0.dev20230305.dist-info}/AUTHORS +0 -0
- {tf_models_nightly-2.11.0.dev20230303.dist-info → tf_models_nightly-2.11.0.dev20230305.dist-info}/LICENSE +0 -0
- {tf_models_nightly-2.11.0.dev20230303.dist-info → tf_models_nightly-2.11.0.dev20230305.dist-info}/WHEEL +0 -0
- {tf_models_nightly-2.11.0.dev20230303.dist-info → tf_models_nightly-2.11.0.dev20230305.dist-info}/top_level.txt +0 -0
@@ -67,8 +67,9 @@ def _suppression_loop_body(boxes, iou_threshold, output_size, idx):
|
|
67
67
|
output_size: the updated output_size.
|
68
68
|
idx: the updated induction variable.
|
69
69
|
"""
|
70
|
-
|
71
|
-
|
70
|
+
boxes_shape = tf.shape(boxes)
|
71
|
+
num_tiles = boxes_shape[1] // NMS_TILE_SIZE
|
72
|
+
batch_size = boxes_shape[0]
|
72
73
|
|
73
74
|
# Iterates over tiles that can possibly suppress the current tile.
|
74
75
|
box_slice = tf.slice(boxes, [0, idx * NMS_TILE_SIZE, 0],
|
@@ -97,7 +98,7 @@ def _suppression_loop_body(boxes, iou_threshold, output_size, idx):
|
|
97
98
|
boxes = tf.tile(tf.expand_dims(
|
98
99
|
box_slice, [1]), [1, num_tiles, 1, 1]) * mask + tf.reshape(
|
99
100
|
boxes, [batch_size, num_tiles, NMS_TILE_SIZE, 4]) * (1 - mask)
|
100
|
-
boxes = tf.reshape(boxes,
|
101
|
+
boxes = tf.reshape(boxes, boxes_shape)
|
101
102
|
|
102
103
|
# Updates output_size.
|
103
104
|
output_size += tf.reduce_sum(
|
official/vision/ops/nms.py
CHANGED
@@ -65,8 +65,9 @@ def _suppression_loop_body(boxes, iou_threshold, output_size, idx):
|
|
65
65
|
output_size: the updated output_size.
|
66
66
|
idx: the updated induction variable.
|
67
67
|
"""
|
68
|
-
|
69
|
-
|
68
|
+
boxes_shape = tf.shape(boxes)
|
69
|
+
num_tiles = boxes_shape[1] // NMS_TILE_SIZE
|
70
|
+
batch_size = boxes_shape[0]
|
70
71
|
|
71
72
|
# Iterates over tiles that can possibly suppress the current tile.
|
72
73
|
box_slice = tf.slice(boxes, [0, idx * NMS_TILE_SIZE, 0],
|
@@ -95,7 +96,7 @@ def _suppression_loop_body(boxes, iou_threshold, output_size, idx):
|
|
95
96
|
boxes = tf.tile(tf.expand_dims(
|
96
97
|
box_slice, [1]), [1, num_tiles, 1, 1]) * mask + tf.reshape(
|
97
98
|
boxes, [batch_size, num_tiles, NMS_TILE_SIZE, 4]) * (1 - mask)
|
98
|
-
boxes = tf.reshape(boxes,
|
99
|
+
boxes = tf.reshape(boxes, boxes_shape)
|
99
100
|
|
100
101
|
# Updates output_size.
|
101
102
|
output_size += tf.reduce_sum(
|
@@ -99,7 +99,7 @@ official/legacy/detection/modeling/architecture/nn_ops.py,sha256=iWYYyZZ-I4t3m4i
|
|
99
99
|
official/legacy/detection/modeling/architecture/resnet.py,sha256=zmBJrsC7pXLExPwtt03cnvYuaTlcInpphycjiIanndc,13159
|
100
100
|
official/legacy/detection/modeling/architecture/spinenet.py,sha256=EiKw4tHOHc2fgGip-PQ9I5MD1ifMKGuv6TU51rKwGbY,17270
|
101
101
|
official/legacy/detection/ops/__init__.py,sha256=XKqEvUISyqNK_cFqr7umxt6r-vnABJ2OqGEKE395w20,609
|
102
|
-
official/legacy/detection/ops/nms.py,sha256=
|
102
|
+
official/legacy/detection/ops/nms.py,sha256=Szi_3Z4HshrdqxLhw_NHCvoZ6iqbmq4Nyv7ks48pEpk,8141
|
103
103
|
official/legacy/detection/ops/postprocess_ops.py,sha256=1DYKqh7thsJVyORXQqNxKNgfyxxnZAHgAZGO4u7lTjY,21942
|
104
104
|
official/legacy/detection/ops/roi_ops.py,sha256=gHwGharQCMsZK-Flam4cZhQM3F7ktxg9ShHzJswM2Ms,22986
|
105
105
|
official/legacy/detection/ops/spatial_transform_ops.py,sha256=K1r5Nms7lJlszHkbJHzXru-ba9TiDnIwoEZ6ZV3gXWw,25998
|
@@ -980,7 +980,7 @@ official/vision/ops/iou_similarity.py,sha256=MHNq3VdcWWVUrybtOfkwX7WTK8B3ZrUQxOT
|
|
980
980
|
official/vision/ops/iou_similarity_test.py,sha256=SMq2wPl98_HenxAKk4p4By_ZoRy6LY7n2CvHCb6QUMg,1898
|
981
981
|
official/vision/ops/mask_ops.py,sha256=9yR6KWC9croKvzMtSFUU3cK87-ileUD8MzHfJ-IvBJo,10260
|
982
982
|
official/vision/ops/mask_ops_test.py,sha256=34mwpK2-GRS0BWLcOz2Dk2h9kaNBu5zBV70pElpAGsI,2825
|
983
|
-
official/vision/ops/nms.py,sha256=
|
983
|
+
official/vision/ops/nms.py,sha256=Q5iGXJ-f_hcLNzyCu7CXKigCK4yHSq40ed7ornqZfVQ,8115
|
984
984
|
official/vision/ops/preprocess_ops.py,sha256=HOxLjVVVQejiNENPvrCLlO0so3ds3m1flfrHWvVfM3I,38775
|
985
985
|
official/vision/ops/preprocess_ops_3d.py,sha256=aUn1OTLkr1046sAfVefybRxHzhaVAtywlmP0R1UGbIg,15378
|
986
986
|
official/vision/ops/preprocess_ops_3d_test.py,sha256=mrs0IVby6WFc2gcD8pIYU__KQFfhmP4m9U000hrpIJQ,7239
|
@@ -1069,9 +1069,9 @@ tensorflow_models/__init__.py,sha256=021FKgqdPz3ds1xxfV67FWL7e5ECQ7WHbo67D37vAQI
|
|
1069
1069
|
tensorflow_models/tensorflow_models_test.py,sha256=3oRV5seq-V1La0eY0IFpGLD7AKkiemylW8GyvZIRtmo,1385
|
1070
1070
|
tensorflow_models/nlp/__init__.py,sha256=ro-1L0G8Z1wby8D1Jbaa3No-n73tiNEx7C4f8pAUNlk,807
|
1071
1071
|
tensorflow_models/vision/__init__.py,sha256=3qeLW_6HkgH5hEclFog2DIRu1FSzOr3JynyM23zGhu8,833
|
1072
|
-
tf_models_nightly-2.11.0.
|
1073
|
-
tf_models_nightly-2.11.0.
|
1074
|
-
tf_models_nightly-2.11.0.
|
1075
|
-
tf_models_nightly-2.11.0.
|
1076
|
-
tf_models_nightly-2.11.0.
|
1077
|
-
tf_models_nightly-2.11.0.
|
1072
|
+
tf_models_nightly-2.11.0.dev20230305.dist-info/AUTHORS,sha256=1dG3fXVu9jlo7bul8xuix5F5vOnczMk7_yWn4y70uw0,337
|
1073
|
+
tf_models_nightly-2.11.0.dev20230305.dist-info/LICENSE,sha256=WxeBS_DejPZQabxtfMOM_xn8qoZNJDQjrT7z2wG1I4U,11512
|
1074
|
+
tf_models_nightly-2.11.0.dev20230305.dist-info/METADATA,sha256=HEY2SNbGuUN4WXzxUpAoOwQkFBl83MwcYZBBx9eFdb0,1426
|
1075
|
+
tf_models_nightly-2.11.0.dev20230305.dist-info/WHEEL,sha256=kGT74LWyRUZrL4VgLh6_g12IeVl_9u9ZVhadrgXZUEY,110
|
1076
|
+
tf_models_nightly-2.11.0.dev20230305.dist-info/top_level.txt,sha256=gum2FfO5R4cvjl2-QtP-S1aNmsvIZaFFT6VFzU0f4-g,33
|
1077
|
+
tf_models_nightly-2.11.0.dev20230305.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|