recoilme commited on
Commit
bcd912d
·
1 Parent(s): 41b440f
samples/unet_192x384_0.jpg CHANGED

Git LFS Details

  • SHA256: de2dea7bf6e9b66042e4b4beef0c651242322755a6a5c530213f15c276406a96
  • Pointer size: 130 Bytes
  • Size of remote file: 44.8 kB

Git LFS Details

  • SHA256: 55236397a1e67ca8dfa8dba42fbf11314f6f040eb4c4faf381d61086e9614a74
  • Pointer size: 130 Bytes
  • Size of remote file: 44.9 kB
samples/unet_256x384_0.jpg CHANGED

Git LFS Details

  • SHA256: b0614b01c4cc1725a2e7c9e56d74c7a69177781256d7ad1f857bc0b0b09b607a
  • Pointer size: 130 Bytes
  • Size of remote file: 54 kB

Git LFS Details

  • SHA256: 5f6667747f77ec2f3632252a43b9341bc9f86b6bc652c3abcd6c73139f354aef
  • Pointer size: 130 Bytes
  • Size of remote file: 50.5 kB
samples/unet_320x384_0.jpg CHANGED

Git LFS Details

  • SHA256: 9c474aa5c067c367d438c1852b3d4a886a654b8fd00b53c928cb03474a684dc2
  • Pointer size: 130 Bytes
  • Size of remote file: 62 kB

Git LFS Details

  • SHA256: 1e7505f9fcc537ea9a8dfb023acb049ac59ba291f6d3c385a68ead85d1a9939f
  • Pointer size: 130 Bytes
  • Size of remote file: 54.3 kB
samples/unet_384x192_0.jpg CHANGED

Git LFS Details

  • SHA256: 1bddf398d45d927153565ad23d041644c40bfe4f20bb2e137c429702de8fc340
  • Pointer size: 130 Bytes
  • Size of remote file: 30 kB

Git LFS Details

  • SHA256: 7431b8d26d9bd64767409d430e797ce9660b56a34efb72f491dd44241cee6405
  • Pointer size: 130 Bytes
  • Size of remote file: 27.7 kB
samples/unet_384x256_0.jpg CHANGED

Git LFS Details

  • SHA256: 4bfba7f661939ee18ee901acef2b1a7efe994c01717301a8d72848592b8e52e1
  • Pointer size: 130 Bytes
  • Size of remote file: 63.9 kB

Git LFS Details

  • SHA256: 16efd993a65b8871a5ff70a88c6e0381b6b603d9ada940fa891768d3fa61778d
  • Pointer size: 130 Bytes
  • Size of remote file: 55.1 kB
samples/unet_384x320_0.jpg CHANGED

Git LFS Details

  • SHA256: f164b126c515545b8334a67e6b01b7ac3647545226f88b1a2c27d5caf543002e
  • Pointer size: 130 Bytes
  • Size of remote file: 44.5 kB

Git LFS Details

  • SHA256: b33e596bdd270790e346109bd72088dc48dc1195c2c4450c46d9ab2ec698a27a
  • Pointer size: 130 Bytes
  • Size of remote file: 50.8 kB
samples/unet_384x384_0.jpg CHANGED

Git LFS Details

  • SHA256: 5e664771ce6ccda4d42045511676cd35cdd90296e6489da6472e2ef88fa0c224
  • Pointer size: 130 Bytes
  • Size of remote file: 62.1 kB

Git LFS Details

  • SHA256: 04e4d2e0e3b82b757f0cadaa1a00794fbbddd6910168d83b04d3ac20af831501
  • Pointer size: 130 Bytes
  • Size of remote file: 56.3 kB
