|
83 | 83 | "metadata": { |
84 | 84 | "collapsed": false |
85 | 85 | }, |
86 | | - "outputs": [ |
87 | | - { |
88 | | - "name": "stdout", |
89 | | - "output_type": "stream", |
90 | | - "text": [ |
91 | | - "item 191/41626 [..............................] - ETA: 28s - 679us/ite" |
92 | | - ] |
93 | | - }, |
94 | | - { |
95 | | - "name": "stderr", |
96 | | - "output_type": "stream", |
97 | | - "text": [ |
98 | | - "Cache file /home/aistudio/.cache/paddle/dataset/cifar/cifar-10-python.tar.gz not found, downloading https://dataset.bj.bcebos.com/cifar/cifar-10-python.tar.gz \n", |
99 | | - "Begin to download\n" |
100 | | - ] |
101 | | - }, |
102 | | - { |
103 | | - "name": "stdout", |
104 | | - "output_type": "stream", |
105 | | - "text": [ |
106 | | - "item 309/41626 [..............................] - ETA: 30s - 731us/item\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\bitem 418/41626 [..............................] - ETA: 30s - 736us/it\n", |
107 | | - "item 2796/41626 [=>............................] - ETA: 27s - 702us/it" |
108 | | - ] |
109 | | - }, |
110 | | - { |
111 | | - "name": "stderr", |
112 | | - "output_type": "stream", |
113 | | - "text": [ |
114 | | - "IOPub message rate exceeded.\n", |
115 | | - "The notebook server will temporarily stop sending output\n", |
116 | | - "to the client in order to avoid crashing it.\n", |
117 | | - "To change this limit, set the config variable\n", |
118 | | - "`--NotebookApp.iopub_msg_rate_limit`.\n", |
119 | | - "\n", |
120 | | - "Current values:\n", |
121 | | - "NotebookApp.iopub_msg_rate_limit=1000.0 (msgs/sec)\n", |
122 | | - "NotebookApp.rate_limit_window=3.0 (secs)\n", |
123 | | - "\n" |
124 | | - ] |
125 | | - }, |
126 | | - { |
127 | | - "name": "stdout", |
128 | | - "output_type": "stream", |
129 | | - "text": [ |
130 | | - "item 3977/41626 [=>............................] - ETA: 27s - 721us/it\n", |
131 | | - "item 6665/41626 [===>..........................] - ETA: 25s - 731us/item" |
132 | | - ] |
133 | | - }, |
134 | | - { |
135 | | - "name": "stderr", |
136 | | - "output_type": "stream", |
137 | | - "text": [ |
138 | | - "IOPub message rate exceeded.\n", |
139 | | - "The notebook server will temporarily stop sending output\n", |
140 | | - "to the client in order to avoid crashing it.\n", |
141 | | - "To change this limit, set the config variable\n", |
142 | | - "`--NotebookApp.iopub_msg_rate_limit`.\n", |
143 | | - "\n", |
144 | | - "Current values:\n", |
145 | | - "NotebookApp.iopub_msg_rate_limit=1000.0 (msgs/sec)\n", |
146 | | - "NotebookApp.rate_limit_window=3.0 (secs)\n", |
147 | | - "\n" |
148 | | - ] |
149 | | - }, |
150 | | - { |
151 | | - "name": "stdout", |
152 | | - "output_type": "stream", |
153 | | - "text": [ |
154 | | - "item 7883/41626 [====>.........................] - ETA: 24s - 737us/i\n", |
155 | | - "item 10573/41626 [======>.......................] - ETA: 22s - 737us/ite" |
156 | | - ] |
157 | | - }, |
158 | | - { |
159 | | - "name": "stderr", |
160 | | - "output_type": "stream", |
161 | | - "text": [ |
162 | | - "IOPub message rate exceeded.\n", |
163 | | - "The notebook server will temporarily stop sending output\n", |
164 | | - "to the client in order to avoid crashing it.\n", |
165 | | - "To change this limit, set the config variable\n", |
166 | | - "`--NotebookApp.iopub_msg_rate_limit`.\n", |
167 | | - "\n", |
168 | | - "Current values:\n", |
169 | | - "NotebookApp.iopub_msg_rate_limit=1000.0 (msgs/sec)\n", |
170 | | - "NotebookApp.rate_limit_window=3.0 (secs)\n", |
171 | | - "\n" |
172 | | - ] |
173 | | - }, |
174 | | - { |
175 | | - "name": "stdout", |
176 | | - "output_type": "stream", |
177 | | - "text": [ |
178 | | - "item 11649/41626 [=======>......................] - ETA: 22s - 739us/i\n", |
179 | | - "item 14429/41626 [=========>....................] - ETA: 20s - 749us/it" |
180 | | - ] |
181 | | - }, |
182 | | - { |
183 | | - "name": "stderr", |
184 | | - "output_type": "stream", |
185 | | - "text": [ |
186 | | - "IOPub message rate exceeded.\n", |
187 | | - "The notebook server will temporarily stop sending output\n", |
188 | | - "to the client in order to avoid crashing it.\n", |
189 | | - "To change this limit, set the config variable\n", |
190 | | - "`--NotebookApp.iopub_msg_rate_limit`.\n", |
191 | | - "\n", |
192 | | - "Current values:\n", |
193 | | - "NotebookApp.iopub_msg_rate_limit=1000.0 (msgs/sec)\n", |
194 | | - "NotebookApp.rate_limit_window=3.0 (secs)\n", |
195 | | - "\n" |
196 | | - ] |
197 | | - }, |
198 | | - { |
199 | | - "name": "stdout", |
200 | | - "output_type": "stream", |
201 | | - "text": [ |
202 | | - "item 15507/41626 [==========>...................] - ETA: 19s - 747us/it\n", |
203 | | - "item 18274/41626 [============>.................] - ETA: 17s - 746us/it" |
204 | | - ] |
205 | | - }, |
206 | | - { |
207 | | - "name": "stderr", |
208 | | - "output_type": "stream", |
209 | | - "text": [ |
210 | | - "IOPub message rate exceeded.\n", |
211 | | - "The notebook server will temporarily stop sending output\n", |
212 | | - "to the client in order to avoid crashing it.\n", |
213 | | - "To change this limit, set the config variable\n", |
214 | | - "`--NotebookApp.iopub_msg_rate_limit`.\n", |
215 | | - "\n", |
216 | | - "Current values:\n", |
217 | | - "NotebookApp.iopub_msg_rate_limit=1000.0 (msgs/sec)\n", |
218 | | - "NotebookApp.rate_limit_window=3.0 (secs)\n", |
219 | | - "\n" |
220 | | - ] |
221 | | - }, |
222 | | - { |
223 | | - "name": "stdout", |
224 | | - "output_type": "stream", |
225 | | - "text": [ |
226 | | - "item 19387/41626 [============>.................] - ETA: 16s - 749us/i\n", |
227 | | - "item 22152/41626 [==============>...............] - ETA: 14s - 752us/ite" |
228 | | - ] |
229 | | - }, |
230 | | - { |
231 | | - "name": "stderr", |
232 | | - "output_type": "stream", |
233 | | - "text": [ |
234 | | - "IOPub message rate exceeded.\n", |
235 | | - "The notebook server will temporarily stop sending output\n", |
236 | | - "to the client in order to avoid crashing it.\n", |
237 | | - "To change this limit, set the config variable\n", |
238 | | - "`--NotebookApp.iopub_msg_rate_limit`.\n", |
239 | | - "\n", |
240 | | - "Current values:\n", |
241 | | - "NotebookApp.iopub_msg_rate_limit=1000.0 (msgs/sec)\n", |
242 | | - "NotebookApp.rate_limit_window=3.0 (secs)\n", |
243 | | - "\n" |
244 | | - ] |
245 | | - }, |
246 | | - { |
247 | | - "name": "stdout", |
248 | | - "output_type": "stream", |
249 | | - "text": [ |
250 | | - "item 23505/41626 [===============>..............] - ETA: 13s - 752us/it\n", |
251 | | - "item 26056/41626 [=================>............] - ETA: 11s - 751us/ite" |
252 | | - ] |
253 | | - }, |
254 | | - { |
255 | | - "name": "stderr", |
256 | | - "output_type": "stream", |
257 | | - "text": [ |
258 | | - "IOPub message rate exceeded.\n", |
259 | | - "The notebook server will temporarily stop sending output\n", |
260 | | - "to the client in order to avoid crashing it.\n", |
261 | | - "To change this limit, set the config variable\n", |
262 | | - "`--NotebookApp.iopub_msg_rate_limit`.\n", |
263 | | - "\n", |
264 | | - "Current values:\n", |
265 | | - "NotebookApp.iopub_msg_rate_limit=1000.0 (msgs/sec)\n", |
266 | | - "NotebookApp.rate_limit_window=3.0 (secs)\n", |
267 | | - "\n" |
268 | | - ] |
269 | | - }, |
270 | | - { |
271 | | - "name": "stdout", |
272 | | - "output_type": "stream", |
273 | | - "text": [ |
274 | | - "item 27554/41626 [==================>...........] - ETA: 10s - 756us/i\n", |
275 | | - "item 30135/41626 [====================>.........] - ETA: 8s - 757us/it" |
276 | | - ] |
277 | | - }, |
278 | | - { |
279 | | - "name": "stderr", |
280 | | - "output_type": "stream", |
281 | | - "text": [ |
282 | | - "IOPub message rate exceeded.\n", |
283 | | - "The notebook server will temporarily stop sending output\n", |
284 | | - "to the client in order to avoid crashing it.\n", |
285 | | - "To change this limit, set the config variable\n", |
286 | | - "`--NotebookApp.iopub_msg_rate_limit`.\n", |
287 | | - "\n", |
288 | | - "Current values:\n", |
289 | | - "NotebookApp.iopub_msg_rate_limit=1000.0 (msgs/sec)\n", |
290 | | - "NotebookApp.rate_limit_window=3.0 (secs)\n", |
291 | | - "\n" |
292 | | - ] |
293 | | - }, |
294 | | - { |
295 | | - "name": "stdout", |
296 | | - "output_type": "stream", |
297 | | - "text": [ |
298 | | - "item 32176/41626 [======================>.......] - ETA: 7s - 753us/\n", |
299 | | - "item 34137/41626 [=======================>......] - ETA: 5s - 752us/it" |
300 | | - ] |
301 | | - }, |
302 | | - { |
303 | | - "name": "stderr", |
304 | | - "output_type": "stream", |
305 | | - "text": [ |
306 | | - "IOPub message rate exceeded.\n", |
307 | | - "The notebook server will temporarily stop sending output\n", |
308 | | - "to the client in order to avoid crashing it.\n", |
309 | | - "To change this limit, set the config variable\n", |
310 | | - "`--NotebookApp.iopub_msg_rate_limit`.\n", |
311 | | - "\n", |
312 | | - "Current values:\n", |
313 | | - "NotebookApp.iopub_msg_rate_limit=1000.0 (msgs/sec)\n", |
314 | | - "NotebookApp.rate_limit_window=3.0 (secs)\n", |
315 | | - "\n" |
316 | | - ] |
317 | | - }, |
318 | | - { |
319 | | - "name": "stdout", |
320 | | - "output_type": "stream", |
321 | | - "text": [ |
322 | | - "item 35459/41626 [========================>.....] - ETA: 4s - 754us/\n", |
323 | | - "item 38238/41626 [==========================>...] - ETA: 2s - 750us/it" |
324 | | - ] |
325 | | - }, |
326 | | - { |
327 | | - "name": "stderr", |
328 | | - "output_type": "stream", |
329 | | - "text": [ |
330 | | - "IOPub message rate exceeded.\n", |
331 | | - "The notebook server will temporarily stop sending output\n", |
332 | | - "to the client in order to avoid crashing it.\n", |
333 | | - "To change this limit, set the config variable\n", |
334 | | - "`--NotebookApp.iopub_msg_rate_limit`.\n", |
335 | | - "\n", |
336 | | - "Current values:\n", |
337 | | - "NotebookApp.iopub_msg_rate_limit=1000.0 (msgs/sec)\n", |
338 | | - "NotebookApp.rate_limit_window=3.0 (secs)\n", |
339 | | - "\n" |
340 | | - ] |
341 | | - }, |
342 | | - { |
343 | | - "name": "stdout", |
344 | | - "output_type": "stream", |
345 | | - "text": [ |
346 | | - "item 39537/41626 [===========================>..] - ETA: 1s - 751us/\n", |
347 | | - "item 41626/41626 [============================>.] - ETA: 0s - 749us/item" |
348 | | - ] |
349 | | - }, |
350 | | - { |
351 | | - "name": "stderr", |
352 | | - "output_type": "stream", |
353 | | - "text": [ |
354 | | - "\n", |
355 | | - "Download finished\n" |
356 | | - ] |
357 | | - }, |
358 | | - { |
359 | | - "name": "stdout", |
360 | | - "output_type": "stream", |
361 | | - "text": [ |
362 | | - "(50000, 3, 32, 32)\n", |
363 | | - "(50000,)\n" |
364 | | - ] |
365 | | - } |
366 | | - ], |
| 86 | + "outputs": [], |
367 | 87 | "source": [ |
368 | 88 | "import paddle.vision.transforms as T\n", |
369 | 89 | "transform = T.Compose([T.Transpose((2, 0, 1))])\n", |
|
0 commit comments