File size: 150,126 Bytes
0e63e05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "from src.data.data_loader import get_train_dataset\n",
    "from torchvision import datasets, transforms\n",
    "import torch.nn as nn\n",
    "import pprint\n",
    "import torch\n",
    "import torch.optim as optim\n",
    "import torch.nn.functional as F\n",
    "from src.models.model import ShapeClassifier\n",
    "\n",
    "from src.configs.model_config import ModelConfig\n",
    "from src.data.data_loader import train_loader, num_classes\n",
    "from src.utils.logs import writer\n",
    "from src.utils.train import train\n",
    "from src.utils.test import test\n",
    "import wandb\n",
    "import json"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "wandb.login()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "sweep_config = {\n",
    "    'method': 'bayes',\n",
    "    \"metric\": {\n",
    "        \"name\": 'accuracy',\n",
    "        \"goal\": 'maximize'\n",
    "    },\n",
    "    \"parameters\": {\n",
    "        'learning_rate': {\n",
    "            # a flat distribution between 0 and 0.1\n",
    "            'distribution': 'uniform',\n",
    "            'min': 0,\n",
    "            'max': 0.001\n",
    "        },\n",
    "        'batch_size': {\n",
    "            # integers between 32 and 256\n",
    "            # with evenly-distributed logarithms\n",
    "            'distribution': 'q_log_uniform_values',\n",
    "            'q': 8,\n",
    "            'min': 32,\n",
    "            'max': 256,\n",
    "        },\n",
    "        'epochs': {\n",
    "            'values': [15, 20, 30]\n",
    "        },\n",
    "        'optimizer': {\n",
    "            'values': ['adam', 'sgd']\n",
    "        },\n",
    "        'fc_layer_size': {\n",
    "            'values': [128, 256, 512]\n",
    "        },\n",
    "    }\n",
    "}\n",
    "\n",
    "device = torch.device(\"cuda\" if torch.cuda.is_available() else \"cpu\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [],
   "source": [
    "def build_dataset(batch_size):\n",
    "\n",
    "    return get_train_dataset(batch_size)\n",
    "\n",
    "\n",
    "def build_network(fc_layer_size):\n",
    "    network = ShapeClassifier(num_classes=3,hidden_size=fc_layer_size)\n",
    "\n",
    "    return network.to(device)\n",
    "\n",
    "\n",
    "def build_optimizer(network, optimizer, learning_rate):\n",
    "    if optimizer == \"sgd\":\n",
    "        optimizer = optim.SGD(network.parameters(),\n",
    "                              lr=learning_rate, momentum=0.9)\n",
    "    elif optimizer == \"adam\":\n",
    "        optimizer = optim.Adam(network.parameters(),\n",
    "                               lr=learning_rate)\n",
    "    return optimizer\n",
    "\n",
    "\n",
    "def train_epoch(network, loader, optimizer):\n",
    "    cumu_loss = 0\n",
    "    for _, (data, target) in enumerate(loader):\n",
    "        data, target = data.to(device), target.to(device)\n",
    "        optimizer.zero_grad()\n",
    "\n",
    "        # ➑ Forward pass\n",
    "        loss = F.cross_entropy(network(data), target)\n",
    "        cumu_loss += loss.item()\n",
    "\n",
    "        # β¬… Backward pass + weight update\n",
    "        loss.backward()\n",
    "        optimizer.step()\n",
    "\n",
    "        wandb.log({\"batch loss\": loss.item()})\n",
    "\n",
    "    return cumu_loss / len(loader)\n",
    "\n",
    "def validate(network, loader):\n",
    "    network.eval()\n",
    "    correct = 0\n",
    "    with torch.no_grad():\n",
    "        for _, (data, target) in enumerate(loader):\n",
    "            data, target = data.to(device), target.to(device)\n",
    "            output = network(data)\n",
    "            pred = output.argmax(dim=1, keepdim=True)\n",
    "            correct += pred.eq(target.view_as(pred)).sum().item()\n",
    "\n",
    "    return correct / len(loader.dataset)\n",
    "    \n",
    "def train(config=None):\n",
    "    # Initialize a new wandb run  \n",
    "\n",
    "    with wandb.init():\n",
    "        config = wandb.config\n",
    "        # If called by wandb.agent, as below,\n",
    "        # this config will be set by Sweep Controller\n",
    "        print(\"config\" , config)\n",
    "   \n",
    "        loader = build_dataset(config.batch_size)\n",
    "        network = build_network(config.fc_layer_size)\n",
    "        optimizer = build_optimizer(\n",
    "            network, config.optimizer, config.learning_rate)\n",
    "\n",
    "\n",
    "        for epoch in range(config.epochs):\n",
    "            avg_loss = train_epoch(network, loader, optimizer)\n",
    "            acc = validate(network, loader)\n",
    "            print(f\"Epoch {epoch} avg loss: {avg_loss} accuracy: {acc}\")\n",
    "            wandb.log({\"loss\": avg_loss, \"epoch\": epoch, \"accuracy\": acc})"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Create sweep with ID: 04b419v1\n",
      "Sweep URL: http://localhost:8080/nguyen/pytorch-sweeps-demo/sweeps/04b419v1\n"
     ]
    }
   ],
   "source": [
    "sweep_id = wandb.sweep(sweep_config, project=\"pytorch-sweeps-demo\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: dmjiyx7j with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 48\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 20\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 256\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 9.930082550267504e-06\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: adam\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_123119-dmjiyx7j</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/dmjiyx7j' target=\"_blank\">desert-sweep-6</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/dmjiyx7j' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/dmjiyx7j</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 48, 'epochs': 20, 'fc_layer_size': 256, 'learning_rate': 9.930082550267504e-06, 'optimizer': 'adam'}\n",
      "Epoch 0 avg loss: 1.1227594017982483 accuracy: 0.51\n",
      "Epoch 1 avg loss: 1.0263650843075343 accuracy: 0.5933333333333334\n",
      "Epoch 2 avg loss: 0.9231991171836853 accuracy: 0.49\n",
      "Epoch 3 avg loss: 0.8516879166875567 accuracy: 0.62\n",
      "Epoch 4 avg loss: 0.8165683661188398 accuracy: 0.81\n",
      "Epoch 5 avg loss: 0.7675495403153556 accuracy: 0.6733333333333333\n",
      "Epoch 6 avg loss: 0.7831985950469971 accuracy: 0.7166666666666667\n",
      "Epoch 7 avg loss: 0.6932210155895778 accuracy: 0.8733333333333333\n",
      "Epoch 8 avg loss: 0.6585122261728559 accuracy: 0.7333333333333333\n",
      "Epoch 9 avg loss: 0.6423001033919198 accuracy: 0.8766666666666667\n",
      "Epoch 10 avg loss: 0.6038253137043544 accuracy: 0.7933333333333333\n",
      "Epoch 11 avg loss: 0.5986335618155343 accuracy: 0.78\n",
      "Epoch 12 avg loss: 0.5852176036153521 accuracy: 0.7766666666666666\n",
      "Epoch 13 avg loss: 0.5776768922805786 accuracy: 0.7733333333333333\n",
      "Epoch 14 avg loss: 0.572343749659402 accuracy: 0.79\n",
      "Epoch 15 avg loss: 0.5162468552589417 accuracy: 0.9166666666666666\n",
      "Epoch 16 avg loss: 0.48254855615752085 accuracy: 0.9066666666666666\n",
      "Epoch 17 avg loss: 0.45612808636256624 accuracy: 0.9\n",
      "Epoch 18 avg loss: 0.4477146693638393 accuracy: 0.9066666666666666\n",
      "Epoch 19 avg loss: 0.42570933273860384 accuracy: 0.9233333333333333\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–β–ƒβ–β–ƒβ–†β–„β–…β–‡β–…β–‡β–†β–†β–†β–†β–†β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–ˆβ–‡β–†β–…β–„β–…β–…β–…β–„β–„β–„β–„β–„β–„β–ƒβ–ƒβ–ƒβ–ƒβ–ƒβ–ƒβ–‚β–‚β–ƒβ–‚β–ƒβ–‚β–„β–‚β–ƒβ–ƒβ–‚β–ƒβ–‚β–‚β–‚β–‚β–β–β–‚β–</td></tr><tr><td>epoch</td><td>β–β–β–‚β–‚β–‚β–ƒβ–ƒβ–„β–„β–„β–…β–…β–…β–†β–†β–‡β–‡β–‡β–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–ˆβ–‡β–†β–…β–…β–„β–…β–„β–ƒβ–ƒβ–ƒβ–ƒβ–ƒβ–ƒβ–‚β–‚β–‚β–β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>0.92333</td></tr><tr><td>batch loss</td><td>0.38374</td></tr><tr><td>epoch</td><td>19</td></tr><tr><td>loss</td><td>0.42571</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">desert-sweep-6</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/dmjiyx7j' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/dmjiyx7j</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_123119-dmjiyx7j\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: c61bls20 with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 120\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 30\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 512\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 0.00040770515026138955\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: adam\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_123210-c61bls20</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/c61bls20' target=\"_blank\">hopeful-sweep-7</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/c61bls20' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/c61bls20</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 120, 'epochs': 30, 'fc_layer_size': 512, 'learning_rate': 0.00040770515026138955, 'optimizer': 'adam'}\n",
      "Epoch 0 avg loss: 12.669246673583984 accuracy: 0.3333333333333333\n",
      "Epoch 1 avg loss: 9.699127753575643 accuracy: 0.3933333333333333\n",
      "Epoch 2 avg loss: 5.997192939122518 accuracy: 0.5666666666666667\n",
      "Epoch 3 avg loss: 5.1969099044799805 accuracy: 0.5933333333333334\n",
      "Epoch 4 avg loss: 1.2817224860191345 accuracy: 0.5533333333333333\n",
      "Epoch 5 avg loss: 2.5963169733683267 accuracy: 0.57\n",
      "Epoch 6 avg loss: 0.8057341774304708 accuracy: 0.69\n",
      "Epoch 7 avg loss: 1.1785928010940552 accuracy: 0.6966666666666667\n",
      "Epoch 8 avg loss: 0.7000896036624908 accuracy: 0.9033333333333333\n",
      "Epoch 9 avg loss: 0.3257632553577423 accuracy: 0.8033333333333333\n",
      "Epoch 10 avg loss: 0.42895398537317914 accuracy: 0.9366666666666666\n",
      "Epoch 11 avg loss: 0.19974619646867117 accuracy: 0.9566666666666667\n",
      "Epoch 12 avg loss: 0.18941768010457358 accuracy: 0.9533333333333334\n",
      "Epoch 13 avg loss: 0.13353885461886725 accuracy: 0.9766666666666667\n",
      "Epoch 14 avg loss: 0.12185853471358617 accuracy: 0.9733333333333334\n",
      "Epoch 15 avg loss: 0.10533156494299571 accuracy: 0.9933333333333333\n",
      "Epoch 16 avg loss: 0.07629338279366493 accuracy: 0.9833333333333333\n",
      "Epoch 17 avg loss: 0.06959461669127147 accuracy: 0.9933333333333333\n",
      "Epoch 18 avg loss: 0.05993655820687612 accuracy: 1.0\n",
      "Epoch 19 avg loss: 0.048177012552817665 accuracy: 1.0\n",
      "Epoch 20 avg loss: 0.043316529442866646 accuracy: 1.0\n",
      "Epoch 21 avg loss: 0.033304951464136444 accuracy: 1.0\n",
      "Epoch 22 avg loss: 0.032316296050945915 accuracy: 1.0\n",
      "Epoch 23 avg loss: 0.026140497997403145 accuracy: 1.0\n",
      "Epoch 24 avg loss: 0.025618030379215877 accuracy: 1.0\n",
      "Epoch 25 avg loss: 0.023070624719063442 accuracy: 1.0\n",
      "Epoch 26 avg loss: 0.020422006646792095 accuracy: 1.0\n",
      "Epoch 27 avg loss: 0.01966176989177863 accuracy: 1.0\n",
      "Epoch 28 avg loss: 0.017348712620635826 accuracy: 1.0\n",
      "Epoch 29 avg loss: 0.016349364692966144 accuracy: 1.0\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–β–‚β–ƒβ–„β–ƒβ–ƒβ–…β–…β–‡β–†β–‡β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–‚β–ƒβ–ˆβ–ƒβ–„β–„β–‚β–ƒβ–‚β–β–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr><tr><td>epoch</td><td>β–β–β–β–‚β–‚β–‚β–‚β–ƒβ–ƒβ–ƒβ–ƒβ–„β–„β–„β–„β–…β–…β–…β–…β–†β–†β–†β–†β–‡β–‡β–‡β–‡β–ˆβ–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–ˆβ–†β–„β–„β–‚β–‚β–β–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>1.0</td></tr><tr><td>batch loss</td><td>0.01435</td></tr><tr><td>epoch</td><td>29</td></tr><tr><td>loss</td><td>0.01635</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">hopeful-sweep-7</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/c61bls20' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/c61bls20</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_123210-c61bls20\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: suqa7b6e with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 72\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 30\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 128\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 0.00014834775601176841\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: adam\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_123316-suqa7b6e</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/suqa7b6e' target=\"_blank\">autumn-sweep-8</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/suqa7b6e' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/suqa7b6e</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 72, 'epochs': 30, 'fc_layer_size': 128, 'learning_rate': 0.00014834775601176841, 'optimizer': 'adam'}\n",
      "Epoch 0 avg loss: 3.2243733406066895 accuracy: 0.3333333333333333\n",
      "Epoch 1 avg loss: 1.8535244941711426 accuracy: 0.3333333333333333\n",
      "Epoch 2 avg loss: 1.3806214809417725 accuracy: 0.43333333333333335\n",
      "Epoch 3 avg loss: 1.1464012622833253 accuracy: 0.51\n",
      "Epoch 4 avg loss: 0.8064233601093292 accuracy: 0.5933333333333334\n",
      "Epoch 5 avg loss: 0.6862831830978393 accuracy: 0.6933333333333334\n",
      "Epoch 6 avg loss: 0.6002423763275146 accuracy: 0.7766666666666666\n",
      "Epoch 7 avg loss: 0.49208289980888364 accuracy: 0.7766666666666666\n",
      "Epoch 8 avg loss: 0.4717391610145569 accuracy: 0.8733333333333333\n",
      "Epoch 9 avg loss: 0.44093636274337766 accuracy: 0.8333333333333334\n",
      "Epoch 10 avg loss: 0.431243771314621 accuracy: 0.8\n",
      "Epoch 11 avg loss: 0.42343916893005373 accuracy: 0.8333333333333334\n",
      "Epoch 12 avg loss: 0.37901818156242373 accuracy: 0.7733333333333333\n",
      "Epoch 13 avg loss: 0.44130058884620665 accuracy: 0.8933333333333333\n",
      "Epoch 14 avg loss: 0.3290287971496582 accuracy: 0.95\n",
      "Epoch 15 avg loss: 0.3358880043029785 accuracy: 0.9433333333333334\n",
      "Epoch 16 avg loss: 0.3037585198879242 accuracy: 0.91\n",
      "Epoch 17 avg loss: 0.24435886293649672 accuracy: 0.8966666666666666\n",
      "Epoch 18 avg loss: 0.24720126688480376 accuracy: 0.9166666666666666\n",
      "Epoch 19 avg loss: 0.24351224899291993 accuracy: 0.9133333333333333\n",
      "Epoch 20 avg loss: 0.21602382361888886 accuracy: 0.9266666666666666\n",
      "Epoch 21 avg loss: 0.209903547167778 accuracy: 0.9633333333333334\n",
      "Epoch 22 avg loss: 0.19107576906681062 accuracy: 0.9866666666666667\n",
      "Epoch 23 avg loss: 0.1764080971479416 accuracy: 0.9833333333333333\n",
      "Epoch 24 avg loss: 0.15718264430761336 accuracy: 0.9666666666666667\n",
      "Epoch 25 avg loss: 0.1513497233390808 accuracy: 0.9966666666666667\n",
      "Epoch 26 avg loss: 0.1373470574617386 accuracy: 1.0\n",
      "Epoch 27 avg loss: 0.11222847327589988 accuracy: 0.9933333333333333\n",
      "Epoch 28 avg loss: 0.11980711072683334 accuracy: 1.0\n",
      "Epoch 29 avg loss: 0.10200107395648957 accuracy: 1.0\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–β–β–‚β–ƒβ–„β–…β–†β–†β–‡β–†β–†β–†β–†β–‡β–‡β–‡β–‡β–‡β–‡β–‡β–‡β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–ˆβ–„β–ƒβ–ƒβ–‚β–ƒβ–‚β–‚β–‚β–‚β–‚β–‚β–‚β–β–‚β–β–‚β–‚β–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr><tr><td>epoch</td><td>β–β–β–β–‚β–‚β–‚β–‚β–ƒβ–ƒβ–ƒβ–ƒβ–„β–„β–„β–„β–…β–…β–…β–…β–†β–†β–†β–†β–‡β–‡β–‡β–‡β–ˆβ–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–ˆβ–…β–„β–ƒβ–ƒβ–‚β–‚β–‚β–‚β–‚β–‚β–‚β–‚β–‚β–‚β–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>1.0</td></tr><tr><td>batch loss</td><td>0.08601</td></tr><tr><td>epoch</td><td>29</td></tr><tr><td>loss</td><td>0.102</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">autumn-sweep-8</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/suqa7b6e' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/suqa7b6e</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_123316-suqa7b6e\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: 1h4mzfve with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 72\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 30\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 128\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 0.00010592154986969104\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: adam\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_123418-1h4mzfve</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/1h4mzfve' target=\"_blank\">hearty-sweep-9</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/1h4mzfve' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/1h4mzfve</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 72, 'epochs': 30, 'fc_layer_size': 128, 'learning_rate': 0.00010592154986969104, 'optimizer': 'adam'}\n",
      "Epoch 0 avg loss: 2.3192498445510865 accuracy: 0.3333333333333333\n",
      "Epoch 1 avg loss: 1.3334437608718872 accuracy: 0.39666666666666667\n",
      "Epoch 2 avg loss: 0.9940925598144531 accuracy: 0.6266666666666667\n",
      "Epoch 3 avg loss: 0.9631458878517151 accuracy: 0.4633333333333333\n",
      "Epoch 4 avg loss: 0.9168477416038513 accuracy: 0.6533333333333333\n",
      "Epoch 5 avg loss: 0.8606205105781555 accuracy: 0.6433333333333333\n",
      "Epoch 6 avg loss: 0.8311546802520752 accuracy: 0.7\n",
      "Epoch 7 avg loss: 0.7852411031723022 accuracy: 0.7633333333333333\n",
      "Epoch 8 avg loss: 0.7528125762939453 accuracy: 0.7666666666666667\n",
      "Epoch 9 avg loss: 0.7372702360153198 accuracy: 0.7166666666666667\n",
      "Epoch 10 avg loss: 0.7225580334663391 accuracy: 0.7866666666666666\n",
      "Epoch 11 avg loss: 0.6844698429107666 accuracy: 0.81\n",
      "Epoch 12 avg loss: 0.656183123588562 accuracy: 0.8033333333333333\n",
      "Epoch 13 avg loss: 0.6540589094161987 accuracy: 0.7666666666666667\n",
      "Epoch 14 avg loss: 0.6706524729728699 accuracy: 0.8433333333333334\n",
      "Epoch 15 avg loss: 0.6072027683258057 accuracy: 0.79\n",
      "Epoch 16 avg loss: 0.5744478046894074 accuracy: 0.8833333333333333\n",
      "Epoch 17 avg loss: 0.5660895109176636 accuracy: 0.8733333333333333\n",
      "Epoch 18 avg loss: 0.5563419878482818 accuracy: 0.8133333333333334\n",
      "Epoch 19 avg loss: 0.5246312975883484 accuracy: 0.9066666666666666\n",
      "Epoch 20 avg loss: 0.480787456035614 accuracy: 0.91\n",
      "Epoch 21 avg loss: 0.4634073615074158 accuracy: 0.92\n",
      "Epoch 22 avg loss: 0.44787479043006895 accuracy: 0.87\n",
      "Epoch 23 avg loss: 0.4245096445083618 accuracy: 0.94\n",
      "Epoch 24 avg loss: 0.41274533867836 accuracy: 0.9433333333333334\n",
      "Epoch 25 avg loss: 0.40062321424484254 accuracy: 0.9466666666666667\n",
      "Epoch 26 avg loss: 0.379450261592865 accuracy: 0.95\n",
      "Epoch 27 avg loss: 0.34824095368385316 accuracy: 0.93\n",
      "Epoch 28 avg loss: 0.3403467178344727 accuracy: 0.95\n",
      "Epoch 29 avg loss: 0.34246460199356077 accuracy: 0.97\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–β–‚β–„β–‚β–…β–„β–…β–†β–†β–…β–†β–†β–†β–†β–‡β–†β–‡β–‡β–†β–‡β–‡β–‡β–‡β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–ˆβ–„β–‚β–‚β–‚β–‚β–‚β–‚β–‚β–‚β–‚β–‚β–‚β–‚β–‚β–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr><tr><td>epoch</td><td>β–β–β–β–‚β–‚β–‚β–‚β–ƒβ–ƒβ–ƒβ–ƒβ–„β–„β–„β–„β–…β–…β–…β–…β–†β–†β–†β–†β–‡β–‡β–‡β–‡β–ˆβ–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–ˆβ–…β–ƒβ–ƒβ–ƒβ–ƒβ–ƒβ–ƒβ–‚β–‚β–‚β–‚β–‚β–‚β–‚β–‚β–‚β–‚β–‚β–‚β–β–β–β–β–β–β–β–β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>0.97</td></tr><tr><td>batch loss</td><td>0.41384</td></tr><tr><td>epoch</td><td>29</td></tr><tr><td>loss</td><td>0.34246</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">hearty-sweep-9</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/1h4mzfve' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/1h4mzfve</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_123418-1h4mzfve\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Sweep Agent: Waiting for job.\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: Job received.\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: 18v52cqn with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 136\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 30\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 512\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 0.00036571020561291867\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: sgd\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_123534-18v52cqn</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/18v52cqn' target=\"_blank\">firm-sweep-10</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/18v52cqn' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/18v52cqn</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 136, 'epochs': 30, 'fc_layer_size': 512, 'learning_rate': 0.00036571020561291867, 'optimizer': 'sgd'}\n",
      "Epoch 0 avg loss: 1.118792454401652 accuracy: 0.3333333333333333\n",
      "Epoch 1 avg loss: 1.152204950650533 accuracy: 0.33666666666666667\n",
      "Epoch 2 avg loss: 1.0642003615697224 accuracy: 0.3333333333333333\n",
      "Epoch 3 avg loss: 1.0960909128189087 accuracy: 0.5933333333333334\n",
      "Epoch 4 avg loss: 1.064041256904602 accuracy: 0.56\n",
      "Epoch 5 avg loss: 1.0230390826861064 accuracy: 0.6133333333333333\n",
      "Epoch 6 avg loss: 1.0277734398841858 accuracy: 0.4633333333333333\n",
      "Epoch 7 avg loss: 0.9668747782707214 accuracy: 0.5833333333333334\n",
      "Epoch 8 avg loss: 0.9793010751406351 accuracy: 0.65\n",
      "Epoch 9 avg loss: 0.9468955993652344 accuracy: 0.5333333333333333\n",
      "Epoch 10 avg loss: 0.950529158115387 accuracy: 0.7666666666666667\n",
      "Epoch 11 avg loss: 0.8680163820584615 accuracy: 0.57\n",
      "Epoch 12 avg loss: 0.8589455286661783 accuracy: 0.8133333333333334\n",
      "Epoch 13 avg loss: 0.8281049132347107 accuracy: 0.62\n",
      "Epoch 14 avg loss: 0.8317559162775675 accuracy: 0.82\n",
      "Epoch 15 avg loss: 0.7832950552304586 accuracy: 0.77\n",
      "Epoch 16 avg loss: 0.7819312214851379 accuracy: 0.7133333333333334\n",
      "Epoch 17 avg loss: 0.7331586281458536 accuracy: 0.82\n",
      "Epoch 18 avg loss: 0.7393091917037964 accuracy: 0.7633333333333333\n",
      "Epoch 19 avg loss: 0.7079698840777079 accuracy: 0.8166666666666667\n",
      "Epoch 20 avg loss: 0.6698652505874634 accuracy: 0.74\n",
      "Epoch 21 avg loss: 0.6500520706176758 accuracy: 0.8033333333333333\n",
      "Epoch 22 avg loss: 0.6154334743817648 accuracy: 0.7933333333333333\n",
      "Epoch 23 avg loss: 0.6541456977526346 accuracy: 0.8133333333333334\n",
      "Epoch 24 avg loss: 0.5801876882712046 accuracy: 0.86\n",
      "Epoch 25 avg loss: 0.5841079354286194 accuracy: 0.8266666666666667\n",
      "Epoch 26 avg loss: 0.5838109453519186 accuracy: 0.8033333333333333\n",
      "Epoch 27 avg loss: 0.5815592408180237 accuracy: 0.8733333333333333\n",
      "Epoch 28 avg loss: 0.5300563474496206 accuracy: 0.8666666666666667\n",
      "Epoch 29 avg loss: 0.5724628965059916 accuracy: 0.89\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–β–β–β–„β–„β–…β–ƒβ–„β–…β–„β–†β–„β–‡β–…β–‡β–†β–†β–‡β–†β–‡β–†β–‡β–‡β–‡β–ˆβ–‡β–‡β–ˆβ–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–‡β–ˆβ–‡β–‡β–ˆβ–ˆβ–‡β–‡β–†β–‡β–†β–†β–…β–‡β–†β–…β–…β–„β–…β–…β–„β–„β–„β–„β–„β–„β–ƒβ–ƒβ–ƒβ–ƒβ–β–ƒβ–ƒβ–‚β–‚β–‚β–‚β–‚β–β–ƒ</td></tr><tr><td>epoch</td><td>β–β–β–β–‚β–‚β–‚β–‚β–ƒβ–ƒβ–ƒβ–ƒβ–„β–„β–„β–„β–…β–…β–…β–…β–†β–†β–†β–†β–‡β–‡β–‡β–‡β–ˆβ–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–ˆβ–ˆβ–‡β–‡β–‡β–‡β–‡β–†β–†β–†β–†β–…β–…β–„β–„β–„β–„β–ƒβ–ƒβ–ƒβ–ƒβ–‚β–‚β–‚β–‚β–‚β–‚β–‚β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>0.89</td></tr><tr><td>batch loss</td><td>0.63121</td></tr><tr><td>epoch</td><td>29</td></tr><tr><td>loss</td><td>0.57246</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">firm-sweep-10</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/18v52cqn' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/18v52cqn</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_123534-18v52cqn\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: m1oimw60 with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 48\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 20\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 512\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 0.0008573564015833163\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: adam\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_123644-m1oimw60</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/m1oimw60' target=\"_blank\">pleasant-sweep-11</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/m1oimw60' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/m1oimw60</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 48, 'epochs': 20, 'fc_layer_size': 512, 'learning_rate': 0.0008573564015833163, 'optimizer': 'adam'}\n",
      "Epoch 0 avg loss: 43.23216787406376 accuracy: 0.4633333333333333\n",
      "Epoch 1 avg loss: 8.455473474093846 accuracy: 0.5366666666666666\n",
      "Epoch 2 avg loss: 2.1964984961918423 accuracy: 0.6033333333333334\n",
      "Epoch 3 avg loss: 1.0085733234882355 accuracy: 0.7633333333333333\n",
      "Epoch 4 avg loss: 0.524506396480969 accuracy: 0.8866666666666667\n",
      "Epoch 5 avg loss: 0.42527808248996735 accuracy: 0.9233333333333333\n",
      "Epoch 6 avg loss: 0.30953511595726013 accuracy: 0.94\n",
      "Epoch 7 avg loss: 0.22220622881182603 accuracy: 0.9466666666666667\n",
      "Epoch 8 avg loss: 0.06270315019147736 accuracy: 0.9766666666666667\n",
      "Epoch 9 avg loss: 0.0721016882785729 accuracy: 0.9966666666666667\n",
      "Epoch 10 avg loss: 0.023445964524788514 accuracy: 0.9166666666666666\n",
      "Epoch 11 avg loss: 0.06629398744553328 accuracy: 0.9266666666666666\n",
      "Epoch 12 avg loss: 0.05987735521713538 accuracy: 1.0\n",
      "Epoch 13 avg loss: 0.016864585573785007 accuracy: 1.0\n",
      "Epoch 14 avg loss: 0.01154231998537268 accuracy: 1.0\n",
      "Epoch 15 avg loss: 0.007581613725051284 accuracy: 1.0\n",
      "Epoch 16 avg loss: 0.004403046448715031 accuracy: 1.0\n",
      "Epoch 17 avg loss: 0.0026308108353987336 accuracy: 1.0\n",
      "Epoch 18 avg loss: 0.002658716353055622 accuracy: 1.0\n",
      "Epoch 19 avg loss: 0.0022668413086129086 accuracy: 1.0\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–β–‚β–ƒβ–…β–‡β–‡β–‡β–‡β–ˆβ–ˆβ–‡β–‡β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–ˆβ–ƒβ–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr><tr><td>epoch</td><td>β–β–β–‚β–‚β–‚β–ƒβ–ƒβ–„β–„β–„β–…β–…β–…β–†β–†β–‡β–‡β–‡β–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–ˆβ–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>1.0</td></tr><tr><td>batch loss</td><td>0.00201</td></tr><tr><td>epoch</td><td>19</td></tr><tr><td>loss</td><td>0.00227</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">pleasant-sweep-11</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/m1oimw60' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/m1oimw60</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_123644-m1oimw60\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: zzelunog with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 48\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 20\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 512\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 0.0008455035633764639\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: sgd\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_123750-zzelunog</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/zzelunog' target=\"_blank\">zany-sweep-12</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/zzelunog' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/zzelunog</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 48, 'epochs': 20, 'fc_layer_size': 512, 'learning_rate': 0.0008455035633764639, 'optimizer': 'sgd'}\n",
      "Epoch 0 avg loss: 1.1238780191966466 accuracy: 0.3933333333333333\n",
      "Epoch 1 avg loss: 1.047415316104889 accuracy: 0.3333333333333333\n",
      "Epoch 2 avg loss: 1.3615917648587907 accuracy: 0.3333333333333333\n",
      "Epoch 3 avg loss: 1.0307065078190394 accuracy: 0.38666666666666666\n",
      "Epoch 4 avg loss: 1.0553361773490906 accuracy: 0.44333333333333336\n",
      "Epoch 5 avg loss: 0.977301469870976 accuracy: 0.72\n",
      "Epoch 6 avg loss: 0.956444229398455 accuracy: 0.7766666666666666\n",
      "Epoch 7 avg loss: 0.9009811622755868 accuracy: 0.7566666666666667\n",
      "Epoch 8 avg loss: 0.8610833542687553 accuracy: 0.82\n",
      "Epoch 9 avg loss: 0.7977229016167777 accuracy: 0.7266666666666667\n",
      "Epoch 10 avg loss: 0.7668233173234122 accuracy: 0.7033333333333334\n",
      "Epoch 11 avg loss: 0.7380774787494114 accuracy: 0.59\n",
      "Epoch 12 avg loss: 0.7044064828327724 accuracy: 0.7466666666666667\n",
      "Epoch 13 avg loss: 0.6268118449619838 accuracy: 0.8266666666666667\n",
      "Epoch 14 avg loss: 0.5524363347462246 accuracy: 0.9066666666666666\n",
      "Epoch 15 avg loss: 0.4957670569419861 accuracy: 0.87\n",
      "Epoch 16 avg loss: 0.45413038986069815 accuracy: 0.8633333333333333\n",
      "Epoch 17 avg loss: 0.411521886076246 accuracy: 0.9233333333333333\n",
      "Epoch 18 avg loss: 0.34107264450618197 accuracy: 0.9366666666666666\n",
      "Epoch 19 avg loss: 0.3187362402677536 accuracy: 0.9433333333333334\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–‚β–β–β–‚β–‚β–…β–†β–†β–‡β–†β–…β–„β–†β–‡β–ˆβ–‡β–‡β–ˆβ–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–…β–†β–…β–†β–ˆβ–…β–„β–„β–…β–…β–„β–„β–„β–„β–„β–„β–„β–ƒβ–ƒβ–ƒβ–ƒβ–ƒβ–‚β–ƒβ–ƒβ–ƒβ–ƒβ–ƒβ–‚β–‚β–‚β–‚β–‚β–‚β–β–β–β–β–β–</td></tr><tr><td>epoch</td><td>β–β–β–‚β–‚β–‚β–ƒβ–ƒβ–„β–„β–„β–…β–…β–…β–†β–†β–‡β–‡β–‡β–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–†β–†β–ˆβ–†β–†β–…β–…β–…β–…β–„β–„β–„β–„β–ƒβ–ƒβ–‚β–‚β–‚β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>0.94333</td></tr><tr><td>batch loss</td><td>0.31127</td></tr><tr><td>epoch</td><td>19</td></tr><tr><td>loss</td><td>0.31874</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">zany-sweep-12</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/zzelunog' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/zzelunog</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_123750-zzelunog\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: 24a1ja8c with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 72\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 30\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 256\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 0.00014496414953283287\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: sgd\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_123846-24a1ja8c</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/24a1ja8c' target=\"_blank\">snowy-sweep-13</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/24a1ja8c' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/24a1ja8c</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 72, 'epochs': 30, 'fc_layer_size': 256, 'learning_rate': 0.00014496414953283287, 'optimizer': 'sgd'}\n",
      "Epoch 0 avg loss: 1.1097175121307372 accuracy: 0.39\n",
      "Epoch 1 avg loss: 1.0809247255325318 accuracy: 0.47\n",
      "Epoch 2 avg loss: 1.0654590845108032 accuracy: 0.53\n",
      "Epoch 3 avg loss: 1.049239182472229 accuracy: 0.57\n",
      "Epoch 4 avg loss: 1.0253757953643798 accuracy: 0.5966666666666667\n",
      "Epoch 5 avg loss: 1.0117618918418885 accuracy: 0.6633333333333333\n",
      "Epoch 6 avg loss: 0.9659486293792725 accuracy: 0.5466666666666666\n",
      "Epoch 7 avg loss: 0.9469417572021485 accuracy: 0.8233333333333334\n",
      "Epoch 8 avg loss: 0.92502863407135 accuracy: 0.73\n",
      "Epoch 9 avg loss: 0.8861358284950256 accuracy: 0.7633333333333333\n",
      "Epoch 10 avg loss: 0.8891657590866089 accuracy: 0.69\n",
      "Epoch 11 avg loss: 0.8473692417144776 accuracy: 0.7466666666666667\n",
      "Epoch 12 avg loss: 0.8429461717605591 accuracy: 0.7733333333333333\n",
      "Epoch 13 avg loss: 0.8096338868141174 accuracy: 0.8433333333333334\n",
      "Epoch 14 avg loss: 0.7837857246398926 accuracy: 0.7733333333333333\n",
      "Epoch 15 avg loss: 0.7663710713386536 accuracy: 0.7333333333333333\n",
      "Epoch 16 avg loss: 0.726806378364563 accuracy: 0.7733333333333333\n",
      "Epoch 17 avg loss: 0.7170411705970764 accuracy: 0.78\n",
      "Epoch 18 avg loss: 0.6813941836357117 accuracy: 0.8\n",
      "Epoch 19 avg loss: 0.7328060626983642 accuracy: 0.8\n",
      "Epoch 20 avg loss: 0.7074477910995484 accuracy: 0.76\n",
      "Epoch 21 avg loss: 0.6768245577812195 accuracy: 0.73\n",
      "Epoch 22 avg loss: 0.6845658421516418 accuracy: 0.76\n",
      "Epoch 23 avg loss: 0.6837989330291748 accuracy: 0.8633333333333333\n",
      "Epoch 24 avg loss: 0.6100107312202454 accuracy: 0.7833333333333333\n",
      "Epoch 25 avg loss: 0.6302353262901306 accuracy: 0.83\n",
      "Epoch 26 avg loss: 0.6007073521614075 accuracy: 0.9133333333333333\n",
      "Epoch 27 avg loss: 0.5753084659576416 accuracy: 0.8766666666666667\n",
      "Epoch 28 avg loss: 0.5601069331169128 accuracy: 0.91\n",
      "Epoch 29 avg loss: 0.5264066696166992 accuracy: 0.9033333333333333\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–β–‚β–ƒβ–ƒβ–„β–…β–ƒβ–‡β–†β–†β–…β–†β–†β–‡β–†β–†β–†β–†β–†β–†β–†β–†β–†β–‡β–†β–‡β–ˆβ–ˆβ–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–ˆβ–ˆβ–ˆβ–ˆβ–‡β–‡β–‡β–‡β–‡β–‡β–†β–†β–†β–…β–†β–†β–…β–…β–…β–…β–…β–…β–…β–…β–„β–„β–…β–„β–„β–„β–ƒβ–„β–ƒβ–ƒβ–ƒβ–ƒβ–ƒβ–ƒβ–‚β–</td></tr><tr><td>epoch</td><td>β–β–β–β–‚β–‚β–‚β–‚β–ƒβ–ƒβ–ƒβ–ƒβ–„β–„β–„β–„β–…β–…β–…β–…β–†β–†β–†β–†β–‡β–‡β–‡β–‡β–ˆβ–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–ˆβ–ˆβ–‡β–‡β–‡β–‡β–†β–†β–†β–…β–…β–…β–…β–„β–„β–„β–ƒβ–ƒβ–ƒβ–ƒβ–ƒβ–ƒβ–ƒβ–ƒβ–‚β–‚β–‚β–‚β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>0.90333</td></tr><tr><td>batch loss</td><td>0.39859</td></tr><tr><td>epoch</td><td>29</td></tr><tr><td>loss</td><td>0.52641</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">snowy-sweep-13</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/24a1ja8c' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/24a1ja8c</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_123846-24a1ja8c\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: wb7covum with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 56\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 20\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 512\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 0.0008081575165462643\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: adam\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_123953-wb7covum</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/wb7covum' target=\"_blank\">faithful-sweep-14</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/wb7covum' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/wb7covum</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 56, 'epochs': 20, 'fc_layer_size': 512, 'learning_rate': 0.0008081575165462643, 'optimizer': 'adam'}\n",
      "Epoch 0 avg loss: 18.500951727231342 accuracy: 0.5333333333333333\n",
      "Epoch 1 avg loss: 2.569656198223432 accuracy: 0.65\n",
      "Epoch 2 avg loss: 0.9490698625644048 accuracy: 0.8466666666666667\n",
      "Epoch 3 avg loss: 0.317298690478007 accuracy: 0.8166666666666667\n",
      "Epoch 4 avg loss: 0.41576165209213894 accuracy: 0.9366666666666666\n",
      "Epoch 5 avg loss: 0.13094803194204965 accuracy: 0.9766666666666667\n",
      "Epoch 6 avg loss: 0.05075278924778104 accuracy: 0.9866666666666667\n",
      "Epoch 7 avg loss: 0.03697505438079437 accuracy: 1.0\n",
      "Epoch 8 avg loss: 0.030807365973790485 accuracy: 1.0\n",
      "Epoch 9 avg loss: 0.019312835453699034 accuracy: 1.0\n",
      "Epoch 10 avg loss: 0.012618189522375664 accuracy: 1.0\n",
      "Epoch 11 avg loss: 0.010350345245872935 accuracy: 1.0\n",
      "Epoch 12 avg loss: 0.008806905786817273 accuracy: 1.0\n",
      "Epoch 13 avg loss: 0.007459965844949086 accuracy: 1.0\n",
      "Epoch 14 avg loss: 0.006796460288266341 accuracy: 1.0\n",
      "Epoch 15 avg loss: 0.006185308254013459 accuracy: 1.0\n",
      "Epoch 16 avg loss: 0.005990352093552549 accuracy: 1.0\n",
      "Epoch 17 avg loss: 0.005950886756181717 accuracy: 1.0\n",
      "Epoch 18 avg loss: 0.004500266106333584 accuracy: 1.0\n",
      "Epoch 19 avg loss: 0.004692211281508207 accuracy: 1.0\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–β–ƒβ–†β–…β–‡β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–‚β–ˆβ–ƒβ–β–‚β–‚β–β–β–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr><tr><td>epoch</td><td>β–β–β–‚β–‚β–‚β–ƒβ–ƒβ–„β–„β–„β–…β–…β–…β–†β–†β–‡β–‡β–‡β–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–ˆβ–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>1.0</td></tr><tr><td>batch loss</td><td>0.00618</td></tr><tr><td>epoch</td><td>19</td></tr><tr><td>loss</td><td>0.00469</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">faithful-sweep-14</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/wb7covum' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/wb7covum</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_123953-wb7covum\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: 1vs4r9qa with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 48\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 20\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 512\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 0.000762710080711088\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: adam\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_124054-1vs4r9qa</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/1vs4r9qa' target=\"_blank\">dulcet-sweep-15</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/1vs4r9qa' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/1vs4r9qa</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 48, 'epochs': 20, 'fc_layer_size': 512, 'learning_rate': 0.000762710080711088, 'optimizer': 'adam'}\n",
      "Epoch 0 avg loss: 40.78863833631788 accuracy: 0.39666666666666667\n",
      "Epoch 1 avg loss: 7.730775807585035 accuracy: 0.39666666666666667\n",
      "Epoch 2 avg loss: 2.5894578950745717 accuracy: 0.7133333333333334\n",
      "Epoch 3 avg loss: 0.9744108489581517 accuracy: 0.73\n",
      "Epoch 4 avg loss: 0.5827244307313647 accuracy: 0.9333333333333333\n",
      "Epoch 5 avg loss: 0.24557955882378987 accuracy: 0.86\n",
      "Epoch 6 avg loss: 0.22699441867215292 accuracy: 0.97\n",
      "Epoch 7 avg loss: 0.12237193062901497 accuracy: 0.98\n",
      "Epoch 8 avg loss: 0.07908514727439199 accuracy: 0.99\n",
      "Epoch 9 avg loss: 0.059986907722694535 accuracy: 0.9966666666666667\n",
      "Epoch 10 avg loss: 0.04198069657598223 accuracy: 0.9966666666666667\n",
      "Epoch 11 avg loss: 0.03529735774333988 accuracy: 1.0\n",
      "Epoch 12 avg loss: 0.031757059906210215 accuracy: 1.0\n",
      "Epoch 13 avg loss: 0.024908980620758876 accuracy: 1.0\n",
      "Epoch 14 avg loss: 0.02164408444826092 accuracy: 1.0\n",
      "Epoch 15 avg loss: 0.017391732361699854 accuracy: 1.0\n",
      "Epoch 16 avg loss: 0.015365603246859141 accuracy: 1.0\n",
      "Epoch 17 avg loss: 0.012505612070006984 accuracy: 1.0\n",
      "Epoch 18 avg loss: 0.011898096650838852 accuracy: 1.0\n",
      "Epoch 19 avg loss: 0.011816852859088353 accuracy: 1.0\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–β–β–…β–…β–‡β–†β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–…β–ˆβ–‚β–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr><tr><td>epoch</td><td>β–β–β–‚β–‚β–‚β–ƒβ–ƒβ–„β–„β–„β–…β–…β–…β–†β–†β–‡β–‡β–‡β–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–ˆβ–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>1.0</td></tr><tr><td>batch loss</td><td>0.01591</td></tr><tr><td>epoch</td><td>19</td></tr><tr><td>loss</td><td>0.01182</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">dulcet-sweep-15</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/1vs4r9qa' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/1vs4r9qa</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_124054-1vs4r9qa\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: iib9xytf with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 56\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 20\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 512\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 0.0009883923206319373\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: sgd\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_124200-iib9xytf</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/iib9xytf' target=\"_blank\">copper-sweep-16</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/iib9xytf' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/iib9xytf</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 56, 'epochs': 20, 'fc_layer_size': 512, 'learning_rate': 0.0009883923206319373, 'optimizer': 'sgd'}\n",
      "Epoch 0 avg loss: 1.1514442563056946 accuracy: 0.33666666666666667\n",
      "Epoch 1 avg loss: 1.0506749153137207 accuracy: 0.5633333333333334\n",
      "Epoch 2 avg loss: 1.094636748234431 accuracy: 0.7266666666666667\n",
      "Epoch 3 avg loss: 0.9264473716417948 accuracy: 0.6\n",
      "Epoch 4 avg loss: 0.8409828643004099 accuracy: 0.73\n",
      "Epoch 5 avg loss: 0.7818256914615631 accuracy: 0.8133333333333334\n",
      "Epoch 6 avg loss: 0.6770251989364624 accuracy: 0.7666666666666667\n",
      "Epoch 7 avg loss: 0.6218108336130778 accuracy: 0.86\n",
      "Epoch 8 avg loss: 0.5460270096858343 accuracy: 0.87\n",
      "Epoch 9 avg loss: 0.48659076790014905 accuracy: 0.8933333333333333\n",
      "Epoch 10 avg loss: 0.4210679481426875 accuracy: 0.9166666666666666\n",
      "Epoch 11 avg loss: 0.3785465558369954 accuracy: 0.92\n",
      "Epoch 12 avg loss: 0.35521187881628674 accuracy: 0.9266666666666666\n",
      "Epoch 13 avg loss: 0.2934003993868828 accuracy: 0.91\n",
      "Epoch 14 avg loss: 0.30678314218918484 accuracy: 0.9666666666666667\n",
      "Epoch 15 avg loss: 0.23913543423016867 accuracy: 0.97\n",
      "Epoch 16 avg loss: 0.2044848377505938 accuracy: 0.98\n",
      "Epoch 17 avg loss: 0.18648743132750192 accuracy: 0.9766666666666667\n",
      "Epoch 18 avg loss: 0.1781982108950615 accuracy: 0.97\n",
      "Epoch 19 avg loss: 0.163017850369215 accuracy: 0.9633333333333334\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–β–ƒβ–…β–„β–…β–†β–†β–‡β–‡β–‡β–‡β–‡β–‡β–‡β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–‡β–ˆβ–ˆβ–‡β–†β–†β–†β–…β–…β–†β–…β–†β–…β–„β–…β–„β–„β–ƒβ–„β–ƒβ–ƒβ–ƒβ–ƒβ–ƒβ–ƒβ–‚β–‚β–ƒβ–‚β–β–‚β–‚β–‚β–β–‚β–β–β–β–β–</td></tr><tr><td>epoch</td><td>β–β–β–‚β–‚β–‚β–ƒβ–ƒβ–„β–„β–„β–…β–…β–…β–†β–†β–‡β–‡β–‡β–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–ˆβ–‡β–ˆβ–†β–†β–…β–…β–„β–„β–ƒβ–ƒβ–ƒβ–‚β–‚β–‚β–‚β–β–β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>0.96333</td></tr><tr><td>batch loss</td><td>0.14189</td></tr><tr><td>epoch</td><td>19</td></tr><tr><td>loss</td><td>0.16302</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">copper-sweep-16</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/iib9xytf' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/iib9xytf</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_124200-iib9xytf\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: 9parihd1 with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 48\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 20\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 512\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 0.0008691677716041489\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: adam\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_124255-9parihd1</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/9parihd1' target=\"_blank\">ancient-sweep-17</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/9parihd1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/9parihd1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 48, 'epochs': 20, 'fc_layer_size': 512, 'learning_rate': 0.0008691677716041489, 'optimizer': 'adam'}\n",
      "Epoch 0 avg loss: 23.189821464674814 accuracy: 0.3333333333333333\n",
      "Epoch 1 avg loss: 4.156642879758563 accuracy: 0.5866666666666667\n",
      "Epoch 2 avg loss: 1.0022020850862776 accuracy: 0.7966666666666666\n",
      "Epoch 3 avg loss: 0.6104470065661839 accuracy: 0.9233333333333333\n",
      "Epoch 4 avg loss: 0.26383226471287863 accuracy: 0.96\n",
      "Epoch 5 avg loss: 0.08607327432504722 accuracy: 0.9833333333333333\n",
      "Epoch 6 avg loss: 0.060728385778410096 accuracy: 0.9966666666666667\n",
      "Epoch 7 avg loss: 0.02522175240197352 accuracy: 1.0\n",
      "Epoch 8 avg loss: 0.01503553900069424 accuracy: 1.0\n",
      "Epoch 9 avg loss: 0.00902516468028937 accuracy: 1.0\n",
      "Epoch 10 avg loss: 0.005856897681951523 accuracy: 1.0\n",
      "Epoch 11 avg loss: 0.004270538720967514 accuracy: 1.0\n",
      "Epoch 12 avg loss: 0.003265731834939548 accuracy: 1.0\n",
      "Epoch 13 avg loss: 0.002419661115189748 accuracy: 1.0\n",
      "Epoch 14 avg loss: 0.001740208693913051 accuracy: 1.0\n",
      "Epoch 15 avg loss: 0.0014031159807927907 accuracy: 1.0\n",
      "Epoch 16 avg loss: 0.0012772477680950292 accuracy: 1.0\n",
      "Epoch 17 avg loss: 0.0010444886034487613 accuracy: 1.0\n",
      "Epoch 18 avg loss: 0.0009144890354946256 accuracy: 1.0\n",
      "Epoch 19 avg loss: 0.0008383490910221424 accuracy: 1.0\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–β–„β–†β–‡β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–ˆβ–…β–ƒβ–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr><tr><td>epoch</td><td>β–β–β–‚β–‚β–‚β–ƒβ–ƒβ–„β–„β–„β–…β–…β–…β–†β–†β–‡β–‡β–‡β–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–ˆβ–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>1.0</td></tr><tr><td>batch loss</td><td>0.00121</td></tr><tr><td>epoch</td><td>19</td></tr><tr><td>loss</td><td>0.00084</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">ancient-sweep-17</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/9parihd1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/9parihd1</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_124255-9parihd1\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: lpfr3k4u with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 56\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 30\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 128\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 0.00042389152465552673\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: sgd\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_124404-lpfr3k4u</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/lpfr3k4u' target=\"_blank\">iconic-sweep-18</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/lpfr3k4u' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/lpfr3k4u</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 56, 'epochs': 30, 'fc_layer_size': 128, 'learning_rate': 0.00042389152465552673, 'optimizer': 'sgd'}\n",
      "Epoch 0 avg loss: 1.141765574614207 accuracy: 0.49\n",
      "Epoch 1 avg loss: 1.1230769356091816 accuracy: 0.3333333333333333\n",
      "Epoch 2 avg loss: 1.049029032389323 accuracy: 0.53\n",
      "Epoch 3 avg loss: 0.9484340250492096 accuracy: 0.46\n",
      "Epoch 4 avg loss: 0.9067074557145437 accuracy: 0.5166666666666667\n",
      "Epoch 5 avg loss: 0.8592233955860138 accuracy: 0.59\n",
      "Epoch 6 avg loss: 0.8290746410687765 accuracy: 0.6166666666666667\n",
      "Epoch 7 avg loss: 0.8581298490365347 accuracy: 0.7566666666666667\n",
      "Epoch 8 avg loss: 0.7249292035897573 accuracy: 0.6266666666666667\n",
      "Epoch 9 avg loss: 0.7328273256619772 accuracy: 0.62\n",
      "Epoch 10 avg loss: 0.7127668857574463 accuracy: 0.6333333333333333\n",
      "Epoch 11 avg loss: 0.6466928323109945 accuracy: 0.7133333333333334\n",
      "Epoch 12 avg loss: 0.6954842209815979 accuracy: 0.63\n",
      "Epoch 13 avg loss: 0.6739059487978617 accuracy: 0.6433333333333333\n",
      "Epoch 14 avg loss: 0.7367656429608663 accuracy: 0.82\n",
      "Epoch 15 avg loss: 0.6787946025530497 accuracy: 0.8466666666666667\n",
      "Epoch 16 avg loss: 0.5296715696652731 accuracy: 0.87\n",
      "Epoch 17 avg loss: 0.48295746246973675 accuracy: 0.8033333333333333\n",
      "Epoch 18 avg loss: 0.4727915773789088 accuracy: 0.9\n",
      "Epoch 19 avg loss: 0.47785769402980804 accuracy: 0.9133333333333333\n",
      "Epoch 20 avg loss: 0.51861871778965 accuracy: 0.86\n",
      "Epoch 21 avg loss: 0.4742235292991002 accuracy: 0.8866666666666667\n",
      "Epoch 22 avg loss: 0.403715858856837 accuracy: 0.8766666666666667\n",
      "Epoch 23 avg loss: 0.4003177136182785 accuracy: 0.9366666666666666\n",
      "Epoch 24 avg loss: 0.3889174660046895 accuracy: 0.9166666666666666\n",
      "Epoch 25 avg loss: 0.36969784398873645 accuracy: 0.8566666666666667\n",
      "Epoch 26 avg loss: 0.3629845231771469 accuracy: 0.8066666666666666\n",
      "Epoch 27 avg loss: 0.35339390983184177 accuracy: 0.8833333333333333\n",
      "Epoch 28 avg loss: 0.3571459501981735 accuracy: 0.9066666666666666\n",
      "Epoch 29 avg loss: 0.30644650757312775 accuracy: 0.9466666666666667\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–ƒβ–β–ƒβ–‚β–ƒβ–„β–„β–†β–„β–„β–„β–…β–„β–…β–‡β–‡β–‡β–†β–‡β–ˆβ–‡β–‡β–‡β–ˆβ–ˆβ–‡β–†β–‡β–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–‡β–ˆβ–ˆβ–‡β–†β–…β–…β–…β–…β–…β–†β–„β–„β–ƒβ–…β–„β–…β–ƒβ–ƒβ–ƒβ–†β–„β–ƒβ–ƒβ–‚β–‚β–„β–ƒβ–ƒβ–‚β–‚β–β–β–‚β–‚β–β–‚β–β–‚β–</td></tr><tr><td>epoch</td><td>β–β–β–β–‚β–‚β–‚β–‚β–ƒβ–ƒβ–ƒβ–ƒβ–„β–„β–„β–„β–…β–…β–…β–…β–†β–†β–†β–†β–‡β–‡β–‡β–‡β–ˆβ–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–ˆβ–ˆβ–‡β–†β–†β–†β–…β–†β–…β–…β–„β–„β–„β–„β–…β–„β–ƒβ–‚β–‚β–‚β–ƒβ–‚β–‚β–‚β–‚β–‚β–β–β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>0.94667</td></tr><tr><td>batch loss</td><td>0.29488</td></tr><tr><td>epoch</td><td>29</td></tr><tr><td>loss</td><td>0.30645</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">iconic-sweep-18</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/lpfr3k4u' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/lpfr3k4u</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_124404-lpfr3k4u\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: kvd5n6ly with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 56\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 30\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 128\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 0.0003533606312141685\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: adam\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_124507-kvd5n6ly</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/kvd5n6ly' target=\"_blank\">lemon-sweep-19</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/kvd5n6ly' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/kvd5n6ly</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 56, 'epochs': 30, 'fc_layer_size': 128, 'learning_rate': 0.0003533606312141685, 'optimizer': 'adam'}\n",
      "Epoch 0 avg loss: 8.8782506386439 accuracy: 0.3333333333333333\n",
      "Epoch 1 avg loss: 6.142873128255208 accuracy: 0.3333333333333333\n",
      "Epoch 2 avg loss: 1.8792900641759236 accuracy: 0.5333333333333333\n",
      "Epoch 3 avg loss: 1.0002707540988922 accuracy: 0.64\n",
      "Epoch 4 avg loss: 0.8480664590994517 accuracy: 0.7966666666666666\n",
      "Epoch 5 avg loss: 0.7723897099494934 accuracy: 0.8866666666666667\n",
      "Epoch 6 avg loss: 0.689070055882136 accuracy: 0.8433333333333334\n",
      "Epoch 7 avg loss: 0.6237246791521708 accuracy: 0.6333333333333333\n",
      "Epoch 8 avg loss: 0.6534788558880488 accuracy: 0.8466666666666667\n",
      "Epoch 9 avg loss: 0.5348540345827738 accuracy: 0.91\n",
      "Epoch 10 avg loss: 0.4443417737881343 accuracy: 0.9166666666666666\n",
      "Epoch 11 avg loss: 0.37029461065928143 accuracy: 0.9466666666666667\n",
      "Epoch 12 avg loss: 0.31984057029088336 accuracy: 0.9566666666666667\n",
      "Epoch 13 avg loss: 0.2603686799605687 accuracy: 0.96\n",
      "Epoch 14 avg loss: 0.26411910603443783 accuracy: 0.9733333333333334\n",
      "Epoch 15 avg loss: 0.2088764881094297 accuracy: 0.9733333333333334\n",
      "Epoch 16 avg loss: 0.16888243953386942 accuracy: 0.9833333333333333\n",
      "Epoch 17 avg loss: 0.1484000434478124 accuracy: 0.9933333333333333\n",
      "Epoch 18 avg loss: 0.13570102800925574 accuracy: 0.99\n",
      "Epoch 19 avg loss: 0.12752345825235048 accuracy: 0.9933333333333333\n",
      "Epoch 20 avg loss: 0.10557452961802483 accuracy: 0.9933333333333333\n",
      "Epoch 21 avg loss: 0.09049654006958008 accuracy: 0.9966666666666667\n",
      "Epoch 22 avg loss: 0.07641533762216568 accuracy: 0.9966666666666667\n",
      "Epoch 23 avg loss: 0.0705851074308157 accuracy: 1.0\n",
      "Epoch 24 avg loss: 0.06503975080947082 accuracy: 1.0\n",
      "Epoch 25 avg loss: 0.06235989493628343 accuracy: 1.0\n",
      "Epoch 26 avg loss: 0.05170226159195105 accuracy: 1.0\n",
      "Epoch 27 avg loss: 0.05299911399682363 accuracy: 1.0\n",
      "Epoch 28 avg loss: 0.04441701558729013 accuracy: 1.0\n",
      "Epoch 29 avg loss: 0.039107621957858406 accuracy: 1.0\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–β–β–ƒβ–„β–†β–‡β–†β–„β–†β–‡β–‡β–‡β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–ˆβ–…β–ƒβ–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr><tr><td>epoch</td><td>β–β–β–β–‚β–‚β–‚β–‚β–ƒβ–ƒβ–ƒβ–ƒβ–„β–„β–„β–„β–…β–…β–…β–…β–†β–†β–†β–†β–‡β–‡β–‡β–‡β–ˆβ–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–ˆβ–†β–‚β–‚β–‚β–‚β–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>1.0</td></tr><tr><td>batch loss</td><td>0.03568</td></tr><tr><td>epoch</td><td>29</td></tr><tr><td>loss</td><td>0.03911</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">lemon-sweep-19</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/kvd5n6ly' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/kvd5n6ly</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_124507-kvd5n6ly\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: xe47s3uo with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 56\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 20\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 512\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 0.0007164918893058567\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: adam\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_124559-xe47s3uo</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/xe47s3uo' target=\"_blank\">resilient-sweep-20</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/xe47s3uo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/xe47s3uo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 56, 'epochs': 20, 'fc_layer_size': 512, 'learning_rate': 0.0007164918893058567, 'optimizer': 'adam'}\n",
      "Epoch 0 avg loss: 21.097003559271496 accuracy: 0.3333333333333333\n",
      "Epoch 1 avg loss: 8.979135831197103 accuracy: 0.48\n",
      "Epoch 2 avg loss: 1.714256763458252 accuracy: 0.8\n",
      "Epoch 3 avg loss: 0.6613829284906387 accuracy: 0.8566666666666667\n",
      "Epoch 4 avg loss: 0.3881495421131452 accuracy: 0.92\n",
      "Epoch 5 avg loss: 0.19398833066225052 accuracy: 0.98\n",
      "Epoch 6 avg loss: 0.094280360887448 accuracy: 0.99\n",
      "Epoch 7 avg loss: 0.05528533272445202 accuracy: 1.0\n",
      "Epoch 8 avg loss: 0.03186585272972783 accuracy: 1.0\n",
      "Epoch 9 avg loss: 0.02202181549121936 accuracy: 1.0\n",
      "Epoch 10 avg loss: 0.016489530137429636 accuracy: 1.0\n",
      "Epoch 11 avg loss: 0.01238373527303338 accuracy: 1.0\n",
      "Epoch 12 avg loss: 0.009886953514069319 accuracy: 1.0\n",
      "Epoch 13 avg loss: 0.007876263776173195 accuracy: 1.0\n",
      "Epoch 14 avg loss: 0.0069107474604000645 accuracy: 1.0\n",
      "Epoch 15 avg loss: 0.00601344268458585 accuracy: 1.0\n",
      "Epoch 16 avg loss: 0.0048792791009570164 accuracy: 1.0\n",
      "Epoch 17 avg loss: 0.004404674905041854 accuracy: 1.0\n",
      "Epoch 18 avg loss: 0.004287012581092616 accuracy: 1.0\n",
      "Epoch 19 avg loss: 0.0034822459371450045 accuracy: 1.0\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–β–ƒβ–†β–†β–‡β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–β–„β–ˆβ–‚β–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr><tr><td>epoch</td><td>β–β–β–‚β–‚β–‚β–ƒβ–ƒβ–„β–„β–„β–…β–…β–…β–†β–†β–‡β–‡β–‡β–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–ˆβ–„β–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>1.0</td></tr><tr><td>batch loss</td><td>0.00167</td></tr><tr><td>epoch</td><td>19</td></tr><tr><td>loss</td><td>0.00348</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">resilient-sweep-20</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/xe47s3uo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/xe47s3uo</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_124559-xe47s3uo\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: ovv505e8 with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 88\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 30\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 128\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 0.00021448417122899312\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: adam\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_124705-ovv505e8</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/ovv505e8' target=\"_blank\">skilled-sweep-21</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/ovv505e8' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/ovv505e8</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 88, 'epochs': 30, 'fc_layer_size': 128, 'learning_rate': 0.00021448417122899312, 'optimizer': 'adam'}\n",
      "Epoch 0 avg loss: 2.2713590562343597 accuracy: 0.3333333333333333\n",
      "Epoch 1 avg loss: 1.5385897755622864 accuracy: 0.47333333333333333\n",
      "Epoch 2 avg loss: 1.0225611180067062 accuracy: 0.7666666666666667\n",
      "Epoch 3 avg loss: 0.6768706738948822 accuracy: 0.67\n",
      "Epoch 4 avg loss: 0.4895991384983063 accuracy: 0.79\n",
      "Epoch 5 avg loss: 0.494314469397068 accuracy: 0.86\n",
      "Epoch 6 avg loss: 0.3458218574523926 accuracy: 0.9466666666666667\n",
      "Epoch 7 avg loss: 0.2888553664088249 accuracy: 0.9533333333333334\n",
      "Epoch 8 avg loss: 0.25738342478871346 accuracy: 0.97\n",
      "Epoch 9 avg loss: 0.23035451397299767 accuracy: 0.98\n",
      "Epoch 10 avg loss: 0.17794525995850563 accuracy: 0.98\n",
      "Epoch 11 avg loss: 0.1595357395708561 accuracy: 0.9933333333333333\n",
      "Epoch 12 avg loss: 0.14098594896495342 accuracy: 0.9966666666666667\n",
      "Epoch 13 avg loss: 0.12443776614964008 accuracy: 0.99\n",
      "Epoch 14 avg loss: 0.09649267792701721 accuracy: 0.9966666666666667\n",
      "Epoch 15 avg loss: 0.08876563981175423 accuracy: 1.0\n",
      "Epoch 16 avg loss: 0.07366624753922224 accuracy: 1.0\n",
      "Epoch 17 avg loss: 0.06427419278770685 accuracy: 1.0\n",
      "Epoch 18 avg loss: 0.06608270294964314 accuracy: 1.0\n",
      "Epoch 19 avg loss: 0.051105475053191185 accuracy: 1.0\n",
      "Epoch 20 avg loss: 0.04524620622396469 accuracy: 1.0\n",
      "Epoch 21 avg loss: 0.041278635151684284 accuracy: 1.0\n",
      "Epoch 22 avg loss: 0.036621700040996075 accuracy: 1.0\n",
      "Epoch 23 avg loss: 0.03415138786658645 accuracy: 1.0\n",
      "Epoch 24 avg loss: 0.029369852039963007 accuracy: 1.0\n",
      "Epoch 25 avg loss: 0.028842775151133537 accuracy: 1.0\n",
      "Epoch 26 avg loss: 0.025439209770411253 accuracy: 1.0\n",
      "Epoch 27 avg loss: 0.022133056074380875 accuracy: 1.0\n",
      "Epoch 28 avg loss: 0.021162125747650862 accuracy: 1.0\n",
      "Epoch 29 avg loss: 0.019226008094847202 accuracy: 1.0\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–β–‚β–†β–…β–†β–‡β–‡β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–…β–ˆβ–…β–…β–ƒβ–„β–ƒβ–ƒβ–‚β–‚β–‚β–‚β–‚β–‚β–‚β–β–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr><tr><td>epoch</td><td>β–β–β–β–‚β–‚β–‚β–‚β–ƒβ–ƒβ–ƒβ–ƒβ–„β–„β–„β–„β–…β–…β–…β–…β–†β–†β–†β–†β–‡β–‡β–‡β–‡β–ˆβ–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–ˆβ–†β–„β–ƒβ–‚β–‚β–‚β–‚β–‚β–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>1.0</td></tr><tr><td>batch loss</td><td>0.01911</td></tr><tr><td>epoch</td><td>29</td></tr><tr><td>loss</td><td>0.01923</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">skilled-sweep-21</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/ovv505e8' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/ovv505e8</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_124705-ovv505e8\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: 7nq79spy with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 56\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 20\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 512\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 0.0008254408108368665\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: adam\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_124816-7nq79spy</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/7nq79spy' target=\"_blank\">worldly-sweep-22</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/7nq79spy' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/7nq79spy</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 56, 'epochs': 20, 'fc_layer_size': 512, 'learning_rate': 0.0008254408108368665, 'optimizer': 'adam'}\n",
      "Epoch 0 avg loss: 27.66898129383723 accuracy: 0.3333333333333333\n",
      "Epoch 1 avg loss: 9.323363661766052 accuracy: 0.5\n",
      "Epoch 2 avg loss: 2.2524943351745605 accuracy: 0.7766666666666666\n",
      "Epoch 3 avg loss: 0.8105225265026093 accuracy: 0.8166666666666667\n",
      "Epoch 4 avg loss: 0.5411851505438486 accuracy: 0.89\n",
      "Epoch 5 avg loss: 0.2956309914588928 accuracy: 0.9066666666666666\n",
      "Epoch 6 avg loss: 0.1902477921297153 accuracy: 0.9766666666666667\n",
      "Epoch 7 avg loss: 0.14215816914414367 accuracy: 0.99\n",
      "Epoch 8 avg loss: 0.03834336747725805 accuracy: 0.9833333333333333\n",
      "Epoch 9 avg loss: 0.0558641889753441 accuracy: 0.9966666666666667\n",
      "Epoch 10 avg loss: 0.03121470706537366 accuracy: 1.0\n",
      "Epoch 11 avg loss: 0.013721109523127476 accuracy: 1.0\n",
      "Epoch 12 avg loss: 0.009564602049067616 accuracy: 1.0\n",
      "Epoch 13 avg loss: 0.007269753919293483 accuracy: 1.0\n",
      "Epoch 14 avg loss: 0.004239639383740723 accuracy: 1.0\n",
      "Epoch 15 avg loss: 0.0034417912053565183 accuracy: 1.0\n",
      "Epoch 16 avg loss: 0.003068222004609803 accuracy: 1.0\n",
      "Epoch 17 avg loss: 0.0026892528403550386 accuracy: 1.0\n",
      "Epoch 18 avg loss: 0.0023329649896671376 accuracy: 1.0\n",
      "Epoch 19 avg loss: 0.0021909799931260445 accuracy: 1.0\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–β–ƒβ–†β–†β–‡β–‡β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–β–ˆβ–…β–‚β–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr><tr><td>epoch</td><td>β–β–β–‚β–‚β–‚β–ƒβ–ƒβ–„β–„β–„β–…β–…β–…β–†β–†β–‡β–‡β–‡β–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–ˆβ–ƒβ–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>1.0</td></tr><tr><td>batch loss</td><td>0.00236</td></tr><tr><td>epoch</td><td>19</td></tr><tr><td>loss</td><td>0.00219</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">worldly-sweep-22</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/7nq79spy' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/7nq79spy</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_124816-7nq79spy\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: obfygp5h with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 56\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 20\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 512\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 0.0006575743797441523\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: adam\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_124922-obfygp5h</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/obfygp5h' target=\"_blank\">peachy-sweep-23</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/obfygp5h' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/obfygp5h</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 56, 'epochs': 20, 'fc_layer_size': 512, 'learning_rate': 0.0006575743797441523, 'optimizer': 'adam'}\n",
      "Epoch 0 avg loss: 9.903335551420847 accuracy: 0.5933333333333334\n",
      "Epoch 1 avg loss: 4.701019565264384 accuracy: 0.5533333333333333\n",
      "Epoch 2 avg loss: 1.080015463133653 accuracy: 0.8966666666666666\n",
      "Epoch 3 avg loss: 0.41621018946170807 accuracy: 0.9433333333333334\n",
      "Epoch 4 avg loss: 0.11898606022198994 accuracy: 0.98\n",
      "Epoch 5 avg loss: 0.06816582785298426 accuracy: 0.99\n",
      "Epoch 6 avg loss: 0.03616986842826009 accuracy: 1.0\n",
      "Epoch 7 avg loss: 0.014896179161344966 accuracy: 1.0\n",
      "Epoch 8 avg loss: 0.011506310547702014 accuracy: 1.0\n",
      "Epoch 9 avg loss: 0.007597031886689365 accuracy: 1.0\n",
      "Epoch 10 avg loss: 0.0056029298187543946 accuracy: 1.0\n",
      "Epoch 11 avg loss: 0.004087410323942701 accuracy: 1.0\n",
      "Epoch 12 avg loss: 0.002957169432193041 accuracy: 1.0\n",
      "Epoch 13 avg loss: 0.002359751049273958 accuracy: 1.0\n",
      "Epoch 14 avg loss: 0.001779299268188576 accuracy: 1.0\n",
      "Epoch 15 avg loss: 0.0013731500948779285 accuracy: 1.0\n",
      "Epoch 16 avg loss: 0.0011467354197520763 accuracy: 1.0\n",
      "Epoch 17 avg loss: 0.0008919178896273176 accuracy: 1.0\n",
      "Epoch 18 avg loss: 0.0007010671931008498 accuracy: 1.0\n",
      "Epoch 19 avg loss: 0.0005697817420392918 accuracy: 1.0\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–‚β–β–†β–‡β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–‚β–ˆβ–†β–ƒβ–‚β–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr><tr><td>epoch</td><td>β–β–β–‚β–‚β–‚β–ƒβ–ƒβ–„β–„β–„β–…β–…β–…β–†β–†β–‡β–‡β–‡β–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–ˆβ–„β–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>1.0</td></tr><tr><td>batch loss</td><td>0.00024</td></tr><tr><td>epoch</td><td>19</td></tr><tr><td>loss</td><td>0.00057</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">peachy-sweep-23</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/obfygp5h' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/obfygp5h</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_124922-obfygp5h\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: xpaw3xtx with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 104\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 30\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 512\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 0.0003980820663366078\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: adam\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_125029-xpaw3xtx</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/xpaw3xtx' target=\"_blank\">smooth-sweep-24</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/xpaw3xtx' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/xpaw3xtx</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 104, 'epochs': 30, 'fc_layer_size': 512, 'learning_rate': 0.0003980820663366078, 'optimizer': 'adam'}\n",
      "Epoch 0 avg loss: 5.062711517016093 accuracy: 0.3433333333333333\n",
      "Epoch 1 avg loss: 3.3943236668904624 accuracy: 0.7133333333333334\n",
      "Epoch 2 avg loss: 0.8393203417460123 accuracy: 0.5833333333333334\n",
      "Epoch 3 avg loss: 1.0142684777577717 accuracy: 0.87\n",
      "Epoch 4 avg loss: 0.3504032492637634 accuracy: 0.8433333333333334\n",
      "Epoch 5 avg loss: 0.35366151730219525 accuracy: 0.8866666666666667\n",
      "Epoch 6 avg loss: 0.25075238943099976 accuracy: 0.9266666666666666\n",
      "Epoch 7 avg loss: 0.16470391551653543 accuracy: 0.96\n",
      "Epoch 8 avg loss: 0.11225331077973048 accuracy: 0.9666666666666667\n",
      "Epoch 9 avg loss: 0.0980972337226073 accuracy: 0.97\n",
      "Epoch 10 avg loss: 0.08187093834082286 accuracy: 0.99\n",
      "Epoch 11 avg loss: 0.05791024987896284 accuracy: 0.9966666666666667\n",
      "Epoch 12 avg loss: 0.0403053325911363 accuracy: 1.0\n",
      "Epoch 13 avg loss: 0.032867188875873886 accuracy: 1.0\n",
      "Epoch 14 avg loss: 0.026567254215478897 accuracy: 1.0\n",
      "Epoch 15 avg loss: 0.021979364256064098 accuracy: 1.0\n",
      "Epoch 16 avg loss: 0.017575605461994808 accuracy: 1.0\n",
      "Epoch 17 avg loss: 0.01345821749418974 accuracy: 1.0\n",
      "Epoch 18 avg loss: 0.01066031182805697 accuracy: 1.0\n",
      "Epoch 19 avg loss: 0.008515444584190845 accuracy: 1.0\n",
      "Epoch 20 avg loss: 0.006668068779011567 accuracy: 1.0\n",
      "Epoch 21 avg loss: 0.005201552528887987 accuracy: 1.0\n",
      "Epoch 22 avg loss: 0.0039800664720435934 accuracy: 1.0\n",
      "Epoch 23 avg loss: 0.0029810818377882242 accuracy: 1.0\n",
      "Epoch 24 avg loss: 0.00223967006119589 accuracy: 1.0\n",
      "Epoch 25 avg loss: 0.001721687032841146 accuracy: 1.0\n",
      "Epoch 26 avg loss: 0.001320929693368574 accuracy: 1.0\n",
      "Epoch 27 avg loss: 0.0010314794490113854 accuracy: 1.0\n",
      "Epoch 28 avg loss: 0.0008024672279134393 accuracy: 1.0\n",
      "Epoch 29 avg loss: 0.000649329973384738 accuracy: 1.0\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–β–…β–„β–‡β–†β–‡β–‡β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–‚β–ˆβ–…β–‚β–‚β–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr><tr><td>epoch</td><td>β–β–β–β–‚β–‚β–‚β–‚β–ƒβ–ƒβ–ƒβ–ƒβ–„β–„β–„β–„β–…β–…β–…β–…β–†β–†β–†β–†β–‡β–‡β–‡β–‡β–ˆβ–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–ˆβ–†β–‚β–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>1.0</td></tr><tr><td>batch loss</td><td>0.00056</td></tr><tr><td>epoch</td><td>29</td></tr><tr><td>loss</td><td>0.00065</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">smooth-sweep-24</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/xpaw3xtx' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/xpaw3xtx</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_125029-xpaw3xtx\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[34m\u001b[1mwandb\u001b[0m: Agent Starting Run: f90ox7w8 with config:\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tbatch_size: 48\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tepochs: 20\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tfc_layer_size: 512\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \tlearning_rate: 0.0009607460347692044\n",
      "\u001b[34m\u001b[1mwandb\u001b[0m: \toptimizer: adam\n",
      "Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "Tracking run with wandb version 0.16.0"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Run data is saved locally in <code>d:\\pnstack\\template-pytorch-model\\wandb\\run-20231119_125139-f90ox7w8</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Syncing run <strong><a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/f90ox7w8' target=\"_blank\">hearty-sweep-25</a></strong> to <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>Sweep page: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View project at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View sweep at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/sweeps/04b419v1</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run at <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/f90ox7w8' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/f90ox7w8</a>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "config {'batch_size': 48, 'epochs': 20, 'fc_layer_size': 512, 'learning_rate': 0.0009607460347692044, 'optimizer': 'adam'}\n",
      "Epoch 0 avg loss: 25.255474090576172 accuracy: 0.5933333333333334\n",
      "Epoch 1 avg loss: 5.102003284863064 accuracy: 0.5866666666666667\n",
      "Epoch 2 avg loss: 0.8636805542877742 accuracy: 0.7366666666666667\n",
      "Epoch 3 avg loss: 0.6188298123223441 accuracy: 0.8166666666666667\n",
      "Epoch 4 avg loss: 0.27566932354654583 accuracy: 0.9366666666666666\n",
      "Epoch 5 avg loss: 0.12154114033494677 accuracy: 0.9666666666666667\n",
      "Epoch 6 avg loss: 0.05851750440030758 accuracy: 0.9966666666666667\n",
      "Epoch 7 avg loss: 0.030152809540075914 accuracy: 1.0\n",
      "Epoch 8 avg loss: 0.01572604657017759 accuracy: 1.0\n",
      "Epoch 9 avg loss: 0.008001219414706742 accuracy: 1.0\n",
      "Epoch 10 avg loss: 0.0068940040988049334 accuracy: 1.0\n",
      "Epoch 11 avg loss: 0.0046819809358567 accuracy: 1.0\n",
      "Epoch 12 avg loss: 0.003610321969193007 accuracy: 1.0\n",
      "Epoch 13 avg loss: 0.0037284358737191985 accuracy: 1.0\n",
      "Epoch 14 avg loss: 0.002716043115859585 accuracy: 1.0\n",
      "Epoch 15 avg loss: 0.002497990316312228 accuracy: 1.0\n",
      "Epoch 16 avg loss: 0.0021978149889037013 accuracy: 1.0\n",
      "Epoch 17 avg loss: 0.0022922364961622016 accuracy: 1.0\n",
      "Epoch 18 avg loss: 0.0021205566258036663 accuracy: 1.0\n",
      "Epoch 19 avg loss: 0.001688087616847562 accuracy: 1.0\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<style>\n",
       "    table.wandb td:nth-child(1) { padding: 0 10px; text-align: left ; width: auto;} td:nth-child(2) {text-align: left ; width: 100%}\n",
       "    .wandb-row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width: 100% }\n",
       "    .wandb-col { display: flex; flex-direction: column; flex-basis: 100%; flex: 1; padding: 10px; }\n",
       "    </style>\n",
       "<div class=\"wandb-row\"><div class=\"wandb-col\"><h3>Run history:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>β–β–β–„β–…β–‡β–‡β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ</td></tr><tr><td>batch loss</td><td>β–ˆβ–‡β–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr><tr><td>epoch</td><td>β–β–β–‚β–‚β–‚β–ƒβ–ƒβ–„β–„β–„β–…β–…β–…β–†β–†β–‡β–‡β–‡β–ˆβ–ˆ</td></tr><tr><td>loss</td><td>β–ˆβ–‚β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–β–</td></tr></table><br/></div><div class=\"wandb-col\"><h3>Run summary:</h3><br/><table class=\"wandb\"><tr><td>accuracy</td><td>1.0</td></tr><tr><td>batch loss</td><td>0.00085</td></tr><tr><td>epoch</td><td>19</td></tr><tr><td>loss</td><td>0.00169</td></tr></table><br/></div></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       " View run <strong style=\"color:#cdcd00\">hearty-sweep-25</strong> at: <a href='https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/f90ox7w8' target=\"_blank\">https://wandb.ai/nguyen/pytorch-sweeps-demo/runs/f90ox7w8</a><br/>Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "Find logs at: <code>.\\wandb\\run-20231119_125139-f90ox7w8\\logs</code>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "wandb.agent(sweep_id, train, count=20)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "mlgpu",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.7"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}