src/cherrypick.ipynb ADDED
@@ -0,0 +1,1614 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 1,
6
+ "id": "ce9ebe41-3fb5-459e-a800-416103fb3f4b",
7
+ "metadata": {
8
+ "scrolled": true
9
+ },
10
+ "outputs": [
11
+ {
12
+ "data": {
13
+ "application/vnd.jupyter.widget-view+json": {
14
+ "model_id": "52940617f54245418aaf7236b246ee03",
15
+ "version_major": 2,
16
+ "version_minor": 0
17
+ },
18
+ "text/plain": [
19
+ "Loading dataset from disk: 0%| | 0/329 [00:00<?, ?it/s]"
20
+ ]
21
+ },
22
+ "metadata": {},
23
+ "output_type": "display_data"
24
+ },
25
+ {
26
+ "data": {
27
+ "application/vnd.jupyter.widget-view+json": {
28
+ "model_id": "26b058c989394d49aedaa4de4f6d8e7c",
29
+ "version_major": 2,
30
+ "version_minor": 0
31
+ },
32
+ "text/plain": [
33
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
34
+ ]
35
+ },
36
+ "metadata": {},
37
+ "output_type": "display_data"
38
+ },
39
+ {
40
+ "data": {
41
+ "application/vnd.jupyter.widget-view+json": {
42
+ "model_id": "ba0ed28c7e204df19e83a8be534a9a94",
43
+ "version_major": 2,
44
+ "version_minor": 0
45
+ },
46
+ "text/plain": [
47
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
48
+ ]
49
+ },
50
+ "metadata": {},
51
+ "output_type": "display_data"
52
+ },
53
+ {
54
+ "data": {
55
+ "application/vnd.jupyter.widget-view+json": {
56
+ "model_id": "0ab0775fb07640588e47a991b4d8ccd1",
57
+ "version_major": 2,
58
+ "version_minor": 0
59
+ },
60
+ "text/plain": [
61
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
62
+ ]
63
+ },
64
+ "metadata": {},
65
+ "output_type": "display_data"
66
+ },
67
+ {
68
+ "data": {
69
+ "application/vnd.jupyter.widget-view+json": {
70
+ "model_id": "1928e46884264fc48089c5dac0e932a8",
71
+ "version_major": 2,
72
+ "version_minor": 0
73
+ },
74
+ "text/plain": [
75
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
76
+ ]
77
+ },
78
+ "metadata": {},
79
+ "output_type": "display_data"
80
+ },
81
+ {
82
+ "data": {
83
+ "application/vnd.jupyter.widget-view+json": {
84
+ "model_id": "55ed14e31fd2439aa17b4fe374fc6f36",
85
+ "version_major": 2,
86
+ "version_minor": 0
87
+ },
88
+ "text/plain": [
89
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
90
+ ]
91
+ },
92
+ "metadata": {},
93
+ "output_type": "display_data"
94
+ },
95
+ {
96
+ "data": {
97
+ "application/vnd.jupyter.widget-view+json": {
98
+ "model_id": "383954937ecf43bdb40d1bb00a9117ea",
99
+ "version_major": 2,
100
+ "version_minor": 0
101
+ },
102
+ "text/plain": [
103
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
104
+ ]
105
+ },
106
+ "metadata": {},
107
+ "output_type": "display_data"
108
+ },
109
+ {
110
+ "data": {
111
+ "application/vnd.jupyter.widget-view+json": {
112
+ "model_id": "e63ad6333820407c84123b55dc6c70a7",
113
+ "version_major": 2,
114
+ "version_minor": 0
115
+ },
116
+ "text/plain": [
117
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
118
+ ]
119
+ },
120
+ "metadata": {},
121
+ "output_type": "display_data"
122
+ },
123
+ {
124
+ "data": {
125
+ "application/vnd.jupyter.widget-view+json": {
126
+ "model_id": "a0d67bf099544cdf94aa9b8dadbd8c69",
127
+ "version_major": 2,
128
+ "version_minor": 0
129
+ },
130
+ "text/plain": [
131
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
132
+ ]
133
+ },
134
+ "metadata": {},
135
+ "output_type": "display_data"
136
+ },
137
+ {
138
+ "data": {
139
+ "application/vnd.jupyter.widget-view+json": {
140
+ "model_id": "19c07ed06940465386d1c330a0fb3f4a",
141
+ "version_major": 2,
142
+ "version_minor": 0
143
+ },
144
+ "text/plain": [
145
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
146
+ ]
147
+ },
148
+ "metadata": {},
149
+ "output_type": "display_data"
150
+ },
151
+ {
152
+ "data": {
153
+ "application/vnd.jupyter.widget-view+json": {
154
+ "model_id": "d4fcfe324db2484a95401409e1f51d2a",
155
+ "version_major": 2,
156
+ "version_minor": 0
157
+ },
158
+ "text/plain": [
159
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
160
+ ]
161
+ },
162
+ "metadata": {},
163
+ "output_type": "display_data"
164
+ },
165
+ {
166
+ "data": {
167
+ "application/vnd.jupyter.widget-view+json": {
168
+ "model_id": "3f5603691d8b41348068162e7f43e43e",
169
+ "version_major": 2,
170
+ "version_minor": 0
171
+ },
172
+ "text/plain": [
173
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
174
+ ]
175
+ },
176
+ "metadata": {},
177
+ "output_type": "display_data"
178
+ },
179
+ {
180
+ "data": {
181
+ "application/vnd.jupyter.widget-view+json": {
182
+ "model_id": "0e47972712554aabb38c3279372ed077",
183
+ "version_major": 2,
184
+ "version_minor": 0
185
+ },
186
+ "text/plain": [
187
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
188
+ ]
189
+ },
190
+ "metadata": {},
191
+ "output_type": "display_data"
192
+ },
193
+ {
194
+ "data": {
195
+ "application/vnd.jupyter.widget-view+json": {
196
+ "model_id": "b57f32bf1acf42db8f23db4bf5f23ce3",
197
+ "version_major": 2,
198
+ "version_minor": 0
199
+ },
200
+ "text/plain": [
201
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
202
+ ]
203
+ },
204
+ "metadata": {},
205
+ "output_type": "display_data"
206
+ },
207
+ {
208
+ "data": {
209
+ "application/vnd.jupyter.widget-view+json": {
210
+ "model_id": "8a56141dc03f401c9909fa09865d7ef1",
211
+ "version_major": 2,
212
+ "version_minor": 0
213
+ },
214
+ "text/plain": [
215
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
216
+ ]
217
+ },
218
+ "metadata": {},
219
+ "output_type": "display_data"
220
+ },
221
+ {
222
+ "data": {
223
+ "application/vnd.jupyter.widget-view+json": {
224
+ "model_id": "8c5ec13d5d1f4393a5efc9328c5d3d51",
225
+ "version_major": 2,
226
+ "version_minor": 0
227
+ },
228
+ "text/plain": [
229
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
230
+ ]
231
+ },
232
+ "metadata": {},
233
+ "output_type": "display_data"
234
+ },
235
+ {
236
+ "data": {
237
+ "application/vnd.jupyter.widget-view+json": {
238
+ "model_id": "f2a628d019594312a2fc7541657d6f68",
239
+ "version_major": 2,
240
+ "version_minor": 0
241
+ },
242
+ "text/plain": [
243
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
244
+ ]
245
+ },
246
+ "metadata": {},
247
+ "output_type": "display_data"
248
+ },
249
+ {
250
+ "data": {
251
+ "application/vnd.jupyter.widget-view+json": {
252
+ "model_id": "a85452b9542f4e75bc273c620c869ba8",
253
+ "version_major": 2,
254
+ "version_minor": 0
255
+ },
256
+ "text/plain": [
257
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
258
+ ]
259
+ },
260
+ "metadata": {},
261
+ "output_type": "display_data"
262
+ },
263
+ {
264
+ "data": {
265
+ "application/vnd.jupyter.widget-view+json": {
266
+ "model_id": "46b38226b34448c3abf1c29ebf50c4d6",
267
+ "version_major": 2,
268
+ "version_minor": 0
269
+ },
270
+ "text/plain": [
271
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
272
+ ]
273
+ },
274
+ "metadata": {},
275
+ "output_type": "display_data"
276
+ },
277
+ {
278
+ "data": {
279
+ "application/vnd.jupyter.widget-view+json": {
280
+ "model_id": "a60d94b35f754f818fbc55238b57c527",
281
+ "version_major": 2,
282
+ "version_minor": 0
283
+ },
284
+ "text/plain": [
285
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
286
+ ]
287
+ },
288
+ "metadata": {},
289
+ "output_type": "display_data"
290
+ },
291
+ {
292
+ "data": {
293
+ "application/vnd.jupyter.widget-view+json": {
294
+ "model_id": "c92ca7d7b0f04a36899f6d23f5c61408",
295
+ "version_major": 2,
296
+ "version_minor": 0
297
+ },
298
+ "text/plain": [
299
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
300
+ ]
301
+ },
302
+ "metadata": {},
303
+ "output_type": "display_data"
304
+ },
305
+ {
306
+ "data": {
307
+ "application/vnd.jupyter.widget-view+json": {
308
+ "model_id": "f7fefeee8ec345758cf4a6a70259c722",
309
+ "version_major": 2,
310
+ "version_minor": 0
311
+ },
312
+ "text/plain": [
313
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
314
+ ]
315
+ },
316
+ "metadata": {},
317
+ "output_type": "display_data"
318
+ },
319
+ {
320
+ "data": {
321
+ "application/vnd.jupyter.widget-view+json": {
322
+ "model_id": "c36c956511d64c06bdd83438bfccafa2",
323
+ "version_major": 2,
324
+ "version_minor": 0
325
+ },
326
+ "text/plain": [
327
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
328
+ ]
329
+ },
330
+ "metadata": {},
331
+ "output_type": "display_data"
332
+ },
333
+ {
334
+ "data": {
335
+ "application/vnd.jupyter.widget-view+json": {
336
+ "model_id": "b0c568e26ee94956bed7e8821af83420",
337
+ "version_major": 2,
338
+ "version_minor": 0
339
+ },
340
+ "text/plain": [
341
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
342
+ ]
343
+ },
344
+ "metadata": {},
345
+ "output_type": "display_data"
346
+ },
347
+ {
348
+ "data": {
349
+ "application/vnd.jupyter.widget-view+json": {
350
+ "model_id": "f23724b0ddb74644a9063600c173d29c",
351
+ "version_major": 2,
352
+ "version_minor": 0
353
+ },
354
+ "text/plain": [
355
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
356
+ ]
357
+ },
358
+ "metadata": {},
359
+ "output_type": "display_data"
360
+ },
361
+ {
362
+ "data": {
363
+ "application/vnd.jupyter.widget-view+json": {
364
+ "model_id": "a3e0fe81365a49f7a19212bd6279b38a",
365
+ "version_major": 2,
366
+ "version_minor": 0
367
+ },
368
+ "text/plain": [
369
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
370
+ ]
371
+ },
372
+ "metadata": {},
373
+ "output_type": "display_data"
374
+ },
375
+ {
376
+ "data": {
377
+ "application/vnd.jupyter.widget-view+json": {
378
+ "model_id": "3369d7a46b3a45eab0f4b4cfdbd41b20",
379
+ "version_major": 2,
380
+ "version_minor": 0
381
+ },
382
+ "text/plain": [
383
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
384
+ ]
385
+ },
386
+ "metadata": {},
387
+ "output_type": "display_data"
388
+ },
389
+ {
390
+ "data": {
391
+ "application/vnd.jupyter.widget-view+json": {
392
+ "model_id": "951b8909b65142578e1af4cb04cd70a3",
393
+ "version_major": 2,
394
+ "version_minor": 0
395
+ },
396
+ "text/plain": [
397
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
398
+ ]
399
+ },
400
+ "metadata": {},
401
+ "output_type": "display_data"
402
+ },
403
+ {
404
+ "data": {
405
+ "application/vnd.jupyter.widget-view+json": {
406
+ "model_id": "152cfdffdac44403a019f35d431de158",
407
+ "version_major": 2,
408
+ "version_minor": 0
409
+ },
410
+ "text/plain": [
411
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
412
+ ]
413
+ },
414
+ "metadata": {},
415
+ "output_type": "display_data"
416
+ },
417
+ {
418
+ "data": {
419
+ "application/vnd.jupyter.widget-view+json": {
420
+ "model_id": "c8c1794598704e658923d8691b4c8973",
421
+ "version_major": 2,
422
+ "version_minor": 0
423
+ },
424
+ "text/plain": [
425
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
426
+ ]
427
+ },
428
+ "metadata": {},
429
+ "output_type": "display_data"
430
+ },
431
+ {
432
+ "data": {
433
+ "application/vnd.jupyter.widget-view+json": {
434
+ "model_id": "7517d76d26364743addb8c1b8cb8bf1d",
435
+ "version_major": 2,
436
+ "version_minor": 0
437
+ },
438
+ "text/plain": [
439
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
440
+ ]
441
+ },
442
+ "metadata": {},
443
+ "output_type": "display_data"
444
+ },
445
+ {
446
+ "data": {
447
+ "application/vnd.jupyter.widget-view+json": {
448
+ "model_id": "1a8781fa9e854029b7ec76c550d76fa2",
449
+ "version_major": 2,
450
+ "version_minor": 0
451
+ },
452
+ "text/plain": [
453
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
454
+ ]
455
+ },
456
+ "metadata": {},
457
+ "output_type": "display_data"
458
+ },
459
+ {
460
+ "data": {
461
+ "application/vnd.jupyter.widget-view+json": {
462
+ "model_id": "c209d8466a524fa09978f7b1d9d17cc9",
463
+ "version_major": 2,
464
+ "version_minor": 0
465
+ },
466
+ "text/plain": [
467
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
468
+ ]
469
+ },
470
+ "metadata": {},
471
+ "output_type": "display_data"
472
+ },
473
+ {
474
+ "data": {
475
+ "application/vnd.jupyter.widget-view+json": {
476
+ "model_id": "751a5f0dcac14ea7a516654a1e7da20f",
477
+ "version_major": 2,
478
+ "version_minor": 0
479
+ },
480
+ "text/plain": [
481
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
482
+ ]
483
+ },
484
+ "metadata": {},
485
+ "output_type": "display_data"
486
+ },
487
+ {
488
+ "data": {
489
+ "application/vnd.jupyter.widget-view+json": {
490
+ "model_id": "6558b76e476f44fbb1b1fab1fac3c450",
491
+ "version_major": 2,
492
+ "version_minor": 0
493
+ },
494
+ "text/plain": [
495
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
496
+ ]
497
+ },
498
+ "metadata": {},
499
+ "output_type": "display_data"
500
+ },
501
+ {
502
+ "data": {
503
+ "application/vnd.jupyter.widget-view+json": {
504
+ "model_id": "3a6893bfb66a4592a1724da4d9ed7063",
505
+ "version_major": 2,
506
+ "version_minor": 0
507
+ },
508
+ "text/plain": [
509
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
510
+ ]
511
+ },
512
+ "metadata": {},
513
+ "output_type": "display_data"
514
+ },
515
+ {
516
+ "data": {
517
+ "application/vnd.jupyter.widget-view+json": {
518
+ "model_id": "62eb1dcb51904e7ea9710930ddc0ee30",
519
+ "version_major": 2,
520
+ "version_minor": 0
521
+ },
522
+ "text/plain": [
523
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
524
+ ]
525
+ },
526
+ "metadata": {},
527
+ "output_type": "display_data"
528
+ },
529
+ {
530
+ "data": {
531
+ "application/vnd.jupyter.widget-view+json": {
532
+ "model_id": "b31d5a6f8c8b42a2a9e5feb6f0954c3a",
533
+ "version_major": 2,
534
+ "version_minor": 0
535
+ },
536
+ "text/plain": [
537
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
538
+ ]
539
+ },
540
+ "metadata": {},
541
+ "output_type": "display_data"
542
+ },
543
+ {
544
+ "data": {
545
+ "application/vnd.jupyter.widget-view+json": {
546
+ "model_id": "5623c42b05d8499cb40340fae33e33fe",
547
+ "version_major": 2,
548
+ "version_minor": 0
549
+ },
550
+ "text/plain": [
551
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
552
+ ]
553
+ },
554
+ "metadata": {},
555
+ "output_type": "display_data"
556
+ },
557
+ {
558
+ "data": {
559
+ "application/vnd.jupyter.widget-view+json": {
560
+ "model_id": "ed1340e74ad5424c826e38e09d709214",
561
+ "version_major": 2,
562
+ "version_minor": 0
563
+ },
564
+ "text/plain": [
565
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
566
+ ]
567
+ },
568
+ "metadata": {},
569
+ "output_type": "display_data"
570
+ },
571
+ {
572
+ "data": {
573
+ "application/vnd.jupyter.widget-view+json": {
574
+ "model_id": "022b98782a8943929097c5575a875ed8",
575
+ "version_major": 2,
576
+ "version_minor": 0
577
+ },
578
+ "text/plain": [
579
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
580
+ ]
581
+ },
582
+ "metadata": {},
583
+ "output_type": "display_data"
584
+ },
585
+ {
586
+ "data": {
587
+ "application/vnd.jupyter.widget-view+json": {
588
+ "model_id": "2fc825537704406cbbbe5af31a220845",
589
+ "version_major": 2,
590
+ "version_minor": 0
591
+ },
592
+ "text/plain": [
593
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
594
+ ]
595
+ },
596
+ "metadata": {},
597
+ "output_type": "display_data"
598
+ },
599
+ {
600
+ "data": {
601
+ "application/vnd.jupyter.widget-view+json": {
602
+ "model_id": "32f6ac57fc4547a39612e9e8b93b4d95",
603
+ "version_major": 2,
604
+ "version_minor": 0
605
+ },
606
+ "text/plain": [
607
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
608
+ ]
609
+ },
610
+ "metadata": {},
611
+ "output_type": "display_data"
612
+ },
613
+ {
614
+ "data": {
615
+ "application/vnd.jupyter.widget-view+json": {
616
+ "model_id": "d3eb079543f54bd48d3f2e0bb2d1699c",
617
+ "version_major": 2,
618
+ "version_minor": 0
619
+ },
620
+ "text/plain": [
621
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
622
+ ]
623
+ },
624
+ "metadata": {},
625
+ "output_type": "display_data"
626
+ },
627
+ {
628
+ "data": {
629
+ "application/vnd.jupyter.widget-view+json": {
630
+ "model_id": "ec1e4cb94f0b453eba94e81f2263b9f1",
631
+ "version_major": 2,
632
+ "version_minor": 0
633
+ },
634
+ "text/plain": [
635
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
636
+ ]
637
+ },
638
+ "metadata": {},
639
+ "output_type": "display_data"
640
+ },
641
+ {
642
+ "data": {
643
+ "application/vnd.jupyter.widget-view+json": {
644
+ "model_id": "21cc0bc9ba62447fa0460a4bd05a4e6c",
645
+ "version_major": 2,
646
+ "version_minor": 0
647
+ },
648
+ "text/plain": [
649
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
650
+ ]
651
+ },
652
+ "metadata": {},
653
+ "output_type": "display_data"
654
+ },
655
+ {
656
+ "data": {
657
+ "application/vnd.jupyter.widget-view+json": {
658
+ "model_id": "e187bb05045a4409a1eabb1731a6bd7e",
659
+ "version_major": 2,
660
+ "version_minor": 0
661
+ },
662
+ "text/plain": [
663
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
664
+ ]
665
+ },
666
+ "metadata": {},
667
+ "output_type": "display_data"
668
+ },
669
+ {
670
+ "data": {
671
+ "application/vnd.jupyter.widget-view+json": {
672
+ "model_id": "6f44a7df475446f8aab1c4bea66510b4",
673
+ "version_major": 2,
674
+ "version_minor": 0
675
+ },
676
+ "text/plain": [
677
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
678
+ ]
679
+ },
680
+ "metadata": {},
681
+ "output_type": "display_data"
682
+ },
683
+ {
684
+ "data": {
685
+ "application/vnd.jupyter.widget-view+json": {
686
+ "model_id": "1455330d17fe4e6f9f1db3fc14ebf281",
687
+ "version_major": 2,
688
+ "version_minor": 0
689
+ },
690
+ "text/plain": [
691
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
692
+ ]
693
+ },
694
+ "metadata": {},
695
+ "output_type": "display_data"
696
+ },
697
+ {
698
+ "data": {
699
+ "application/vnd.jupyter.widget-view+json": {
700
+ "model_id": "7e796aaa2ab04d209002746564259499",
701
+ "version_major": 2,
702
+ "version_minor": 0
703
+ },
704
+ "text/plain": [
705
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
706
+ ]
707
+ },
708
+ "metadata": {},
709
+ "output_type": "display_data"
710
+ },
711
+ {
712
+ "data": {
713
+ "application/vnd.jupyter.widget-view+json": {
714
+ "model_id": "0f6c726352124d4198ff32532353d11d",
715
+ "version_major": 2,
716
+ "version_minor": 0
717
+ },
718
+ "text/plain": [
719
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
720
+ ]
721
+ },
722
+ "metadata": {},
723
+ "output_type": "display_data"
724
+ },
725
+ {
726
+ "data": {
727
+ "application/vnd.jupyter.widget-view+json": {
728
+ "model_id": "b151010578504ed8b3e524e16b580872",
729
+ "version_major": 2,
730
+ "version_minor": 0
731
+ },
732
+ "text/plain": [
733
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
734
+ ]
735
+ },
736
+ "metadata": {},
737
+ "output_type": "display_data"
738
+ },
739
+ {
740
+ "data": {
741
+ "application/vnd.jupyter.widget-view+json": {
742
+ "model_id": "6eef4c9c19b04dd8bb04970946f5adb4",
743
+ "version_major": 2,
744
+ "version_minor": 0
745
+ },
746
+ "text/plain": [
747
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
748
+ ]
749
+ },
750
+ "metadata": {},
751
+ "output_type": "display_data"
752
+ },
753
+ {
754
+ "data": {
755
+ "application/vnd.jupyter.widget-view+json": {
756
+ "model_id": "de5df2cfbbc14f30a61bb38ab931192a",
757
+ "version_major": 2,
758
+ "version_minor": 0
759
+ },
760
+ "text/plain": [
761
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
762
+ ]
763
+ },
764
+ "metadata": {},
765
+ "output_type": "display_data"
766
+ },
767
+ {
768
+ "data": {
769
+ "application/vnd.jupyter.widget-view+json": {
770
+ "model_id": "dda4e690cc7e4c3fb82c9449ee40dff0",
771
+ "version_major": 2,
772
+ "version_minor": 0
773
+ },
774
+ "text/plain": [
775
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
776
+ ]
777
+ },
778
+ "metadata": {},
779
+ "output_type": "display_data"
780
+ },
781
+ {
782
+ "data": {
783
+ "application/vnd.jupyter.widget-view+json": {
784
+ "model_id": "ddfa848bb4b24438ae237be7c281586a",
785
+ "version_major": 2,
786
+ "version_minor": 0
787
+ },
788
+ "text/plain": [
789
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
790
+ ]
791
+ },
792
+ "metadata": {},
793
+ "output_type": "display_data"
794
+ },
795
+ {
796
+ "data": {
797
+ "application/vnd.jupyter.widget-view+json": {
798
+ "model_id": "ee24a8af80874905bdc7f1cb38ae5262",
799
+ "version_major": 2,
800
+ "version_minor": 0
801
+ },
802
+ "text/plain": [
803
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
804
+ ]
805
+ },
806
+ "metadata": {},
807
+ "output_type": "display_data"
808
+ },
809
+ {
810
+ "data": {
811
+ "application/vnd.jupyter.widget-view+json": {
812
+ "model_id": "ddcf6709805c4e938ca3cc296a562d5a",
813
+ "version_major": 2,
814
+ "version_minor": 0
815
+ },
816
+ "text/plain": [
817
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
818
+ ]
819
+ },
820
+ "metadata": {},
821
+ "output_type": "display_data"
822
+ },
823
+ {
824
+ "data": {
825
+ "application/vnd.jupyter.widget-view+json": {
826
+ "model_id": "3b39ee415b1e4920b4851bbfe698eb23",
827
+ "version_major": 2,
828
+ "version_minor": 0
829
+ },
830
+ "text/plain": [
831
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
832
+ ]
833
+ },
834
+ "metadata": {},
835
+ "output_type": "display_data"
836
+ },
837
+ {
838
+ "data": {
839
+ "application/vnd.jupyter.widget-view+json": {
840
+ "model_id": "e22891bb74224b43a7f002005908667f",
841
+ "version_major": 2,
842
+ "version_minor": 0
843
+ },
844
+ "text/plain": [
845
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
846
+ ]
847
+ },
848
+ "metadata": {},
849
+ "output_type": "display_data"
850
+ },
851
+ {
852
+ "data": {
853
+ "application/vnd.jupyter.widget-view+json": {
854
+ "model_id": "2683a16b44d440f7a3c62c7c3871df27",
855
+ "version_major": 2,
856
+ "version_minor": 0
857
+ },
858
+ "text/plain": [
859
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
860
+ ]
861
+ },
862
+ "metadata": {},
863
+ "output_type": "display_data"
864
+ },
865
+ {
866
+ "data": {
867
+ "application/vnd.jupyter.widget-view+json": {
868
+ "model_id": "136010b37fc94e369c46679898dc209c",
869
+ "version_major": 2,
870
+ "version_minor": 0
871
+ },
872
+ "text/plain": [
873
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
874
+ ]
875
+ },
876
+ "metadata": {},
877
+ "output_type": "display_data"
878
+ },
879
+ {
880
+ "data": {
881
+ "application/vnd.jupyter.widget-view+json": {
882
+ "model_id": "166ba4346ce54680b4475f99bcf745ba",
883
+ "version_major": 2,
884
+ "version_minor": 0
885
+ },
886
+ "text/plain": [
887
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
888
+ ]
889
+ },
890
+ "metadata": {},
891
+ "output_type": "display_data"
892
+ },
893
+ {
894
+ "data": {
895
+ "application/vnd.jupyter.widget-view+json": {
896
+ "model_id": "5edea12e672b45b09eb3a1d0e7187e0d",
897
+ "version_major": 2,
898
+ "version_minor": 0
899
+ },
900
+ "text/plain": [
901
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
902
+ ]
903
+ },
904
+ "metadata": {},
905
+ "output_type": "display_data"
906
+ },
907
+ {
908
+ "data": {
909
+ "application/vnd.jupyter.widget-view+json": {
910
+ "model_id": "0c3f65ae1d794aef990eb83ca5febad1",
911
+ "version_major": 2,
912
+ "version_minor": 0
913
+ },
914
+ "text/plain": [
915
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
916
+ ]
917
+ },
918
+ "metadata": {},
919
+ "output_type": "display_data"
920
+ },
921
+ {
922
+ "data": {
923
+ "application/vnd.jupyter.widget-view+json": {
924
+ "model_id": "cc4b08df225040368e421aac76ab8524",
925
+ "version_major": 2,
926
+ "version_minor": 0
927
+ },
928
+ "text/plain": [
929
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
930
+ ]
931
+ },
932
+ "metadata": {},
933
+ "output_type": "display_data"
934
+ },
935
+ {
936
+ "data": {
937
+ "application/vnd.jupyter.widget-view+json": {
938
+ "model_id": "774bd02f10e24438be2d049afeb30550",
939
+ "version_major": 2,
940
+ "version_minor": 0
941
+ },
942
+ "text/plain": [
943
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
944
+ ]
945
+ },
946
+ "metadata": {},
947
+ "output_type": "display_data"
948
+ },
949
+ {
950
+ "data": {
951
+ "application/vnd.jupyter.widget-view+json": {
952
+ "model_id": "ac512bb0c0e049f19ef32a584daba960",
953
+ "version_major": 2,
954
+ "version_minor": 0
955
+ },
956
+ "text/plain": [
957
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
958
+ ]
959
+ },
960
+ "metadata": {},
961
+ "output_type": "display_data"
962
+ },
963
+ {
964
+ "data": {
965
+ "application/vnd.jupyter.widget-view+json": {
966
+ "model_id": "e3d68b81bf4d4f16a0adc7c21a4f0391",
967
+ "version_major": 2,
968
+ "version_minor": 0
969
+ },
970
+ "text/plain": [
971
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
972
+ ]
973
+ },
974
+ "metadata": {},
975
+ "output_type": "display_data"
976
+ },
977
+ {
978
+ "data": {
979
+ "application/vnd.jupyter.widget-view+json": {
980
+ "model_id": "a038981827fb496498d091423f30125d",
981
+ "version_major": 2,
982
+ "version_minor": 0
983
+ },
984
+ "text/plain": [
985
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
986
+ ]
987
+ },
988
+ "metadata": {},
989
+ "output_type": "display_data"
990
+ },
991
+ {
992
+ "data": {
993
+ "application/vnd.jupyter.widget-view+json": {
994
+ "model_id": "281a48b8882f4e58a07366e8f37377b0",
995
+ "version_major": 2,
996
+ "version_minor": 0
997
+ },
998
+ "text/plain": [
999
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1000
+ ]
1001
+ },
1002
+ "metadata": {},
1003
+ "output_type": "display_data"
1004
+ },
1005
+ {
1006
+ "data": {
1007
+ "application/vnd.jupyter.widget-view+json": {
1008
+ "model_id": "07ccca2e999a45069568c8c932281e3d",
1009
+ "version_major": 2,
1010
+ "version_minor": 0
1011
+ },
1012
+ "text/plain": [
1013
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1014
+ ]
1015
+ },
1016
+ "metadata": {},
1017
+ "output_type": "display_data"
1018
+ },
1019
+ {
1020
+ "data": {
1021
+ "application/vnd.jupyter.widget-view+json": {
1022
+ "model_id": "6077bc9e6d054395923da058eaac7929",
1023
+ "version_major": 2,
1024
+ "version_minor": 0
1025
+ },
1026
+ "text/plain": [
1027
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1028
+ ]
1029
+ },
1030
+ "metadata": {},
1031
+ "output_type": "display_data"
1032
+ },
1033
+ {
1034
+ "data": {
1035
+ "application/vnd.jupyter.widget-view+json": {
1036
+ "model_id": "cb5f3dac7363444f9a8170a44a8991d1",
1037
+ "version_major": 2,
1038
+ "version_minor": 0
1039
+ },
1040
+ "text/plain": [
1041
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1042
+ ]
1043
+ },
1044
+ "metadata": {},
1045
+ "output_type": "display_data"
1046
+ },
1047
+ {
1048
+ "data": {
1049
+ "application/vnd.jupyter.widget-view+json": {
1050
+ "model_id": "b488a5658f0847578b493ae536ebdfa6",
1051
+ "version_major": 2,
1052
+ "version_minor": 0
1053
+ },
1054
+ "text/plain": [
1055
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1056
+ ]
1057
+ },
1058
+ "metadata": {},
1059
+ "output_type": "display_data"
1060
+ },
1061
+ {
1062
+ "data": {
1063
+ "application/vnd.jupyter.widget-view+json": {
1064
+ "model_id": "2b608321703e4cd4a53a782e9266a6bb",
1065
+ "version_major": 2,
1066
+ "version_minor": 0
1067
+ },
1068
+ "text/plain": [
1069
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1070
+ ]
1071
+ },
1072
+ "metadata": {},
1073
+ "output_type": "display_data"
1074
+ },
1075
+ {
1076
+ "data": {
1077
+ "application/vnd.jupyter.widget-view+json": {
1078
+ "model_id": "c2e89571ca324a37927dc6fd26b425d2",
1079
+ "version_major": 2,
1080
+ "version_minor": 0
1081
+ },
1082
+ "text/plain": [
1083
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1084
+ ]
1085
+ },
1086
+ "metadata": {},
1087
+ "output_type": "display_data"
1088
+ },
1089
+ {
1090
+ "data": {
1091
+ "application/vnd.jupyter.widget-view+json": {
1092
+ "model_id": "de1eaaeed4714fb6b7a8e2a3c16ca8b9",
1093
+ "version_major": 2,
1094
+ "version_minor": 0
1095
+ },
1096
+ "text/plain": [
1097
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1098
+ ]
1099
+ },
1100
+ "metadata": {},
1101
+ "output_type": "display_data"
1102
+ },
1103
+ {
1104
+ "data": {
1105
+ "application/vnd.jupyter.widget-view+json": {
1106
+ "model_id": "f49182a8fa68464a8157138e4da202db",
1107
+ "version_major": 2,
1108
+ "version_minor": 0
1109
+ },
1110
+ "text/plain": [
1111
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1112
+ ]
1113
+ },
1114
+ "metadata": {},
1115
+ "output_type": "display_data"
1116
+ },
1117
+ {
1118
+ "data": {
1119
+ "application/vnd.jupyter.widget-view+json": {
1120
+ "model_id": "8e43173527b543bb9fafbe695eb0395b",
1121
+ "version_major": 2,
1122
+ "version_minor": 0
1123
+ },
1124
+ "text/plain": [
1125
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1126
+ ]
1127
+ },
1128
+ "metadata": {},
1129
+ "output_type": "display_data"
1130
+ },
1131
+ {
1132
+ "data": {
1133
+ "application/vnd.jupyter.widget-view+json": {
1134
+ "model_id": "c2a00f52bfa14bf4a2f1e10a37acba31",
1135
+ "version_major": 2,
1136
+ "version_minor": 0
1137
+ },
1138
+ "text/plain": [
1139
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1140
+ ]
1141
+ },
1142
+ "metadata": {},
1143
+ "output_type": "display_data"
1144
+ },
1145
+ {
1146
+ "data": {
1147
+ "application/vnd.jupyter.widget-view+json": {
1148
+ "model_id": "c7e77ec85f7749ea8a291defd21454bc",
1149
+ "version_major": 2,
1150
+ "version_minor": 0
1151
+ },
1152
+ "text/plain": [
1153
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1154
+ ]
1155
+ },
1156
+ "metadata": {},
1157
+ "output_type": "display_data"
1158
+ },
1159
+ {
1160
+ "data": {
1161
+ "application/vnd.jupyter.widget-view+json": {
1162
+ "model_id": "22d05db5ceb24a6c8407996fcf538a4c",
1163
+ "version_major": 2,
1164
+ "version_minor": 0
1165
+ },
1166
+ "text/plain": [
1167
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1168
+ ]
1169
+ },
1170
+ "metadata": {},
1171
+ "output_type": "display_data"
1172
+ },
1173
+ {
1174
+ "data": {
1175
+ "application/vnd.jupyter.widget-view+json": {
1176
+ "model_id": "f4a1b3561fe34239ac9306d083c93b45",
1177
+ "version_major": 2,
1178
+ "version_minor": 0
1179
+ },
1180
+ "text/plain": [
1181
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1182
+ ]
1183
+ },
1184
+ "metadata": {},
1185
+ "output_type": "display_data"
1186
+ },
1187
+ {
1188
+ "data": {
1189
+ "application/vnd.jupyter.widget-view+json": {
1190
+ "model_id": "a7837e9d78c5423ca1e22f077f665ef4",
1191
+ "version_major": 2,
1192
+ "version_minor": 0
1193
+ },
1194
+ "text/plain": [
1195
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1196
+ ]
1197
+ },
1198
+ "metadata": {},
1199
+ "output_type": "display_data"
1200
+ },
1201
+ {
1202
+ "data": {
1203
+ "application/vnd.jupyter.widget-view+json": {
1204
+ "model_id": "52f2ca450fa940e2b2e1e6f65da39d99",
1205
+ "version_major": 2,
1206
+ "version_minor": 0
1207
+ },
1208
+ "text/plain": [
1209
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1210
+ ]
1211
+ },
1212
+ "metadata": {},
1213
+ "output_type": "display_data"
1214
+ },
1215
+ {
1216
+ "data": {
1217
+ "application/vnd.jupyter.widget-view+json": {
1218
+ "model_id": "4f1d53f8d9a14473b39456cbfba80978",
1219
+ "version_major": 2,
1220
+ "version_minor": 0
1221
+ },
1222
+ "text/plain": [
1223
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1224
+ ]
1225
+ },
1226
+ "metadata": {},
1227
+ "output_type": "display_data"
1228
+ },
1229
+ {
1230
+ "data": {
1231
+ "application/vnd.jupyter.widget-view+json": {
1232
+ "model_id": "ae26bf8da3dc48a9823114a2d6884f11",
1233
+ "version_major": 2,
1234
+ "version_minor": 0
1235
+ },
1236
+ "text/plain": [
1237
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1238
+ ]
1239
+ },
1240
+ "metadata": {},
1241
+ "output_type": "display_data"
1242
+ },
1243
+ {
1244
+ "data": {
1245
+ "application/vnd.jupyter.widget-view+json": {
1246
+ "model_id": "7f904fb6f4f34dc49cc4d66d51ffbfc6",
1247
+ "version_major": 2,
1248
+ "version_minor": 0
1249
+ },
1250
+ "text/plain": [
1251
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1252
+ ]
1253
+ },
1254
+ "metadata": {},
1255
+ "output_type": "display_data"
1256
+ },
1257
+ {
1258
+ "data": {
1259
+ "application/vnd.jupyter.widget-view+json": {
1260
+ "model_id": "506cace9c3e945578d857c35224d96fd",
1261
+ "version_major": 2,
1262
+ "version_minor": 0
1263
+ },
1264
+ "text/plain": [
1265
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1266
+ ]
1267
+ },
1268
+ "metadata": {},
1269
+ "output_type": "display_data"
1270
+ },
1271
+ {
1272
+ "data": {
1273
+ "application/vnd.jupyter.widget-view+json": {
1274
+ "model_id": "10b2da3080d64a5fb46a969203e4df31",
1275
+ "version_major": 2,
1276
+ "version_minor": 0
1277
+ },
1278
+ "text/plain": [
1279
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1280
+ ]
1281
+ },
1282
+ "metadata": {},
1283
+ "output_type": "display_data"
1284
+ },
1285
+ {
1286
+ "data": {
1287
+ "application/vnd.jupyter.widget-view+json": {
1288
+ "model_id": "24ec24f5b88e4cb89a006be8f9a7609b",
1289
+ "version_major": 2,
1290
+ "version_minor": 0
1291
+ },
1292
+ "text/plain": [
1293
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1294
+ ]
1295
+ },
1296
+ "metadata": {},
1297
+ "output_type": "display_data"
1298
+ },
1299
+ {
1300
+ "data": {
1301
+ "application/vnd.jupyter.widget-view+json": {
1302
+ "model_id": "face9c8c64e04b1f9b5a7902903ee1ac",
1303
+ "version_major": 2,
1304
+ "version_minor": 0
1305
+ },
1306
+ "text/plain": [
1307
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1308
+ ]
1309
+ },
1310
+ "metadata": {},
1311
+ "output_type": "display_data"
1312
+ },
1313
+ {
1314
+ "data": {
1315
+ "application/vnd.jupyter.widget-view+json": {
1316
+ "model_id": "e2e63e38ce2b4bf5b3dd862e9685bc72",
1317
+ "version_major": 2,
1318
+ "version_minor": 0
1319
+ },
1320
+ "text/plain": [
1321
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1322
+ ]
1323
+ },
1324
+ "metadata": {},
1325
+ "output_type": "display_data"
1326
+ },
1327
+ {
1328
+ "data": {
1329
+ "application/vnd.jupyter.widget-view+json": {
1330
+ "model_id": "0427e75f6e744461bf137e5c88e94061",
1331
+ "version_major": 2,
1332
+ "version_minor": 0
1333
+ },
1334
+ "text/plain": [
1335
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1336
+ ]
1337
+ },
1338
+ "metadata": {},
1339
+ "output_type": "display_data"
1340
+ },
1341
+ {
1342
+ "data": {
1343
+ "application/vnd.jupyter.widget-view+json": {
1344
+ "model_id": "32d5bd3560384e188fe3669e66095d23",
1345
+ "version_major": 2,
1346
+ "version_minor": 0
1347
+ },
1348
+ "text/plain": [
1349
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1350
+ ]
1351
+ },
1352
+ "metadata": {},
1353
+ "output_type": "display_data"
1354
+ },
1355
+ {
1356
+ "data": {
1357
+ "application/vnd.jupyter.widget-view+json": {
1358
+ "model_id": "909b216601b347648e3af0582665c558",
1359
+ "version_major": 2,
1360
+ "version_minor": 0
1361
+ },
1362
+ "text/plain": [
1363
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1364
+ ]
1365
+ },
1366
+ "metadata": {},
1367
+ "output_type": "display_data"
1368
+ },
1369
+ {
1370
+ "data": {
1371
+ "application/vnd.jupyter.widget-view+json": {
1372
+ "model_id": "961f79a42070460d88a1813bf18feba4",
1373
+ "version_major": 2,
1374
+ "version_minor": 0
1375
+ },
1376
+ "text/plain": [
1377
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1378
+ ]
1379
+ },
1380
+ "metadata": {},
1381
+ "output_type": "display_data"
1382
+ },
1383
+ {
1384
+ "data": {
1385
+ "application/vnd.jupyter.widget-view+json": {
1386
+ "model_id": "180768311e974f318f2a1b8a6433a57b",
1387
+ "version_major": 2,
1388
+ "version_minor": 0
1389
+ },
1390
+ "text/plain": [
1391
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1392
+ ]
1393
+ },
1394
+ "metadata": {},
1395
+ "output_type": "display_data"
1396
+ },
1397
+ {
1398
+ "data": {
1399
+ "application/vnd.jupyter.widget-view+json": {
1400
+ "model_id": "c05cb94470974807bf854617d0ce80b6",
1401
+ "version_major": 2,
1402
+ "version_minor": 0
1403
+ },
1404
+ "text/plain": [
1405
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1406
+ ]
1407
+ },
1408
+ "metadata": {},
1409
+ "output_type": "display_data"
1410
+ },
1411
+ {
1412
+ "data": {
1413
+ "application/vnd.jupyter.widget-view+json": {
1414
+ "model_id": "ccd29e7358c24f358d060e16d889771b",
1415
+ "version_major": 2,
1416
+ "version_minor": 0
1417
+ },
1418
+ "text/plain": [
1419
+ "Генерация: 0%| | 0/50 [00:00<?, ?it/s]"
1420
+ ]
1421
+ },
1422
+ "metadata": {},
1423
+ "output_type": "display_data"
1424
+ },
1425
+ {
1426
+ "name": "stdout",
1427
+ "output_type": "stream",
1428
+ "text": [
1429
+ "Images generated and saved to: samples\n"
1430
+ ]
1431
+ }
1432
+ ],
1433
+ "source": [
1434
+ "from datasets import load_from_disk\n",
1435
+ "import torch\n",
1436
+ "from diffusers import AutoencoderKL, DDPMScheduler, UNet2DConditionModel\n",
1437
+ "from transformers import AutoModel, AutoTokenizer\n",
1438
+ "from PIL import Image\n",
1439
+ "from tqdm.auto import tqdm\n",
1440
+ "import os\n",
1441
+ "import random\n",
1442
+ "\n",
1443
+ "# Initialize models and tokenizer\n",
1444
+ "device = \"cuda\" if torch.cuda.is_available() else \"cpu\"\n",
1445
+ "dtype = torch.float16 if torch.cuda.is_available() else torch.float32\n",
1446
+ "\n",
1447
+ "tokenizer = AutoTokenizer.from_pretrained(\"visheratin/mexma-siglip\")\n",
1448
+ "text_model = AutoModel.from_pretrained(\n",
1449
+ " \"visheratin/mexma-siglip\", torch_dtype=dtype, trust_remote_code=True\n",
1450
+ ").to(device, dtype=dtype).eval()\n",
1451
+ "\n",
1452
+ "pipeid = \"AiArtLab/sdxs\"\n",
1453
+ "variant = \"fp16\" if torch.cuda.is_available() else None\n",
1454
+ "\n",
1455
+ "unet = UNet2DConditionModel.from_pretrained(\"/workspace/sdxs\"#pipeid\n",
1456
+ " , subfolder=\"unet\", variant=variant).to(device, dtype=dtype).eval()\n",
1457
+ "vae = AutoencoderKL.from_pretrained(pipeid, subfolder=\"vae\", variant=variant).to(device, dtype=dtype).eval()\n",
1458
+ "scheduler = DDPMScheduler.from_pretrained(pipeid, subfolder=\"scheduler\")\n",
1459
+ "\n",
1460
+ "def get_random_samples(dataset_path, num_samples=20):\n",
1461
+ " \"\"\"\n",
1462
+ " Возвращает случайные тексты, ширину и высоту из датасета.\n",
1463
+ " \"\"\"\n",
1464
+ " # Загружаем датасет\n",
1465
+ " dataset = load_from_disk(dataset_path)\n",
1466
+ "\n",
1467
+ " # Удаление записей с \"vectorstock\"\n",
1468
+ " filtered_indices = [i for i, text in enumerate(dataset['text']) if 'vector' not in text.lower()]\n",
1469
+ " dataset = dataset.select(filtered_indices)\n",
1470
+ "\n",
1471
+ " # Выбираем случайные индексы\n",
1472
+ " random_indices = random.sample(range(len(dataset)), num_samples)\n",
1473
+ "\n",
1474
+ " # Извлекаем тексты, ширину и высоту\n",
1475
+ " samples = [\n",
1476
+ " {\n",
1477
+ " \"text\": dataset[i]['text'],\n",
1478
+ " \"width\": dataset[i]['width'],\n",
1479
+ " \"height\": dataset[i]['height']\n",
1480
+ " }\n",
1481
+ " for i in random_indices\n",
1482
+ " ]\n",
1483
+ "\n",
1484
+ " return samples\n",
1485
+ "\n",
1486
+ "def encode_prompt(prompt, negative_prompt, device, dtype):\n",
1487
+ " if negative_prompt is None:\n",
1488
+ " negative_prompt = \"\"\n",
1489
+ "\n",
1490
+ " with torch.no_grad():\n",
1491
+ " positive_inputs = tokenizer(\n",
1492
+ " prompt,\n",
1493
+ " return_tensors=\"pt\",\n",
1494
+ " padding=\"max_length\",\n",
1495
+ " max_length=512,\n",
1496
+ " truncation=True,\n",
1497
+ " ).to(device)\n",
1498
+ " positive_embeddings = text_model.encode_texts(\n",
1499
+ " positive_inputs.input_ids, positive_inputs.attention_mask\n",
1500
+ " )\n",
1501
+ " if positive_embeddings.ndim == 2:\n",
1502
+ " positive_embeddings = positive_embeddings.unsqueeze(1)\n",
1503
+ " positive_embeddings = positive_embeddings.to(device, dtype=dtype)\n",
1504
+ "\n",
1505
+ " negative_inputs = tokenizer(\n",
1506
+ " negative_prompt,\n",
1507
+ " return_tensors=\"pt\",\n",
1508
+ " padding=\"max_length\",\n",
1509
+ " max_length=512,\n",
1510
+ " truncation=True,\n",
1511
+ " ).to(device)\n",
1512
+ " negative_embeddings = text_model.encode_texts(negative_inputs.input_ids, negative_inputs.attention_mask)\n",
1513
+ " if negative_embeddings.ndim == 2:\n",
1514
+ " negative_embeddings = negative_embeddings.unsqueeze(1)\n",
1515
+ " negative_embeddings = negative_embeddings.to(device, dtype=dtype)\n",
1516
+ " return torch.cat([negative_embeddings, positive_embeddings], dim=0)\n",
1517
+ "\n",
1518
+ "def generate_latents(embeddings, height=576, width=576, num_inference_steps=50, guidance_scale=5.5):\n",
1519
+ " with torch.no_grad():\n",
1520
+ " device, dtype = embeddings.device, embeddings.dtype\n",
1521
+ " half = embeddings.shape[0] // 2\n",
1522
+ " latent_shape = (half, 16, height // 8, width // 8)\n",
1523
+ " latents = torch.randn(latent_shape, device=device, dtype=dtype)\n",
1524
+ " embeddings = embeddings.repeat_interleave(half, dim=0)\n",
1525
+ "\n",
1526
+ " scheduler.set_timesteps(num_inference_steps)\n",
1527
+ "\n",
1528
+ " for t in tqdm(scheduler.timesteps, desc=\"Генерация\"):\n",
1529
+ " latent_model_input = torch.cat([latents] * 2)\n",
1530
+ " latent_model_input = scheduler.scale_model_input(latent_model_input, t)\n",
1531
+ " noise_pred = unet(latent_model_input, t, embeddings).sample\n",
1532
+ " noise_pred_uncond, noise_pred_text = noise_pred.chunk(2)\n",
1533
+ " noise_pred = noise_pred_uncond + guidance_scale * (noise_pred_text - noise_pred_uncond)\n",
1534
+ " latents = scheduler.step(noise_pred, t, latents).prev_sample\n",
1535
+ " return latents\n",
1536
+ "\n",
1537
+ "def decode_latents(latents, vae, output_type=\"pil\"):\n",
1538
+ " latents = (latents / vae.config.scaling_factor) + vae.config.shift_factor\n",
1539
+ " with torch.no_grad():\n",
1540
+ " images = vae.decode(latents).sample\n",
1541
+ " images = (images / 2 + 0.5).clamp(0, 1)\n",
1542
+ " images = images.cpu().permute(0, 2, 3, 1).float().numpy()\n",
1543
+ " if output_type == \"pil\":\n",
1544
+ " images = (images * 255).round().astype(\"uint8\")\n",
1545
+ " images = [Image.fromarray(image) for image in images]\n",
1546
+ " return images\n",
1547
+ "\n",
1548
+ "def generate_and_save_images(dataset_path, output_folder=\"samples\", project_name=\"sdxs\"):\n",
1549
+ " # Load random samples\n",
1550
+ " samples = get_random_samples(dataset_path,num_samples=100)\n",
1551
+ "\n",
1552
+ " os.makedirs(output_folder, exist_ok=True)\n",
1553
+ "\n",
1554
+ " for idx, sample in enumerate(samples):\n",
1555
+ " prompt = sample[\"text\"]\n",
1556
+ " negative_prompt = \"bad quality, low quality, low resolution\"\n",
1557
+ " height, width = sample[\"height\"], sample[\"width\"]\n",
1558
+ "\n",
1559
+ " # Encode prompt\n",
1560
+ " embeddings = encode_prompt(prompt, negative_prompt, device, dtype)\n",
1561
+ "\n",
1562
+ " # Generate latents\n",
1563
+ " latents = generate_latents(\n",
1564
+ " embeddings=embeddings,\n",
1565
+ " height=height,\n",
1566
+ " width=width,\n",
1567
+ " num_inference_steps=50\n",
1568
+ " )\n",
1569
+ "\n",
1570
+ " # Decode latents to images\n",
1571
+ " images = decode_latents(latents, vae)\n",
1572
+ "\n",
1573
+ " # Save the image\n",
1574
+ " for img_idx, image in enumerate(images):\n",
1575
+ " image.save(f\"{output_folder}/{project_name}_{idx}_{img_idx}.jpg\")\n",
1576
+ "\n",
1577
+ " print(\"Images generated and saved to:\", output_folder)\n",
1578
+ "\n",
1579
+ "# Example usage\n",
1580
+ "dataset_path = \"/workspace/sdxs/datasets/576\"\n",
1581
+ "generate_and_save_images(dataset_path)\n"
1582
+ ]
1583
+ },
1584
+ {
1585
+ "cell_type": "code",
1586
+ "execution_count": null,
1587
+ "id": "7b597fec-ff15-40fc-b9d5-356702cf66b8",
1588
+ "metadata": {},
1589
+ "outputs": [],
1590
+ "source": []
1591
+ }
1592
+ ],
1593
+ "metadata": {
1594
+ "kernelspec": {
1595
+ "display_name": "Python 3 (ipykernel)",
1596
+ "language": "python",
1597
+ "name": "python3"
1598
+ },
1599
+ "language_info": {
1600
+ "codemirror_mode": {
1601
+ "name": "ipython",
1602
+ "version": 3
1603
+ },
1604
+ "file_extension": ".py",
1605
+ "mimetype": "text/x-python",
1606
+ "name": "python",
1607
+ "nbconvert_exporter": "python",
1608
+ "pygments_lexer": "ipython3",
1609
+ "version": "3.11.10"
1610
+ }
1611
+ },
1612
+ "nbformat": 4,
1613
+ "nbformat_minor": 5
1614
+ }
src/dataset_combine.py ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import shutil
3
+ from datasets import load_from_disk, concatenate_datasets
4
+
5
+ def combine_datasets(main_dataset_path, datasets_to_add):
6
+ """
7
+ Объединяет указанные датасеты с основным датасетом.
8
+
9
+ Args:
10
+ main_dataset_path (str): Путь к основному датасету, в который нужно добавить данные
11
+ datasets_to_add (list): Список путей к датасетам, которые нужно добавить
12
+
13
+ Returns:
14
+ Dataset: Объединенный датасет
15
+ """
16
+ # Загружаем основной датасет
17
+ try:
18
+ main_dataset = load_from_disk(main_dataset_path)
19
+ print(f"Загружен основной датасет: {main_dataset_path} ({len(main_dataset)} записей)")
20
+ except Exception as e:
21
+ print(f"Ошибка загрузки основного датасета: {e}")
22
+ return None
23
+
24
+ # Список всех датасетов для объединения
25
+ all_datasets = [main_dataset]
26
+
27
+ # Загружаем и добавляем все дополнительные датасеты
28
+ for path in datasets_to_add:
29
+ try:
30
+ ds = load_from_disk(path)
31
+ all_datasets.append(ds)
32
+ print(f"Добавлен датасет: {path} ({len(ds)} записей)")
33
+ except Exception as e:
34
+ print(f"Ошибка загрузки датасета {path}: {e}")
35
+
36
+ # Объединяем все датасеты
37
+ print(f"Объединение {len(all_datasets)} датасетов...")
38
+ combined = concatenate_datasets(all_datasets)
39
+
40
+ # Создаем временную директорию на основе имени основного датасета
41
+ temp_dir = f"{main_dataset_path}_temp"
42
+
43
+ # Удаляем временную директорию, если она уже существует
44
+ if os.path.exists(temp_dir):
45
+ shutil.rmtree(temp_dir)
46
+
47
+ try:
48
+ # Сохраняем в временную директорию
49
+ print(f"Сохранение во временную директорию {temp_dir}...")
50
+ combined.save_to_disk(temp_dir)
51
+
52
+ # Удаляем старую директорию и перемещаем новую на ее место
53
+ print(f"Обновление основного датасета...")
54
+ #if os.path.exists(main_dataset_path):
55
+ # shutil.rmtree(main_dataset_path)
56
+ #shutil.copytree(temp_dir, main_dataset_path)
57
+
58
+ # Удаляем временную директорию после успешного копирования
59
+ #shutil.rmtree(temp_dir)
60
+
61
+ print(f"✅ Объединенный датасет ({len(combined)} записей) успешно сохранен в: {main_dataset_path}")
62
+ except Exception as e:
63
+ print(f"Ошибка при сохранении датасета: {e}")
64
+ print(f"Временные данные сохранены в: {temp_dir}")
65
+
66
+ return combined
67
+
68
+ combine_datasets("/workspace/sdxs3d/datasets/mjnj", ["/workspace/animesfw384"])
src/dataset_from_folder.py CHANGED
@@ -27,8 +27,8 @@ step = 64
27
  empty_share = 0.05
