returnn 1.20250905.172641__py3-none-any.whl → 1.20250909.90304__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 +1 -1
- returnn/_setup_info_generated.py +2 -2
- returnn/torch/data/returnn_dataset_wrapper.py +8 -3
- {returnn-1.20250905.172641.dist-info → returnn-1.20250909.90304.dist-info}/METADATA +1 -1
- {returnn-1.20250905.172641.dist-info → returnn-1.20250909.90304.dist-info}/RECORD +8 -8
- {returnn-1.20250905.172641.dist-info → returnn-1.20250909.90304.dist-info}/LICENSE +0 -0
- {returnn-1.20250905.172641.dist-info → returnn-1.20250909.90304.dist-info}/WHEEL +0 -0
- {returnn-1.20250905.172641.dist-info → returnn-1.20250909.90304.dist-info}/top_level.txt +0 -0
returnn/PKG-INFO
CHANGED
returnn/_setup_info_generated.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
version = '1.
|
|
2
|
-
long_version = '1.
|
|
1
|
+
version = '1.20250909.090304'
|
|
2
|
+
long_version = '1.20250909.090304+git.9e941ab'
|
|
@@ -20,12 +20,17 @@ 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, epoch: int = 0):
|
|
27
|
+
"""
|
|
28
|
+
:param dataset: RETURNN dataset.
|
|
29
|
+
:param epoch: Epoch from which the dataset sequence ordering should start.
|
|
30
|
+
By default 0 since next :func:`__call__` will increment, thus we start at epoch 1.
|
|
31
|
+
"""
|
|
27
32
|
self.dataset = dataset
|
|
28
|
-
self.epoch =
|
|
33
|
+
self.epoch = epoch
|
|
29
34
|
|
|
30
35
|
def __call__(self):
|
|
31
36
|
# dataset is likely a copy of the original dataset, either in the main process or in a worker process
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
returnn/PKG-INFO,sha256=
|
|
1
|
+
returnn/PKG-INFO,sha256=libqNIu7RWmeI4478Jt-fnVxJ0P7iQ3mBh6pP3KqqWM,5214
|
|
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=
|
|
6
|
+
returnn/_setup_info_generated.py,sha256=su4I29E_2uUloca--nPMyZp5Mpydr83TkECEMSXvS0E,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=
|
|
216
|
+
returnn/torch/data/returnn_dataset_wrapper.py,sha256=vT2-6-oaUdSZ6OE1J4e6-Gshylas3dzAyquChHVTQ98,8222
|
|
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.
|
|
257
|
-
returnn-1.
|
|
258
|
-
returnn-1.
|
|
259
|
-
returnn-1.
|
|
260
|
-
returnn-1.
|
|
256
|
+
returnn-1.20250909.90304.dist-info/LICENSE,sha256=ywBD_U2aD4vpuoIgNAsjIGBYydl0tVKll3De0Z8s77c,11041
|
|
257
|
+
returnn-1.20250909.90304.dist-info/METADATA,sha256=libqNIu7RWmeI4478Jt-fnVxJ0P7iQ3mBh6pP3KqqWM,5214
|
|
258
|
+
returnn-1.20250909.90304.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
259
|
+
returnn-1.20250909.90304.dist-info/top_level.txt,sha256=Lsn4WZc5Pbfk0-xDQOgnFCxOoqxL4CyeM3N1TFbJncw,8
|
|
260
|
+
returnn-1.20250909.90304.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|