tensorneko 0.3.22__py3-none-any.whl → 0.3.23__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.
- tensorneko/dataset/sampler/sequential_iter_sampler.py +4 -1
- tensorneko/version.txt +1 -1
- {tensorneko-0.3.22.dist-info → tensorneko-0.3.23.dist-info}/METADATA +3 -3
- {tensorneko-0.3.22.dist-info → tensorneko-0.3.23.dist-info}/RECORD +7 -7
- {tensorneko-0.3.22.dist-info → tensorneko-0.3.23.dist-info}/WHEEL +0 -0
- {tensorneko-0.3.22.dist-info → tensorneko-0.3.23.dist-info}/licenses/LICENSE +0 -0
- {tensorneko-0.3.22.dist-info → tensorneko-0.3.23.dist-info}/top_level.txt +0 -0
|
@@ -32,7 +32,10 @@ class SequentialIterSampler(Sampler[T_co]):
|
|
|
32
32
|
"""
|
|
33
33
|
|
|
34
34
|
def __init__(self, data_source: Sized, num_samples: int):
|
|
35
|
-
|
|
35
|
+
try:
|
|
36
|
+
super().__init__(data_source)
|
|
37
|
+
except TypeError:
|
|
38
|
+
super().__init__()
|
|
36
39
|
self.data_source = data_source
|
|
37
40
|
self.num_samples = num_samples
|
|
38
41
|
self.total_size = len(data_source)
|
tensorneko/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.23
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tensorneko
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.23
|
|
4
4
|
Summary: Tensor Neural Engine Kompanion. An util library based on PyTorch and PyTorch Lightning.
|
|
5
5
|
Home-page: https://github.com/ControlNet/tensorneko
|
|
6
6
|
Author: ControlNet
|
|
@@ -32,7 +32,7 @@ Requires-Dist: av>=8.0.3
|
|
|
32
32
|
Requires-Dist: pysoundfile>=0.9.0; platform_system == "Windows"
|
|
33
33
|
Requires-Dist: numpy>=1.20.1
|
|
34
34
|
Requires-Dist: einops>=0.3.0
|
|
35
|
-
Requires-Dist: tensorneko_util==0.3.
|
|
35
|
+
Requires-Dist: tensorneko_util==0.3.23
|
|
36
36
|
Provides-Extra: lightning
|
|
37
37
|
Requires-Dist: tensorboard>=2.0.0; extra == "lightning"
|
|
38
38
|
Requires-Dist: lightning<3,>=2.0; extra == "lightning"
|
|
@@ -84,7 +84,7 @@ pip install tensorneko # for PyTorch only
|
|
|
84
84
|
pip install tensorneko[lightning] # for PyTorch and Lightning
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
To use the library without PyTorch and PyTorch Lightning, you can install the util library (support Python 3.7 ~ 3.
|
|
87
|
+
To use the library without PyTorch and PyTorch Lightning, you can install the util library (support Python 3.7 ~ 3.14 with limited features) with following command.
|
|
88
88
|
```shell
|
|
89
89
|
pip install tensorneko_util
|
|
90
90
|
```
|
|
@@ -2,7 +2,7 @@ tensorneko/__init__.py,sha256=uh1HNn1sNpX1bbOqAE_kNJfrH4eMtEzus0hO-Fh9tEw,990
|
|
|
2
2
|
tensorneko/neko_model.py,sha256=hUMi7puzxW_6FOpA1jiFN1__oO5DZPlhhp3WXqhJXgg,10581
|
|
3
3
|
tensorneko/neko_module.py,sha256=qELXvguSjWo_NvcRQibiFl0Qauzd9JWLSnT4dbGNS3Y,1473
|
|
4
4
|
tensorneko/neko_trainer.py,sha256=GqdRsPkzWj36DJ_Wroe1TI6QKlk3N8Q8gK4uEnI0w9Q,10190
|
|
5
|
-
tensorneko/version.txt,sha256=
|
|
5
|
+
tensorneko/version.txt,sha256=FIewmk72mlCifhnaTikqanXqn3UBTPnpwXe-n8hJHA8,7
|
|
6
6
|
tensorneko/arch/__init__.py,sha256=w4lTUeyBIZelrnSjlBFWUF0erzOmBFl9FqeWQuSOyKs,248
|
|
7
7
|
tensorneko/arch/auto_encoder.py,sha256=j6PWWyaNYaYNtw_zZ9ikzhCASqe9viXR3JGBIXSK92Y,2137
|
|
8
8
|
tensorneko/arch/binary_classifier.py,sha256=1MkEbReXKLdDksRG5Rsife40grJk08EVDcNKp54Xvb4,2316
|
|
@@ -24,7 +24,7 @@ tensorneko/dataset/list_dataset.py,sha256=kRLIlnLObctqOJYbTwy9pslSw6sBorOLQwMKu7
|
|
|
24
24
|
tensorneko/dataset/nested_dataset.py,sha256=qVovwAgmBLdEgy6jTYlCHnosLWMG4HMvC-LtDSiDQ4Y,2243
|
|
25
25
|
tensorneko/dataset/round_robin_dataset.py,sha256=5yxeaKe5tEG-t4JkVcrohSU3bQsUKyH33Q6wky8tK-A,3207
|
|
26
26
|
tensorneko/dataset/sampler/__init__.py,sha256=inj-7M5IjafU5yzSpU2BY9FWAiRp0u7RqkgAcIZj2Qk,102
|
|
27
|
-
tensorneko/dataset/sampler/sequential_iter_sampler.py,sha256=
|
|
27
|
+
tensorneko/dataset/sampler/sequential_iter_sampler.py,sha256=BY3R5ZZvkYrtd_kqCI9HahNBCkGOwMUz6v0YfrCKggs,1673
|
|
28
28
|
tensorneko/debug/__init__.py,sha256=ZMfU3qquhMhl6EgPzM7Yuvvv0PWy3cR39UjPrrSmQcs,163
|
|
29
29
|
tensorneko/evaluation/__init__.py,sha256=jW8dh1JRMpx3npjTp7wJLzz-IxFZTBh7F-Ztfoep9xs,296
|
|
30
30
|
tensorneko/evaluation/enum.py,sha256=s3P8XAobku-as4in5vh6BanvVW5Ccwnff0t124lVFFg,137
|
|
@@ -90,8 +90,8 @@ tensorneko/visualization/log_graph.py,sha256=NvOwWVc_petXWYdgaHosPFLa43sHBeacbYc
|
|
|
90
90
|
tensorneko/visualization/matplotlib.py,sha256=xs9Ssc44ojZX65QU8-fftA7Ug_pBuZ3TBtM8vETNq9w,1568
|
|
91
91
|
tensorneko/visualization/image_browser/__init__.py,sha256=AtykhAE3bXQS6SOWbeYFeeUE9ts9XOFMvrL31z0LoMg,63
|
|
92
92
|
tensorneko/visualization/watcher/__init__.py,sha256=Nq752qIYvfRUZ8VctKQRSqhxh5KmFbWcqPfZlijVx6s,379
|
|
93
|
-
tensorneko-0.3.
|
|
94
|
-
tensorneko-0.3.
|
|
95
|
-
tensorneko-0.3.
|
|
96
|
-
tensorneko-0.3.
|
|
97
|
-
tensorneko-0.3.
|
|
93
|
+
tensorneko-0.3.23.dist-info/licenses/LICENSE,sha256=Vd75kwgJpVuMnCRBWasQzceMlXt4YQL13ikBLy8G5h0,1067
|
|
94
|
+
tensorneko-0.3.23.dist-info/METADATA,sha256=4tuKykwFwbOjcSoCYI0r9b60WFy9rx7OOdAXKmKDZqM,21104
|
|
95
|
+
tensorneko-0.3.23.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
|
|
96
|
+
tensorneko-0.3.23.dist-info/top_level.txt,sha256=sZHwlP0iyk7_zHuhRHzSBkdY9yEgyC48f6UVuZ6CvqE,11
|
|
97
|
+
tensorneko-0.3.23.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|