28
  limit = 0
29
  # Основная процедура обработки
30
- folder_path = "/workspace/mjnj" #alchemist"
31
- save_path = "/workspace/sdxs3d/datasets/mjnj" #"alchemist"
32
  os.makedirs(save_path, exist_ok=True)
33
 
34
  # Функция для очистки CUDA памяти
@@ -42,7 +42,7 @@ def clear_cuda_memory():
42
  # ---------------- 2️⃣ Загрузка моделей ----------------
43
  def load_models():
44
  print("Загрузка моделей...")
45
- vae = AutoencoderKL.from_pretrained("AiArtLab/simplevae",subfolder="simple_vae_nightly",torch_dtype=dtype).to(device).eval()
46
 
47
  tokenizer = AutoTokenizer.from_pretrained('Qwen/Qwen3-Embedding-0.6B', padding_side='left')
48
  model = AutoModel.from_pretrained('Qwen/Qwen3-Embedding-0.6B').to("cuda")
 
27
  empty_share = 0.05
28
  limit = 0
29
  # Основная процедура обработки
30
+ folder_path = "/workspace/animesfw" #alchemist"
31
+ save_path = "/workspace/animesfw384" #"alchemist"
32
  os.makedirs(save_path, exist_ok=True)
33
 
34
  # Функция для очистки CUDA памяти
 
