returnn 1.20250905.172641__py3-none-any.whl → 1.20250909.170507__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 returnn might be problematic. Click here for more details.

returnn/PKG-INFO CHANGED
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: returnn
3
- Version: 1.20250905.172641
3
+ Version: 1.20250909.170507
4
4
  Summary: The RWTH extensible training framework for universal recurrent neural networks
5
5
  Home-page: https://github.com/rwth-i6/returnn/
6
6
  Author: Albert Zeyer
@@ -1,2 +1,2 @@
1
- version = '1.20250905.172641'
2
- long_version = '1.20250905.172641+git.9ec4d0a'
1
+ version = '1.20250909.170507'
2
+ long_version = '1.20250909.170507+git.4dc7088'
@@ -20,12 +20,18 @@ ResetCallbackT = Callable[[], None]
20
20
  class ReturnnDatasetResetDefaultEpochCounterCallback:
21
21
  """
22
22
  Default for reset_callback.
23
- Has an internal counter for the epoch, starting at epoch 1 (RETURNN convention).
23
+ Has an internal counter for the epoch, starting by default at epoch 1 (RETURNN convention).
24
24
  """
25
25
 
26
- def __init__(self, dataset: ReturnnDataset):
26
+ def __init__(self, dataset: ReturnnDataset, *, epoch0: int = 0):
27
+ """
28
+ :param dataset: RETURNN dataset.
29
+ :param epoch0: Epoch from which the dataset sequence ordering should start.
30
+ It will actually be epoch0+1 for the first epoch, since :func:`__call__` will increment it.
31
+ By default 0 since next :func:`__call__` will increment, thus we start at epoch 1.
32
+ """
27
33
  self.dataset = dataset
28
- self.epoch = 0 # next __call__ will increment, thus we start at epoch 1
34
+ self.epoch = epoch0
29
35
 
30
36
  def __call__(self):
31
37
  # dataset is likely a copy of the original dataset, either in the main process or in a worker process
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: returnn
3
- Version: 1.20250905.172641
3
+ Version: 1.20250909.170507
4
4
  Summary: The RWTH extensible training framework for universal recurrent neural networks
5
5
  Home-page: https://github.com/rwth-i6/returnn/
6
6
  Author: Albert Zeyer
@@ -1,9 +1,9 @@
1
- returnn/PKG-INFO,sha256=mcBSLNii6uNJK9chB6ZWDSFRsXlX7I3NldZ3AIE5sG8,5215
1
+ returnn/PKG-INFO,sha256=dLN-rUxZA-mPus1xWuyEJsqSYb0BOqfx-9vFbjoYmLY,5215
2
2
  returnn/__init__.py,sha256=biBtRsM0WZ406vShaeH-9WFoqJ8XwTbn6g0EeFJ7l8E,1012
3
3
  returnn/__main__.py,sha256=lHyZcu_0yc9f7Vf_Kfdy9PmeU0T76XVXnpalHi5WKro,31740
4
4
  returnn/__old_mod_loader__.py,sha256=nvsNY-xELdS_IPNkv66Q9Rmvg4dbGW0-EBRDcCmctos,7654
5
5
  returnn/__setup__.py,sha256=22kQn2fh11iPM0hLb2Fy5sLmoU1JGvmDxXRYuRgQkwU,4659
6
- returnn/_setup_info_generated.py,sha256=HWsEhjaOFFzuEyz68XDlmiFgq2VjDbkjJm2f9VKjGdg,77
6
+ returnn/_setup_info_generated.py,sha256=82eTJA_9CEBb43_StChy5RAtoUqyPSDLswpt9RthHUA,77
7
7
  returnn/config.py,sha256=3tmKhB6FnQZaNdtcYsiB61JnEY--iZ2qmJ4yq0b6tE0,29140
8
8
  returnn/forward_iface.py,sha256=A_OJiaXsX4MlXQRzST86ylyxSUZbC402PQL1REcqHjM,911
