tf-models-nightly 2.20.0.dev20250925__py2.py3-none-any.whl → 2.20.0.dev20250927__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.

@@ -339,7 +339,8 @@ def resize_smallest(frames: tf.Tensor, min_resize: int) -> tf.Tensor:
339
339
  def random_crop_resize(frames: tf.Tensor, output_h: int, output_w: int,
340
340
  num_frames: int, num_channels: int,
341
341
  aspect_ratio: Tuple[float, float],
342
- area_range: Tuple[float, float]) -> tf.Tensor:
342
+ area_range: Tuple[float, float],
343
+ seed: int = 0) -> tf.Tensor:
343
344
  """First crops clip with jittering and then resizes to (output_h, output_w).
344
345
 
345
346
  Args:
@@ -350,6 +351,7 @@ def random_crop_resize(frames: tf.Tensor, output_h: int, output_w: int,
350
351
  num_channels: Number of channels of the clip.
351
352
  aspect_ratio: Float tuple with the aspect range for cropping.
352
353
  area_range: Float tuple with the area range for cropping.
354
+ seed: A seed to use for the random sampling.
353
355
 
354
356
  Returns:
355
357
  A Tensor of shape [timesteps, output_h, output_w, channels] of type
@@ -367,7 +369,8 @@ def random_crop_resize(frames: tf.Tensor, output_h: int, output_w: int,
367
369
  aspect_ratio_range=aspect_ratio,
368
370
  area_range=area_range,
369
371
  max_attempts=100,
370
- use_image_if_no_bounding_boxes=True)
372
+ use_image_if_no_bounding_boxes=True,
373
+ seed=seed)
371
374
  bbox_begin, bbox_size, _ = sample_distorted_bbox
372
375
  offset_y, offset_x, _ = tf.unstack(bbox_begin)
373
376
  target_height, target_width, _ = tf.unstack(bbox_size)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tf-models-nightly
3
- Version: 2.20.0.dev20250925
3
+ Version: 2.20.0.dev20250927
4
4
  Summary: TensorFlow Official Models
5
5
  Home-page: https://github.com/tensorflow/models
6
6
  Author: Google Inc.
@@ -1160,7 +1160,7 @@ official/vision/ops/mask_ops.py,sha256=K_8mjLgH6A4wduZAPA73egfgbsnV9SBTXy6cH1J_l
1160
1160
  official/vision/ops/mask_ops_test.py,sha256=0oExjZHHLTxagyFBadyoLLuQfNlr18A682WXZ-NhQUM,2816
1161
1161
  official/vision/ops/nms.py,sha256=JMKQdPU53zlxhMaj2quxJPy2wyFAbzzDRmHyM8oRF8U,8106
1162
1162
  official/vision/ops/preprocess_ops.py,sha256=fTafI8_HiciUIdX-UGLpJnV0rjOfZ1h2776ZwY3MBmI,43608
1163
- official/vision/ops/preprocess_ops_3d.py,sha256=D9ojriFAJg3yj3Od4MmXDy_kIlt_csUvq6kOt99jPmE,16762
1163
+ official/vision/ops/preprocess_ops_3d.py,sha256=zPaCeweru7kaEJJvPftrCsjhQ20V7i-0vnllegLCVGk,16866
1164
1164
  official/vision/ops/preprocess_ops_3d_test.py,sha256=tSXBFtt1eRSAJnyLI0Lr7H7XHRozDjrSJWrvBug84H0,9309
1165
1165
  official/vision/ops/preprocess_ops_test.py,sha256=37y-P2IDfRUOvZeA5aktgfjxxR9DaqXLsQJzGQaKz-g,17638
1166
1166
  official/vision/ops/sampling_ops.py,sha256=9omWIYGkvizmDJw_nxt7UQy2ATklvw_I1V8ZtAqEWzM,16053
@@ -1248,9 +1248,9 @@ tensorflow_models/tensorflow_models_test.py,sha256=yiAneltAW3NHSj3fUSvHNBjfq0MGZ
1248
1248
  tensorflow_models/nlp/__init__.py,sha256=8uQd4wI6Zc4IJMPjtQifMeWVbPFkTxqYh66wfivCOL4,807
1249
1249
  tensorflow_models/uplift/__init__.py,sha256=NzaweFf4ZmhRb2l_fuV6bP-2N8oSO3xu6xJqVb1UmpY,999
1250
1250
  tensorflow_models/vision/__init__.py,sha256=ks420Ooqzi0hU7HnQpM5rylLaE-YcJdJkBx_umVaXlE,833
1251
- tf_models_nightly-2.20.0.dev20250925.dist-info/AUTHORS,sha256=1dG3fXVu9jlo7bul8xuix5F5vOnczMk7_yWn4y70uw0,337
1252
- tf_models_nightly-2.20.0.dev20250925.dist-info/LICENSE,sha256=WxeBS_DejPZQabxtfMOM_xn8qoZNJDQjrT7z2wG1I4U,11512
1253
- tf_models_nightly-2.20.0.dev20250925.dist-info/METADATA,sha256=Dgrtj3GnlSU9YFmeiy4Tu4xQ6uzXDa0CjINbOZjhGx4,1432
1254
- tf_models_nightly-2.20.0.dev20250925.dist-info/WHEEL,sha256=kGT74LWyRUZrL4VgLh6_g12IeVl_9u9ZVhadrgXZUEY,110
1255
- tf_models_nightly-2.20.0.dev20250925.dist-info/top_level.txt,sha256=gum2FfO5R4cvjl2-QtP-S1aNmsvIZaFFT6VFzU0f4-g,33
1256
- tf_models_nightly-2.20.0.dev20250925.dist-info/RECORD,,
1251
+ tf_models_nightly-2.20.0.dev20250927.dist-info/AUTHORS,sha256=1dG3fXVu9jlo7bul8xuix5F5vOnczMk7_yWn4y70uw0,337
1252
+ tf_models_nightly-2.20.0.dev20250927.dist-info/LICENSE,sha256=WxeBS_DejPZQabxtfMOM_xn8qoZNJDQjrT7z2wG1I4U,11512
1253
+ tf_models_nightly-2.20.0.dev20250927.dist-info/METADATA,sha256=yYwp3vMDcr708Y1TLdyz3_mMI1wQAPFRX82YWhovI8E,1432
1254
+ tf_models_nightly-2.20.0.dev20250927.dist-info/WHEEL,sha256=kGT74LWyRUZrL4VgLh6_g12IeVl_9u9ZVhadrgXZUEY,110
1255
+ tf_models_nightly-2.20.0.dev20250927.dist-info/top_level.txt,sha256=gum2FfO5R4cvjl2-QtP-S1aNmsvIZaFFT6VFzU0f4-g,33
1256
+ tf_models_nightly-2.20.0.dev20250927.dist-info/RECORD,,