42
  # ---------------- 2️⃣ Загрузка моделей ----------------
43
  def load_models():
44
  print("Загрузка моделей...")
45
+ vae = AutoencoderKL.from_pretrained("AiArtLab/sdxs3d",subfolder="vae",torch_dtype=dtype).to(device).eval()
46
 
47
  tokenizer = AutoTokenizer.from_pretrained('Qwen/Qwen3-Embedding-0.6B', padding_side='left')
48
  model = AutoModel.from_pretrained('Qwen/Qwen3-Embedding-0.6B').to("cuda")
src/dataset_fromzip.ipynb CHANGED
The diff for this file is too large to render. See raw diff
 
src/dataset_sample.ipynb CHANGED
@@ -12,18 +12,18 @@
12
  "text": [
13
  "Загрузка VAE модели...\n",
14
  "None None\n",
15
- "Загрузка датасета из /workspace/sdxs3d/datasets/mjnj...\n"
16
  ]
17
  },
18
  {
19
  "data": {
20
  "application/vnd.jupyter.widget-view+json": {
21
- "model_id": "b8440eeb7a96445fbc97026d43499e0c",
22
  "version_major": 2,
23
  "version_minor": 0
24
  },
25
  "text/plain": [
26
- "Loading dataset from disk: 0%| | 0/128 [00:00<?, ?it/s]"
27
  ]
28
  },
29
  "metadata": {},
@@ -38,7 +38,7 @@
38
  "\n",
39
  "Сортируем...\n",
40
  "\n",
41
- "--- Батч 256x384: 415207 примеров ---\n",
42
  "3 torch.Size([16, 48, 32])\n",
43
  "denormalized_latent torch.Size([1, 16, 48, 32])\n",
44
  "reconstructed_image torch.Size([1, 3, 384, 256])\n",
@@ -66,7 +66,7 @@
66
  "output_type": "stream",
67
  "text": [
68
  "\n",
69
- "--- Батч 384x384: 318891 примеров ---\n",
70
  "3 torch.Size([16, 48, 48])\n",
71
  "denormalized_latent torch.Size([1, 16, 48, 48])\n",
72
  "reconstructed_image torch.Size([1, 3, 384, 384])\n",
@@ -98,7 +98,7 @@
98
  "output_type": "stream",
99
  "text": [
100
  "\n",
101
- "--- Батч 384x192: 160398 примеров ---\n",
102
  "3 torch.Size([16, 24, 48])\n",
103
  "denormalized_latent torch.Size([1, 16, 24, 48])\n",
104
  "reconstructed_image torch.Size([1, 3, 192, 384])\n",
@@ -126,7 +126,7 @@
126
  "output_type": "stream",
127
  "text": [
128
  "\n",
129
- "--- Батч 192x384: 91622 примеров ---\n",
130
  "3 torch.Size([16, 48, 24])\n",
131
  "denormalized_latent torch.Size([1, 16, 48, 24])\n",
132
  "reconstructed_image torch.Size([1, 3, 384, 192])\n",
@@ -154,7 +154,7 @@
154
  "output_type": "stream",
155
  "text": [
156
  "\n",
157
- "--- Батч 384x256: 47266 примеров ---\n",
158
  "3 torch.Size([16, 32, 48])\n",
159
  "denormalized_latent torch.Size([1, 16, 32, 48])\n",
160
  "reconstructed_image torch.Size([1, 3, 256, 384])\n",
@@ -182,7 +182,7 @@
182
  "output_type": "stream",
183
  "text": [
184
  "\n",
185
- "--- Батч 320x384: 3648 примеров ---\n",
186
  "3 torch.Size([16, 48, 40])\n",
187
  "denormalized_latent torch.Size([1, 16, 48, 40])\n",
188
  "reconstructed_image torch.Size([1, 3, 384, 320])\n",
@@ -210,7 +210,7 @@
210
  "output_type": "stream",
211
  "text": [
212
  "\n",
213
- "--- Батч 384x320: 2808 примеров ---\n",
214
  "3 torch.Size([16, 40, 48])\n",
215
  "denormalized_latent torch.Size([1, 16, 40, 48])\n",
216
  "reconstructed_image torch.Size([1, 3, 320, 384])\n",
@@ -254,7 +254,7 @@
254
  " \n",
255
  " # Загрузка VAE модели\n",
256
  " print(\"Загрузка VAE модели...\")\n",
257
- " vae = AutoencoderKL.from_pretrained(\"AiArtLab/simplevae\",subfolder=\"simple_vae_nightly\",torch_dtype=dtype).to(device).eval()\n",
258
  " \n",
259
  " shift_factor = getattr(vae.config, \"shift_factor\", 0.0)\n",
260
  " if shift_factor is None:\n",
@@ -347,7 +347,7 @@
347
  "\n",
348
  "# Использование\n",
349
  "if __name__ == \"__main__\":\n",
350
- " save_path = \"/workspace/sdxs3d/datasets/mjnj\"\n",
351
  " size_groups = analyze_dataset_by_size(save_path)\n",
352
  "\n"
353
  ]
 
12
  "text": [
13
  "Загрузка VAE модели...\n",
14
  "None None\n",
15
+ "Загрузка датасета из /workspace/sdxs3d/datasets/mjnj_temp...\n"
16
  ]
17
  },
18
  {
19
  "data": {
20
  "application/vnd.jupyter.widget-view+json": {
21
+ "model_id": "6439c281be894d13967507c46fd382fb",
22
  "version_major": 2,
23
  "version_minor": 0
24
  },
25
  "text/plain": [
26
+ "Loading dataset from disk: 0%| | 0/139 [00:00<?, ?it/s]"
27
  ]
28
  },
29
  "metadata": {},
 
38
  "\n",
39
  "Сортируем...\n",
40
  "\n",
41
+ "--- Батч 256x384: 461454 примеров ---\n",
42
  "3 torch.Size([16, 48, 32])\n",
43
  "denormalized_latent torch.Size([1, 16, 48, 32])\n",
44
  "reconstructed_image torch.Size([1, 3, 384, 256])\n",
 
66
  "output_type": "stream",
67
  "text": [
68
  "\n",
69
+ "--- Батч 384x384: 323287 примеров ---\n",
70
  "3 torch.Size([16, 48, 48])\n",
71
  "denormalized_latent torch.Size([1, 16, 48, 48])\n",
72
  "reconstructed_image torch.Size([1, 3, 384, 384])\n",
 
98
  "output_type": "stream",
99
  "text": [
100
  "\n",
101
+ "--- Батч 384x192: 168933 примеров ---\n",
102
  "3 torch.Size([16, 24, 48])\n",
103
  "denormalized_latent torch.Size([1, 16, 24, 48])\n",
104
  "reconstructed_image torch.Size([1, 3, 192, 384])\n",
 
126
  "output_type": "stream",
127
  "text": [
128
  "\n",
129
+ "--- Батч 192x384: 103783 примеров ---\n",
130
  "3 torch.Size([16, 48, 24])\n",
131
  "denormalized_latent torch.Size([1, 16, 48, 24])\n",
132
  "reconstructed_image torch.Size([1, 3, 384, 192])\n",
 
154
  "output_type": "stream",
155
  "text": [
156
  "\n",
157
+ "--- Батч 384x256: 58854 примеров ---\n",
158
  "3 torch.Size([16, 32, 48])\n",
159
  "denormalized_latent torch.Size([1, 16, 32, 48])\n",
160
  "reconstructed_image torch.Size([1, 3, 256, 384])\n",
 
182
  "output_type": "stream",
183
  "text": [
184
  "\n",
185
+ "--- Батч 320x384: 11109 примеров ---\n",
186
  "3 torch.Size([16, 48, 40])\n",
187
  "denormalized_latent torch.Size([1, 16, 48, 40])\n",
188
  "reconstructed_image torch.Size([1, 3, 384, 320])\n",
 
210
  "output_type": "stream",
211
  "text": [
212
  "\n",
213
+ "--- Батч 384x320: 7445 примеров ---\n",
214
  "3 torch.Size([16, 40, 48])\n",
215
  "denormalized_latent torch.Size([1, 16, 40, 48])\n",
216
  "reconstructed_image torch.Size([1, 3, 320, 384])\n",
 
254
  " \n",
255
  " # Загрузка VAE модели\n",
256
  " print(\"Загрузка VAE модели...\")\n",
257
+ " vae = AutoencoderKL.from_pretrained(\"AiArtLab/sdxs3d\",subfolder=\"vae\",torch_dtype=dtype).to(device).eval()\n",
258
  " \n",
259
  " shift_factor = getattr(vae.config, \"shift_factor\", 0.0)\n",
260
  " if shift_factor is None:\n",
 
347
  "\n",
348
  "# Использование\n",
349
  "if __name__ == \"__main__\":\n",
350
+ " save_path = \"/workspace/sdxs3d/datasets/mjnj_temp\"\n",
351
  " size_groups = analyze_dataset_by_size(save_path)\n",
352
  "\n"
353
  ]
unet/config.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:afc06beff07034f0ce9f671c83222e7f78eedc3b3ce93293143accdebef1b111
3
- size 1887
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ef8fbaff98c8d479d68b566d07ef4fb8e51ac26b9e8b5a3cb2b23f9a978f6ca
3
+ size 1874
unet/diffusion_pytorch_model.fp16.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:072a5932b339f1c98d492fe71c74a374de6c0e5480dab5f0c393aed03818b6e1
3
+ size 3092571208
unet/diffusion_pytorch_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6dadca894650cddefea1f9251abb5948aba795370e117ace7387e3ff82385dbd
3
- size 3092571208
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:958b8d4d7c0c89ddd9977f61f3d17bb2dd5027b75c0d3669c30d55cf448d5c94
3
+ size 6184944280