9
9
  returnn/learning_rate_control.py,sha256=ZvWryAn_tv9DhV8sh1LV3eE34Yltl3On3mYZAG4hR9s,34684
@@ -213,7 +213,7 @@ returnn/torch/data/__init__.py,sha256=6cLNEi8KoGI12PF6akN7mI_mtjlx-0hcQAfMYoExwi
213
213
  returnn/torch/data/extern_data.py,sha256=5al706ZaYtHWLp5VH2vS-rW69YXP3NHyOFRKY0WY714,7810
214
214
  returnn/torch/data/pipeline.py,sha256=HgIL0jQsPcgvh_SPC4wQ6BzclmrnpFja-UiboF_GPN4,29459
215
215
  returnn/torch/data/queued_data_iter.py,sha256=PoOsGHdHVZjTmcyfq_ZOw--P6hyfTdmAWIRGq_Z_nLM,888
216
- returnn/torch/data/returnn_dataset_wrapper.py,sha256=2CaDapzrlqahANuq-nyVAtv5ENHuM8A7okORwYJDisg,8006
216
+ returnn/torch/data/returnn_dataset_wrapper.py,sha256=fMahf05G0SPYm6HxSQpVm8JhsIHons-i1Ce4aQv4IjM,8332
217
217
  returnn/torch/data/tensor_utils.py,sha256=-Teqi--LLbt6q_5mDRdoHZHmPgSdC83W706ukif_YiU,1284
218
218
  returnn/torch/frontend/__init__.py,sha256=AA48HZnC17ASuKA0EWy8loZ-Bib_yUtqF4T1wYvjst4,62
219
219
  returnn/torch/frontend/_backend.py,sha256=2otTWQwS-PGRJImGqUAikChP3JcOv_KHgPAQX4VycJg,103382
@@ -253,8 +253,8 @@ returnn/util/sig_proc.py,sha256=Tjz0VOAVyqu2qDCF5HZ1JjALjcFsHcNkcd96WgZeKfE,7265
253
253
  returnn/util/task_system.py,sha256=y4sMVXQ25Qd2z0rx03uOlXlkE-jbCYC1Sjfn-XlraVU,26003
254
254
  returnn/util/train_proc_manager.py,sha256=Pjht28k6uz6BNQ47uW6Gf880iyq5q4wx7P_K2tmoAM8,3266
255
255
  returnn/util/watch_memory.py,sha256=BR5P2kvBN6UI81cE0_1WAA6Hd1SByLbBaiDxvLhPOew,4213
256
- returnn-1.20250905.172641.dist-info/LICENSE,sha256=ywBD_U2aD4vpuoIgNAsjIGBYydl0tVKll3De0Z8s77c,11041
257
- returnn-1.20250905.172641.dist-info/METADATA,sha256=mcBSLNii6uNJK9chB6ZWDSFRsXlX7I3NldZ3AIE5sG8,5215
258
- returnn-1.20250905.172641.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
259
- returnn-1.20250905.172641.dist-info/top_level.txt,sha256=Lsn4WZc5Pbfk0-xDQOgnFCxOoqxL4CyeM3N1TFbJncw,8
260
- returnn-1.20250905.172641.dist-info/RECORD,,
256
+ returnn-1.20250909.170507.dist-info/LICENSE,sha256=ywBD_U2aD4vpuoIgNAsjIGBYydl0tVKll3De0Z8s77c,11041
257
+ returnn-1.20250909.170507.dist-info/METADATA,sha256=dLN-rUxZA-mPus1xWuyEJsqSYb0BOqfx-9vFbjoYmLY,5215
258
+ returnn-1.20250909.170507.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
259
+ returnn-1.20250909.170507.dist-info/top_level.txt,sha256=Lsn4WZc5Pbfk0-xDQOgnFCxOoqxL4CyeM3N1TFbJncw,8
260
+ returnn-1.20250909.170507.dist-info/RECORD,,