Xsmos commited on
Commit
6fb9e42
·
verified ·
1 Parent(s): efee093
Files changed (1) hide show
  1. diffusion.ipynb +66 -2265
diffusion.ipynb CHANGED
@@ -310,8 +310,8 @@
310
  "source": [
311
  "# @dataclass\n",
312
  "class DDPM21CM:\n",
313
- " def __init__(self):\n",
314
- " config = TrainConfig()\n",
315
  " # date = datetime.datetime.now().strftime(\"%m%d-%H%M\")\n",
316
  " config.run_name = datetime.datetime.now().strftime(\"%m%d-%H%M\") # the unique name of each experiment\n",
317
  " self.config = config\n",
@@ -537,7 +537,7 @@
537
  {
538
  "data": {
539
  "application/vnd.jupyter.widget-view+json": {
540
- "model_id": "81b0853095364c72b3acd0ae0ae49a7b",
541
  "version_major": 2,
542
  "version_minor": 0
543
  },
@@ -559,7 +559,7 @@
559
  "metadata": {},
560
  "outputs": [],
561
  "source": [
562
- "num_image_list = [1600,3200,6400,12800,25600]"
563
  ]
564
  },
565
  {
@@ -571,9 +571,9 @@
571
  "name": "stdout",
572
  "output_type": "stream",
573
  "text": [
574
- "-------------------- round 0 ---------------------\n",
575
  "Number of parameters for nn_model: 111048705\n",
576
- "run_name = 0702-1406\n",
 
577
  "Launching training on one GPU.\n",
578
  "dataset content: <KeysViewHDF5 ['brightness_temp', 'density', 'kwargs', 'params', 'redshifts_distances', 'seeds', 'xH_box']>\n",
579
  "51200 images can be loaded\n",
@@ -595,14 +595,14 @@
595
  "output_type": "stream",
596
  "text": [
597
  "params loaded: (1600, 2)\n",
598
- "images rescaled to [-1.0, 1.2026770114898682]\n",
599
- "params rescaled to [0.00030335716583840266, 0.9999527071628225]\n"
600
  ]
601
  },
602
  {
603
  "data": {
604
  "application/vnd.jupyter.widget-view+json": {
605
- "model_id": "fea092bc15a64fd3b9f27e47b6654b08",
606
  "version_major": 2,
607
  "version_minor": 0
608
  },
@@ -616,7 +616,7 @@
616
  {
617
  "data": {
618
  "application/vnd.jupyter.widget-view+json": {
619
- "model_id": "8f7e694239084784b77fc59aebd82839",
620
  "version_major": 2,
621
  "version_minor": 0
622
  },
@@ -630,7 +630,7 @@
630
  {
631
  "data": {
632
  "application/vnd.jupyter.widget-view+json": {
633
- "model_id": "304e2196133849ce8048874273fde5cb",
634
  "version_major": 2,
635
  "version_minor": 0
636
  },
@@ -644,7 +644,7 @@
644
  {
645
  "data": {
646
  "application/vnd.jupyter.widget-view+json": {
647
- "model_id": "34450a3f7e9447e1bf233616299d0ad1",
648
  "version_major": 2,
649
  "version_minor": 0
650
  },
@@ -658,7 +658,7 @@
658
  {
659
  "data": {
660
  "application/vnd.jupyter.widget-view+json": {
661
- "model_id": "d2a908a43b2b45ddbaae3bc2e8d8d51e",
662
  "version_major": 2,
663
  "version_minor": 0
664
  },
@@ -672,7 +672,7 @@
672
  {
673
  "data": {
674
  "application/vnd.jupyter.widget-view+json": {
675
- "model_id": "1ce1e3eb818646489bd1b03156c2c9bf",
676
  "version_major": 2,
677
  "version_minor": 0
678
  },
@@ -686,7 +686,7 @@
686
  {
687
  "data": {
688
  "application/vnd.jupyter.widget-view+json": {
689
- "model_id": "95ce154f853741da9fe2175d078e0a1c",
690
  "version_major": 2,
691
  "version_minor": 0
692
  },
@@ -700,7 +700,7 @@
700
  {
701
  "data": {
702
  "application/vnd.jupyter.widget-view+json": {
703
- "model_id": "18d5cd754f6f4efe8eda524e59b76305",
704
  "version_major": 2,
705
  "version_minor": 0
706
  },
@@ -714,7 +714,7 @@
714
  {
715
  "data": {
716
  "application/vnd.jupyter.widget-view+json": {
717
- "model_id": "a4ef077e29f54a509dac7f01881f3def",
718
  "version_major": 2,
719
  "version_minor": 0
720
  },
@@ -728,7 +728,7 @@
728
  {
729
  "data": {
730
  "application/vnd.jupyter.widget-view+json": {
731
- "model_id": "668fb896ad61474ba4499eefd8264d50",
732
  "version_major": 2,
733
  "version_minor": 0
734
  },
@@ -742,7 +742,7 @@
742
  {
743
  "data": {
744
  "application/vnd.jupyter.widget-view+json": {
745
- "model_id": "c47cb5bf25ca44729d2e57864d70eaa9",
746
  "version_major": 2,
747
  "version_minor": 0
748
  },
@@ -756,7 +756,7 @@
756
  {
757
  "data": {
758
  "application/vnd.jupyter.widget-view+json": {
759
- "model_id": "a405a19faddc403e894b58c23620fe0f",
760
  "version_major": 2,
761
  "version_minor": 0
762
  },
@@ -770,7 +770,7 @@
770
  {
771
  "data": {
772
  "application/vnd.jupyter.widget-view+json": {
773
- "model_id": "89c383316c80453e9b1e9bd4d07078d9",
774
  "version_major": 2,
775
  "version_minor": 0
776
  },
@@ -784,7 +784,7 @@
784
  {
785
  "data": {
786
  "application/vnd.jupyter.widget-view+json": {
787
- "model_id": "b56435299f0644bd8721ea0160a363e3",
788
  "version_major": 2,
789
  "version_minor": 0
790
  },
@@ -798,7 +798,7 @@
798
  {
799
  "data": {
800
  "application/vnd.jupyter.widget-view+json": {
801
- "model_id": "810554ab29a64a3c8cc83a4691449864",
802
  "version_major": 2,
803
  "version_minor": 0
804
  },
@@ -812,7 +812,7 @@
812
  {
813
  "data": {
814
  "application/vnd.jupyter.widget-view+json": {
815
- "model_id": "14a6900dd7df47c3995fcbde82b7ebe9",
816
  "version_major": 2,
817
  "version_minor": 0
818
  },
@@ -826,7 +826,7 @@
826
  {
827
  "data": {
828
  "application/vnd.jupyter.widget-view+json": {
829
- "model_id": "2d290c81c53f4a12beb8abe9eff941a4",
830
  "version_major": 2,
831
  "version_minor": 0
832
  },
@@ -840,7 +840,7 @@
840
  {
841
  "data": {
842
  "application/vnd.jupyter.widget-view+json": {
843
- "model_id": "ba14ed3132184ae68f4f2caa7231c8f7",
844
  "version_major": 2,
845
  "version_minor": 0
846
  },
@@ -854,7 +854,7 @@
854
  {
855
  "data": {
856
  "application/vnd.jupyter.widget-view+json": {
857
- "model_id": "434705ca26f047888dd76818776669eb",
858
  "version_major": 2,
859
  "version_minor": 0
860
  },
@@ -868,7 +868,7 @@
868
  {
869
  "data": {
870
  "application/vnd.jupyter.widget-view+json": {
871
- "model_id": "7e6e47c8cd504ae9a5f81f45ff37e611",
872
  "version_major": 2,
873
  "version_minor": 0
874
  },
@@ -882,7 +882,7 @@
882
  {
883
  "data": {
884
  "application/vnd.jupyter.widget-view+json": {
885
- "model_id": "3cc3418668764a48a6249bac8b9670a8",
886
  "version_major": 2,
887
  "version_minor": 0
888
  },
@@ -896,7 +896,7 @@
896
  {
897
  "data": {
898
  "application/vnd.jupyter.widget-view+json": {
899
- "model_id": "9030a08edbe747869561346c3371b7c8",
900
  "version_major": 2,
901
  "version_minor": 0
902
  },
@@ -910,7 +910,7 @@
910
  {
911
  "data": {
912
  "application/vnd.jupyter.widget-view+json": {
913
- "model_id": "ba8c7cfa4f604604afa031ec699996cb",
914
  "version_major": 2,
915
  "version_minor": 0
916
  },
@@ -924,7 +924,7 @@
924
  {
925
  "data": {
926
  "application/vnd.jupyter.widget-view+json": {
927
- "model_id": "b8591ae9d8ad469487b4fded557e8d4f",
928
  "version_major": 2,
929
  "version_minor": 0
930
  },
@@ -938,7 +938,7 @@
938
  {
939
  "data": {
940
  "application/vnd.jupyter.widget-view+json": {
941
- "model_id": "48a1bb15e5fc4492971ba62daa10ec28",
942
  "version_major": 2,
943
  "version_minor": 0
944
  },
@@ -952,7 +952,7 @@
952
  {
953
  "data": {
954
  "application/vnd.jupyter.widget-view+json": {
955
- "model_id": "956dd18217b148b8ba94460cdbaba409",
956
  "version_major": 2,
957
  "version_minor": 0
958
  },
@@ -966,7 +966,7 @@
966
  {
967
  "data": {
968
  "application/vnd.jupyter.widget-view+json": {
969
- "model_id": "ecc12a9f999340009b1b0227859ca362",
970
  "version_major": 2,
971
  "version_minor": 0
972
  },
@@ -980,7 +980,7 @@
980
  {
981
  "data": {
982
  "application/vnd.jupyter.widget-view+json": {
983
- "model_id": "979c8f2e280d4d8aaafb4c4c718d3000",
984
  "version_major": 2,
985
  "version_minor": 0
986
  },
@@ -994,7 +994,7 @@
994
  {
995
  "data": {
996
  "application/vnd.jupyter.widget-view+json": {
997
- "model_id": "385e231a1b4d4ee1bf355d5b312cef9b",
998
  "version_major": 2,
999
  "version_minor": 0
1000
  },
@@ -1008,7 +1008,7 @@
1008
  {
1009
  "data": {
1010
  "application/vnd.jupyter.widget-view+json": {
1011
- "model_id": "0c0cc7b5f3dd42239eb0b6d1ca9a02b5",
1012
  "version_major": 2,
1013
  "version_minor": 0
1014
  },
@@ -1022,7 +1022,7 @@
1022
  {
1023
  "data": {
1024
  "application/vnd.jupyter.widget-view+json": {
1025
- "model_id": "d5fe835d0f66433aa34473ec100646cd",
1026
  "version_major": 2,
1027
  "version_minor": 0
1028
  },
@@ -1036,7 +1036,7 @@
1036
  {
1037
  "data": {
1038
  "application/vnd.jupyter.widget-view+json": {
1039
- "model_id": "e3e008bf4c9a436ea700fa072cc94c12",
1040
  "version_major": 2,
1041
  "version_minor": 0
1042
  },
@@ -1050,7 +1050,7 @@
1050
  {
1051
  "data": {
1052
  "application/vnd.jupyter.widget-view+json": {
1053
- "model_id": "18fb3fe773154bdea65ca08e1636a8b1",
1054
  "version_major": 2,
1055
  "version_minor": 0
1056
  },
@@ -1064,7 +1064,7 @@
1064
  {
1065
  "data": {
1066
  "application/vnd.jupyter.widget-view+json": {
1067
- "model_id": "93236480bbdf438aa7434d918044b365",
1068
  "version_major": 2,
1069
  "version_minor": 0
1070
  },
@@ -1078,7 +1078,7 @@
1078
  {
1079
  "data": {
1080
  "application/vnd.jupyter.widget-view+json": {
1081
- "model_id": "7ced1ee927d643ceb3321ae39354a643",
1082
  "version_major": 2,
1083
  "version_minor": 0
1084
  },
@@ -1092,7 +1092,7 @@
1092
  {
1093
  "data": {
1094
  "application/vnd.jupyter.widget-view+json": {
1095
- "model_id": "04a216da266f4327b6719b8fdfa0475e",
1096
  "version_major": 2,
1097
  "version_minor": 0
1098
  },
@@ -1106,7 +1106,7 @@
1106
  {
1107
  "data": {
1108
  "application/vnd.jupyter.widget-view+json": {
1109
- "model_id": "124a1bf8cb1b4a0397040555c130810a",
1110
  "version_major": 2,
1111
  "version_minor": 0
1112
  },
@@ -1120,7 +1120,7 @@
1120
  {
1121
  "data": {
1122
  "application/vnd.jupyter.widget-view+json": {
1123
- "model_id": "a34efd7be47e46919fd73dd0227a59cd",
1124
  "version_major": 2,
1125
  "version_minor": 0
1126
  },
@@ -1134,7 +1134,7 @@
1134
  {
1135
  "data": {
1136
  "application/vnd.jupyter.widget-view+json": {
1137
- "model_id": "24ac77bcd9874bd88fb041e75eac45c3",
1138
  "version_major": 2,
1139
  "version_minor": 0
1140
  },
@@ -1148,7 +1148,7 @@
1148
  {
1149
  "data": {
1150
  "application/vnd.jupyter.widget-view+json": {
1151
- "model_id": "429da1cca1324131ae1147cea2d5aeb2",
1152
  "version_major": 2,
1153
  "version_minor": 0
1154
  },
@@ -1162,7 +1162,7 @@
1162
  {
1163
  "data": {
1164
  "application/vnd.jupyter.widget-view+json": {
1165
- "model_id": "0d926a4fcd6244f3a94e2fd23a25778d",
1166
  "version_major": 2,
1167
  "version_minor": 0
1168
  },
@@ -1176,7 +1176,7 @@
1176
  {
1177
  "data": {
1178
  "application/vnd.jupyter.widget-view+json": {
1179
- "model_id": "e51333374a414c27a60280cdf5995a04",
1180
  "version_major": 2,
1181
  "version_minor": 0
1182
  },
@@ -1190,7 +1190,7 @@
1190
  {
1191
  "data": {
1192
  "application/vnd.jupyter.widget-view+json": {
1193
- "model_id": "8387c0d8386f4a698dcd0adac5190685",
1194
  "version_major": 2,
1195
  "version_minor": 0
1196
  },
@@ -1204,7 +1204,7 @@
1204
  {
1205
  "data": {
1206
  "application/vnd.jupyter.widget-view+json": {
1207
- "model_id": "079cabc9e09441e4b64490c363cc7431",
1208
  "version_major": 2,
1209
  "version_minor": 0
1210
  },
@@ -1218,7 +1218,7 @@
1218
  {
1219
  "data": {
1220
  "application/vnd.jupyter.widget-view+json": {
1221
- "model_id": "f957a4b700154e55a8103169a0a57357",
1222
  "version_major": 2,
1223
  "version_minor": 0
1224
  },
@@ -1232,7 +1232,7 @@
1232
  {
1233
  "data": {
1234
  "application/vnd.jupyter.widget-view+json": {
1235
- "model_id": "6772821aa9ec4335a06c151f6b2bdf68",
1236
  "version_major": 2,
1237
  "version_minor": 0
1238
  },
@@ -1246,7 +1246,7 @@
1246
  {
1247
  "data": {
1248
  "application/vnd.jupyter.widget-view+json": {
1249
- "model_id": "963fb701a6cb4cde99907889b3c1475e",
1250
  "version_major": 2,
1251
  "version_minor": 0
1252
  },
@@ -1260,7 +1260,7 @@
1260
  {
1261
  "data": {
1262
  "application/vnd.jupyter.widget-view+json": {
1263
- "model_id": "08139f4e73ff4b52bb2329321743f36d",
1264
  "version_major": 2,
1265
  "version_minor": 0
1266
  },
@@ -1274,7 +1274,7 @@
1274
  {
1275
  "data": {
1276
  "application/vnd.jupyter.widget-view+json": {
1277
- "model_id": "831f97adcbfd4b4f9511d5f05ccbedbb",
1278
  "version_major": 2,
1279
  "version_minor": 0
1280
  },
@@ -1288,7 +1288,7 @@
1288
  {
1289
  "data": {
1290
  "application/vnd.jupyter.widget-view+json": {
1291
- "model_id": "2910c4eed999449fa82821eef2a6f9da",
1292
  "version_major": 2,
1293
  "version_minor": 0
1294
  },
@@ -1298,2214 +1298,16 @@
1298
  },
1299
  "metadata": {},
1300
  "output_type": "display_data"
1301
- },
1302
- {
1303
- "name": "stdout",
1304
- "output_type": "stream",
1305
- "text": [
1306
- "saved model at ./outputs/model_state-N1600\n",
1307
- "-------------------- round 1 ---------------------\n",
1308
- "Number of parameters for nn_model: 111048705\n",
1309
- "run_name = 0702-1412\n",
1310
- "Launching training on one GPU.\n",
1311
- "dataset content: <KeysViewHDF5 ['brightness_temp', 'density', 'kwargs', 'params', 'redshifts_distances', 'seeds', 'xH_box']>\n",
1312
- "51200 images can be loaded\n",
1313
- "field.shape = (64, 64, 514)\n",
1314
- "params keys = [b'ION_Tvir_MIN', b'HII_EFF_FACTOR']\n",
1315
- "loading 3200 images randomly\n",
1316
- "images loaded: (3200, 1, 64, 64)\n"
1317
- ]
1318
- },
1319
- {
1320
- "name": "stderr",
1321
- "output_type": "stream",
1322
- "text": [
1323
- "Detected kernel version 3.10.0, which is below the recommended minimum of 5.5.0; this can cause the process to hang. It is recommended to upgrade the kernel to the minimum version or higher.\n"
1324
- ]
1325
- },
1326
- {
1327
- "name": "stdout",
1328
- "output_type": "stream",
1329
- "text": [
1330
- "params loaded: (3200, 2)\n",
1331
- "images rescaled to [-1.0, 1.221698522567749]\n",
1332
- "params rescaled to [5.287312876012251e-05, 0.9998792950082773]\n"
1333
- ]
1334
- },
1335
- {
1336
- "data": {
1337
- "application/vnd.jupyter.widget-view+json": {
1338
- "model_id": "d2b18b7c774143b684273ff7cc00b5ff",
1339
- "version_major": 2,
1340
- "version_minor": 0
1341
- },
1342
- "text/plain": [
1343
- " 0%| | 0/64 [00:00<?, ?it/s]"
1344
- ]
1345
- },
1346
- "metadata": {},
1347
- "output_type": "display_data"
1348
- },
1349
- {
1350
- "data": {
1351
- "application/vnd.jupyter.widget-view+json": {
1352
- "model_id": "2323a1af992342568a38be92b0dc488a",
1353
- "version_major": 2,
1354
- "version_minor": 0
1355
- },
1356
- "text/plain": [
1357
- " 0%| | 0/64 [00:00<?, ?it/s]"
1358
- ]
1359
- },
1360
- "metadata": {},
1361
- "output_type": "display_data"
1362
- },
1363
- {
1364
- "data": {
1365
- "application/vnd.jupyter.widget-view+json": {
1366
- "model_id": "c5d6d5d17779417fab739808ac8fbe97",
1367
- "version_major": 2,
1368
- "version_minor": 0
1369
- },
1370
- "text/plain": [
1371
- " 0%| | 0/64 [00:00<?, ?it/s]"
1372
- ]
1373
- },
1374
- "metadata": {},
1375
- "output_type": "display_data"
1376
- },
1377
- {
1378
- "data": {
1379
- "application/vnd.jupyter.widget-view+json": {
1380
- "model_id": "b6f250152d9643e4b1d0b1f337d3d8a4",
1381
- "version_major": 2,
1382
- "version_minor": 0
1383
- },
1384
- "text/plain": [
1385
- " 0%| | 0/64 [00:00<?, ?it/s]"
1386
- ]
1387
- },
1388
- "metadata": {},
1389
- "output_type": "display_data"
1390
- },
1391
- {
1392
- "data": {
1393
- "application/vnd.jupyter.widget-view+json": {
1394
- "model_id": "43bf2d065f524b4581be2fe07c43b9fa",
1395
- "version_major": 2,
1396
- "version_minor": 0
1397
- },
1398
- "text/plain": [
1399
- " 0%| | 0/64 [00:00<?, ?it/s]"
1400
- ]
1401
- },
1402
- "metadata": {},
1403
- "output_type": "display_data"
1404
- },
1405
- {
1406
- "data": {
1407
- "application/vnd.jupyter.widget-view+json": {
1408
- "model_id": "2378a70366364d5eba52cd20c4846341",
1409
- "version_major": 2,
1410
- "version_minor": 0
1411
- },
1412
- "text/plain": [
1413
- " 0%| | 0/64 [00:00<?, ?it/s]"
1414
- ]
1415
- },
1416
- "metadata": {},
1417
- "output_type": "display_data"
1418
- },
1419
- {
1420
- "data": {
1421
- "application/vnd.jupyter.widget-view+json": {
1422
- "model_id": "b358c5ab285e444c8890d4045e632024",
1423
- "version_major": 2,
1424
- "version_minor": 0
1425
- },
1426
- "text/plain": [
1427
- " 0%| | 0/64 [00:00<?, ?it/s]"
1428
- ]
1429
- },
1430
- "metadata": {},
1431
- "output_type": "display_data"
1432
- },
1433
- {
1434
- "data": {
1435
- "application/vnd.jupyter.widget-view+json": {
1436
- "model_id": "bb09302ff2804a0682198d5112039199",
1437
- "version_major": 2,
1438
- "version_minor": 0
1439
- },
1440
- "text/plain": [
1441
- " 0%| | 0/64 [00:00<?, ?it/s]"
1442
- ]
1443
- },
1444
- "metadata": {},
1445
- "output_type": "display_data"
1446
- },
1447
- {
1448
- "data": {
1449
- "application/vnd.jupyter.widget-view+json": {
1450
- "model_id": "7e3f4712ff6045438812a7c2b2650fe7",
1451
- "version_major": 2,
1452
- "version_minor": 0
1453
- },
1454
- "text/plain": [
1455
- " 0%| | 0/64 [00:00<?, ?it/s]"
1456
- ]
1457
- },
1458
- "metadata": {},
1459
- "output_type": "display_data"
1460
- },
1461
- {
1462
- "data": {
1463
- "application/vnd.jupyter.widget-view+json": {
1464
- "model_id": "f2034428e1704ea090e01edd60fff05e",
1465
- "version_major": 2,
1466
- "version_minor": 0
1467
- },
1468
- "text/plain": [
1469
- " 0%| | 0/64 [00:00<?, ?it/s]"
1470
- ]
1471
- },
1472
- "metadata": {},
1473
- "output_type": "display_data"
1474
- },
1475
- {
1476
- "data": {
1477
- "application/vnd.jupyter.widget-view+json": {
1478
- "model_id": "bf028731920f4bdf9079a41a99cab792",
1479
- "version_major": 2,
1480
- "version_minor": 0
1481
- },
1482
- "text/plain": [
1483
- " 0%| | 0/64 [00:00<?, ?it/s]"
1484
- ]
1485
- },
1486
- "metadata": {},
1487
- "output_type": "display_data"
1488
- },
1489
- {
1490
- "data": {
1491
- "application/vnd.jupyter.widget-view+json": {
1492
- "model_id": "edab3639186641c0bd76649c8cb18d96",
1493
- "version_major": 2,
1494
- "version_minor": 0
1495
- },
1496
- "text/plain": [
1497
- " 0%| | 0/64 [00:00<?, ?it/s]"
1498
- ]
1499
- },
1500
- "metadata": {},
1501
- "output_type": "display_data"
1502
- },
1503
- {
1504
- "data": {
1505
- "application/vnd.jupyter.widget-view+json": {
1506
- "model_id": "c7734f65414544eea5d38fb3607fd620",
1507
- "version_major": 2,
1508
- "version_minor": 0
1509
- },
1510
- "text/plain": [
1511
- " 0%| | 0/64 [00:00<?, ?it/s]"
1512
- ]
1513
- },
1514
- "metadata": {},
1515
- "output_type": "display_data"
1516
- },
1517
- {
1518
- "data": {
1519
- "application/vnd.jupyter.widget-view+json": {
1520
- "model_id": "3fdcf42b7c894b07b9d1bbd5db3c8722",
1521
- "version_major": 2,
1522
- "version_minor": 0
1523
- },
1524
- "text/plain": [
1525
- " 0%| | 0/64 [00:00<?, ?it/s]"
1526
- ]
1527
- },
1528
- "metadata": {},
1529
- "output_type": "display_data"
1530
- },
1531
- {
1532
- "data": {
1533
- "application/vnd.jupyter.widget-view+json": {
1534
- "model_id": "27eef8e6c493424b82e30b56d3911267",
1535
- "version_major": 2,
1536
- "version_minor": 0
1537
- },
1538
- "text/plain": [
1539
- " 0%| | 0/64 [00:00<?, ?it/s]"
1540
- ]
1541
- },
1542
- "metadata": {},
1543
- "output_type": "display_data"
1544
- },
1545
- {
1546
- "data": {
1547
- "application/vnd.jupyter.widget-view+json": {
1548
- "model_id": "aa6d871157634cd1a5e915ee379aa6bf",
1549
- "version_major": 2,
1550
- "version_minor": 0
1551
- },
1552
- "text/plain": [
1553
- " 0%| | 0/64 [00:00<?, ?it/s]"
1554
- ]
1555
- },
1556
- "metadata": {},
1557
- "output_type": "display_data"
1558
- },
1559
- {
1560
- "data": {
1561
- "application/vnd.jupyter.widget-view+json": {
1562
- "model_id": "f35b8a4df9074c998c062d6d7fda28b9",
1563
- "version_major": 2,
1564
- "version_minor": 0
1565
- },
1566
- "text/plain": [
1567
- " 0%| | 0/64 [00:00<?, ?it/s]"
1568
- ]
1569
- },
1570
- "metadata": {},
1571
- "output_type": "display_data"
1572
- },
1573
- {
1574
- "data": {
1575
- "application/vnd.jupyter.widget-view+json": {
1576
- "model_id": "01ee9a5b74d9464986b6a10282f6d903",
1577
- "version_major": 2,
1578
- "version_minor": 0
1579
- },
1580
- "text/plain": [
1581
- " 0%| | 0/64 [00:00<?, ?it/s]"
1582
- ]
1583
- },
1584
- "metadata": {},
1585
- "output_type": "display_data"
1586
- },
1587
- {
1588
- "data": {
1589
- "application/vnd.jupyter.widget-view+json": {
1590
- "model_id": "591c3d72a8ed4f628c90a195c8630fd0",
1591
- "version_major": 2,
1592
- "version_minor": 0
1593
- },
1594
- "text/plain": [
1595
- " 0%| | 0/64 [00:00<?, ?it/s]"
1596
- ]
1597
- },
1598
- "metadata": {},
1599
- "output_type": "display_data"
1600
- },
1601
- {
1602
- "data": {
1603
- "application/vnd.jupyter.widget-view+json": {
1604
- "model_id": "d17a7a87fd604ff9af53ca8697ceffae",
1605
- "version_major": 2,
1606
- "version_minor": 0
1607
- },
1608
- "text/plain": [
1609
- " 0%| | 0/64 [00:00<?, ?it/s]"
1610
- ]
1611
- },
1612
- "metadata": {},
1613
- "output_type": "display_data"
1614
- },
1615
- {
1616
- "data": {
1617
- "application/vnd.jupyter.widget-view+json": {
1618
- "model_id": "44e6e0abab7c4087bf4d18fb6bb34727",
1619
- "version_major": 2,
1620
- "version_minor": 0
1621
- },
1622
- "text/plain": [
1623
- " 0%| | 0/64 [00:00<?, ?it/s]"
1624
- ]
1625
- },
1626
- "metadata": {},
1627
- "output_type": "display_data"
1628
- },
1629
- {
1630
- "data": {
1631
- "application/vnd.jupyter.widget-view+json": {
1632
- "model_id": "264f008a45534aecaf20742b05656df1",
1633
- "version_major": 2,
1634
- "version_minor": 0
1635
- },
1636
- "text/plain": [
1637
- " 0%| | 0/64 [00:00<?, ?it/s]"
1638
- ]
1639
- },
1640
- "metadata": {},
1641
- "output_type": "display_data"
1642
- },
1643
- {
1644
- "data": {
1645
- "application/vnd.jupyter.widget-view+json": {
1646
- "model_id": "f79b3e6e9c124555bf6a914d8ce14fd0",
1647
- "version_major": 2,
1648
- "version_minor": 0
1649
- },
1650
- "text/plain": [
1651
- " 0%| | 0/64 [00:00<?, ?it/s]"
1652
- ]
1653
- },
1654
- "metadata": {},
1655
- "output_type": "display_data"
1656
- },
1657
- {
1658
- "data": {
1659
- "application/vnd.jupyter.widget-view+json": {
1660
- "model_id": "55c5e77bc35d46dd9cb3d169e5ccb4e3",
1661
- "version_major": 2,
1662
- "version_minor": 0
1663
- },
1664
- "text/plain": [
1665
- " 0%| | 0/64 [00:00<?, ?it/s]"
1666
- ]
1667
- },
1668
- "metadata": {},
1669
- "output_type": "display_data"
1670
- },
1671
- {
1672
- "data": {
1673
- "application/vnd.jupyter.widget-view+json": {
1674
- "model_id": "2c4683f4af05459cbdc2ffc59501a4de",
1675
- "version_major": 2,
1676
- "version_minor": 0
1677
- },
1678
- "text/plain": [
1679
- " 0%| | 0/64 [00:00<?, ?it/s]"
1680
- ]
1681
- },
1682
- "metadata": {},
1683
- "output_type": "display_data"
1684
- },
1685
- {
1686
- "data": {
1687
- "application/vnd.jupyter.widget-view+json": {
1688
- "model_id": "1a2e412cac304820b5fab62e28fed307",
1689
- "version_major": 2,
1690
- "version_minor": 0
1691
- },
1692
- "text/plain": [
1693
- " 0%| | 0/64 [00:00<?, ?it/s]"
1694
- ]
1695
- },
1696
- "metadata": {},
1697
- "output_type": "display_data"
1698
- },
1699
- {
1700
- "data": {
1701
- "application/vnd.jupyter.widget-view+json": {
1702
- "model_id": "cb5a743585324369bca8510d139cb32d",
1703
- "version_major": 2,
1704
- "version_minor": 0
1705
- },
1706
- "text/plain": [
1707
- " 0%| | 0/64 [00:00<?, ?it/s]"
1708
- ]
1709
- },
1710
- "metadata": {},
1711
- "output_type": "display_data"
1712
- },
1713
- {
1714
- "data": {
1715
- "application/vnd.jupyter.widget-view+json": {
1716
- "model_id": "bccf975a70e64d2f85d0f5612466fd0d",
1717
- "version_major": 2,
1718
- "version_minor": 0
1719
- },
1720
- "text/plain": [
1721
- " 0%| | 0/64 [00:00<?, ?it/s]"
1722
- ]
1723
- },
1724
- "metadata": {},
1725
- "output_type": "display_data"
1726
- },
1727
- {
1728
- "data": {
1729
- "application/vnd.jupyter.widget-view+json": {
1730
- "model_id": "5e44c26189ce49ea98e004009465fc14",
1731
- "version_major": 2,
1732
- "version_minor": 0
1733
- },
1734
- "text/plain": [
1735
- " 0%| | 0/64 [00:00<?, ?it/s]"
1736
- ]
1737
- },
1738
- "metadata": {},
1739
- "output_type": "display_data"
1740
- },
1741
- {
1742
- "data": {
1743
- "application/vnd.jupyter.widget-view+json": {
1744
- "model_id": "8d3004fd6d984012995267247857b585",
1745
- "version_major": 2,
1746
- "version_minor": 0
1747
- },
1748
- "text/plain": [
1749
- " 0%| | 0/64 [00:00<?, ?it/s]"
1750
- ]
1751
- },
1752
- "metadata": {},
1753
- "output_type": "display_data"
1754
- },
1755
- {
1756
- "data": {
1757
- "application/vnd.jupyter.widget-view+json": {
1758
- "model_id": "fa9374a0403744978298199c95826225",
1759
- "version_major": 2,
1760
- "version_minor": 0
1761
- },
1762
- "text/plain": [
1763
- " 0%| | 0/64 [00:00<?, ?it/s]"
1764
- ]
1765
- },
1766
- "metadata": {},
1767
- "output_type": "display_data"
1768
- },
1769
- {
1770
- "data": {
1771
- "application/vnd.jupyter.widget-view+json": {
1772
- "model_id": "26a33af7c17b47f3bf966e6d4544718a",
1773
- "version_major": 2,
1774
- "version_minor": 0
1775
- },
1776
- "text/plain": [
1777
- " 0%| | 0/64 [00:00<?, ?it/s]"
1778
- ]
1779
- },
1780
- "metadata": {},
1781
- "output_type": "display_data"
1782
- },
1783
- {
1784
- "data": {
1785
- "application/vnd.jupyter.widget-view+json": {
1786
- "model_id": "18b4884f63b744cb8df5d55496cc2e07",
1787
- "version_major": 2,
1788
- "version_minor": 0
1789
- },
1790
- "text/plain": [
1791
- " 0%| | 0/64 [00:00<?, ?it/s]"
1792
- ]
1793
- },
1794
- "metadata": {},
1795
- "output_type": "display_data"
1796
- },
1797
- {
1798
- "data": {
1799
- "application/vnd.jupyter.widget-view+json": {
1800
- "model_id": "732184fb292a49d193acc4f65eed4127",
1801
- "version_major": 2,
1802
- "version_minor": 0
1803
- },
1804
- "text/plain": [
1805
- " 0%| | 0/64 [00:00<?, ?it/s]"
1806
- ]
1807
- },
1808
- "metadata": {},
1809
- "output_type": "display_data"
1810
- },
1811
- {
1812
- "data": {
1813
- "application/vnd.jupyter.widget-view+json": {
1814
- "model_id": "7c73659e3fe74229914feca4c2cfe4ea",
1815
- "version_major": 2,
1816
- "version_minor": 0
1817
- },
1818
- "text/plain": [
1819
- " 0%| | 0/64 [00:00<?, ?it/s]"
1820
- ]
1821
- },
1822
- "metadata": {},
1823
- "output_type": "display_data"
1824
- },
1825
- {
1826
- "data": {
1827
- "application/vnd.jupyter.widget-view+json": {
1828
- "model_id": "c7ad5f34c7dd43e4a05d55d50cdbf5cc",
1829
- "version_major": 2,
1830
- "version_minor": 0
1831
- },
1832
- "text/plain": [
1833
- " 0%| | 0/64 [00:00<?, ?it/s]"
1834
- ]
1835
- },
1836
- "metadata": {},
1837
- "output_type": "display_data"
1838
- },
1839
- {
1840
- "data": {
1841
- "application/vnd.jupyter.widget-view+json": {
1842
- "model_id": "1dee90ddbc9247069fccd848c4a7af74",
1843
- "version_major": 2,
1844
- "version_minor": 0
1845
- },
1846
- "text/plain": [
1847
- " 0%| | 0/64 [00:00<?, ?it/s]"
1848
- ]
1849
- },
1850
- "metadata": {},
1851
- "output_type": "display_data"
1852
- },
1853
- {
1854
- "data": {
1855
- "application/vnd.jupyter.widget-view+json": {
1856
- "model_id": "63ede20f56714f6eb0f4aecd16bce586",
1857
- "version_major": 2,
1858
- "version_minor": 0
1859
- },
1860
- "text/plain": [
1861
- " 0%| | 0/64 [00:00<?, ?it/s]"
1862
- ]
1863
- },
1864
- "metadata": {},
1865
- "output_type": "display_data"
1866
- },
1867
- {
1868
- "data": {
1869
- "application/vnd.jupyter.widget-view+json": {
1870
- "model_id": "f16ab095734e4a07891db6b828d7567b",
1871
- "version_major": 2,
1872
- "version_minor": 0
1873
- },
1874
- "text/plain": [
1875
- " 0%| | 0/64 [00:00<?, ?it/s]"
1876
- ]
1877
- },
1878
- "metadata": {},
1879
- "output_type": "display_data"
1880
- },
1881
- {
1882
- "data": {
1883
- "application/vnd.jupyter.widget-view+json": {
1884
- "model_id": "b7dc7e20b5e2479c8ea666393a7dc54a",
1885
- "version_major": 2,
1886
- "version_minor": 0
1887
- },
1888
- "text/plain": [
1889
- " 0%| | 0/64 [00:00<?, ?it/s]"
1890
- ]
1891
- },
1892
- "metadata": {},
1893
- "output_type": "display_data"
1894
- },
1895
- {
1896
- "data": {
1897
- "application/vnd.jupyter.widget-view+json": {
1898
- "model_id": "24a467adf1cb4093a2a4af717e60c5e3",
1899
- "version_major": 2,
1900
- "version_minor": 0
1901
- },
1902
- "text/plain": [
1903
- " 0%| | 0/64 [00:00<?, ?it/s]"
1904
- ]
1905
- },
1906
- "metadata": {},
1907
- "output_type": "display_data"
1908
- },
1909
- {
1910
- "data": {
1911
- "application/vnd.jupyter.widget-view+json": {
1912
- "model_id": "a945d36d9e5d4090ab2c3632b438f250",
1913
- "version_major": 2,
1914
- "version_minor": 0
1915
- },
1916
- "text/plain": [
1917
- " 0%| | 0/64 [00:00<?, ?it/s]"
1918
- ]
1919
- },
1920
- "metadata": {},
1921
- "output_type": "display_data"
1922
- },
1923
- {
1924
- "data": {
1925
- "application/vnd.jupyter.widget-view+json": {
1926
- "model_id": "f794eae0d8a742009672e30d1abb163d",
1927
- "version_major": 2,
1928
- "version_minor": 0
1929
- },
1930
- "text/plain": [
1931
- " 0%| | 0/64 [00:00<?, ?it/s]"
1932
- ]
1933
- },
1934
- "metadata": {},
1935
- "output_type": "display_data"
1936
- },
1937
- {
1938
- "data": {
1939
- "application/vnd.jupyter.widget-view+json": {
1940
- "model_id": "c66d6b6497dc465aac5f1be4a4228533",
1941
- "version_major": 2,
1942
- "version_minor": 0
1943
- },
1944
- "text/plain": [
1945
- " 0%| | 0/64 [00:00<?, ?it/s]"
1946
- ]
1947
- },
1948
- "metadata": {},
1949
- "output_type": "display_data"
1950
- },
1951
- {
1952
- "data": {
1953
- "application/vnd.jupyter.widget-view+json": {
1954
- "model_id": "3859213d40434c6386890461e8e675bf",
1955
- "version_major": 2,
1956
- "version_minor": 0
1957
- },
1958
- "text/plain": [
1959
- " 0%| | 0/64 [00:00<?, ?it/s]"
1960
- ]
1961
- },
1962
- "metadata": {},
1963
- "output_type": "display_data"
1964
- },
1965
- {
1966
- "data": {
1967
- "application/vnd.jupyter.widget-view+json": {
1968
- "model_id": "f7bf8f40e35c4a4e82dff0a17751ef73",
1969
- "version_major": 2,
1970
- "version_minor": 0
1971
- },
1972
- "text/plain": [
1973
- " 0%| | 0/64 [00:00<?, ?it/s]"
1974
- ]
1975
- },
1976
- "metadata": {},
1977
- "output_type": "display_data"
1978
- },
1979
- {
1980
- "data": {
1981
- "application/vnd.jupyter.widget-view+json": {
1982
- "model_id": "0cd9ce46b80b4da692824ecd785a8445",
1983
- "version_major": 2,
1984
- "version_minor": 0
1985
- },
1986
- "text/plain": [
1987
- " 0%| | 0/64 [00:00<?, ?it/s]"
1988
- ]
1989
- },
1990
- "metadata": {},
1991
- "output_type": "display_data"
1992
- },
1993
- {
1994
- "data": {
1995
- "application/vnd.jupyter.widget-view+json": {
1996
- "model_id": "b0944ac7ef2e4782943bbd4f276c7023",
1997
- "version_major": 2,
1998
- "version_minor": 0
1999
- },
2000
- "text/plain": [
2001
- " 0%| | 0/64 [00:00<?, ?it/s]"
2002
- ]
2003
- },
2004
- "metadata": {},
2005
- "output_type": "display_data"
2006
- },
2007
- {
2008
- "data": {
2009
- "application/vnd.jupyter.widget-view+json": {
2010
- "model_id": "48e87fde350d4580af0b0112a1ea21e4",
2011
- "version_major": 2,
2012
- "version_minor": 0
2013
- },
2014
- "text/plain": [
2015
- " 0%| | 0/64 [00:00<?, ?it/s]"
2016
- ]
2017
- },
2018
- "metadata": {},
2019
- "output_type": "display_data"
2020
- },
2021
- {
2022
- "data": {
2023
- "application/vnd.jupyter.widget-view+json": {
2024
- "model_id": "0faa6df39a014923b65c4a9f5aea344f",
2025
- "version_major": 2,
2026
- "version_minor": 0
2027
- },
2028
- "text/plain": [
2029
- " 0%| | 0/64 [00:00<?, ?it/s]"
2030
- ]
2031
- },
2032
- "metadata": {},
2033
- "output_type": "display_data"
2034
- },
2035
- {
2036
- "name": "stdout",
2037
- "output_type": "stream",
2038
- "text": [
2039
- "saved model at ./outputs/model_state-N3200\n",
2040
- "-------------------- round 2 ---------------------\n",
2041
- "Number of parameters for nn_model: 111048705\n",
2042
- "run_name = 0702-1423\n",
2043
- "Launching training on one GPU.\n",
2044
- "dataset content: <KeysViewHDF5 ['brightness_temp', 'density', 'kwargs', 'params', 'redshifts_distances', 'seeds', 'xH_box']>\n",
2045
- "51200 images can be loaded\n",
2046
- "field.shape = (64, 64, 514)\n",
2047
- "params keys = [b'ION_Tvir_MIN', b'HII_EFF_FACTOR']\n",
2048
- "loading 6400 images randomly\n",
2049
- "images loaded: (6400, 1, 64, 64)\n"
2050
- ]
2051
- },
2052
- {
2053
- "name": "stderr",
2054
- "output_type": "stream",
2055
- "text": [
2056
- "Detected kernel version 3.10.0, which is below the recommended minimum of 5.5.0; this can cause the process to hang. It is recommended to upgrade the kernel to the minimum version or higher.\n"
2057
- ]
2058
- },
2059
- {
2060
- "name": "stdout",
2061
- "output_type": "stream",
2062
- "text": [
2063
- "params loaded: (6400, 2)\n",
2064
- "images rescaled to [-1.0, 1.1824936866760254]\n",
2065
- "params rescaled to [3.8339325512049e-05, 0.9999958400767995]\n"
2066
- ]
2067
- },
2068
- {
2069
- "data": {
2070
- "application/vnd.jupyter.widget-view+json": {
2071
- "model_id": "b8a60290f08a40f8a51581dbd16c7b39",
2072
- "version_major": 2,
2073
- "version_minor": 0
2074
- },
2075
- "text/plain": [
2076
- " 0%| | 0/128 [00:00<?, ?it/s]"
2077
- ]
2078
- },
2079
- "metadata": {},
2080
- "output_type": "display_data"
2081
- },
2082
- {
2083
- "data": {
2084
- "application/vnd.jupyter.widget-view+json": {
2085
- "model_id": "faf21be61aa74f5896746c59c2fb6e7f",
2086
- "version_major": 2,
2087
- "version_minor": 0
2088
- },
2089
- "text/plain": [
2090
- " 0%| | 0/128 [00:00<?, ?it/s]"
2091
- ]
2092
- },
2093
- "metadata": {},
2094
- "output_type": "display_data"
2095
- },
2096
- {
2097
- "data": {
2098
- "application/vnd.jupyter.widget-view+json": {
2099
- "model_id": "3174fa730b3c4239bee6019fd5ae3968",
2100
- "version_major": 2,
2101
- "version_minor": 0
2102
- },
2103
- "text/plain": [
2104
- " 0%| | 0/128 [00:00<?, ?it/s]"
2105
- ]
2106
- },
2107
- "metadata": {},
2108
- "output_type": "display_data"
2109
- },
2110
- {
2111
- "data": {
2112
- "application/vnd.jupyter.widget-view+json": {
2113
- "model_id": "74794964d68a4fde9c5933dc5a1d33ef",
2114
- "version_major": 2,
2115
- "version_minor": 0
2116
- },
2117
- "text/plain": [
2118
- " 0%| | 0/128 [00:00<?, ?it/s]"
2119
- ]
2120
- },
2121
- "metadata": {},
2122
- "output_type": "display_data"
2123
- },
2124
- {
2125
- "data": {
2126
- "application/vnd.jupyter.widget-view+json": {
2127
- "model_id": "90dccc21f24747839f5f885227453a41",
2128
- "version_major": 2,
2129
- "version_minor": 0
2130
- },
2131
- "text/plain": [
2132
- " 0%| | 0/128 [00:00<?, ?it/s]"
2133
- ]
2134
- },
2135
- "metadata": {},
2136
- "output_type": "display_data"
2137
- },
2138
- {
2139
- "data": {
2140
- "application/vnd.jupyter.widget-view+json": {
2141
- "model_id": "c071fbb36d604da2bb9cf400767d9ba1",
2142
- "version_major": 2,
2143
- "version_minor": 0
2144
- },
2145
- "text/plain": [
2146
- " 0%| | 0/128 [00:00<?, ?it/s]"
2147
- ]
2148
- },
2149
- "metadata": {},
2150
- "output_type": "display_data"
2151
- },
2152
- {
2153
- "data": {
2154
- "application/vnd.jupyter.widget-view+json": {
2155
- "model_id": "22d6c8fab4f2434ab1823b7a685e4c64",
2156
- "version_major": 2,
2157
- "version_minor": 0
2158
- },
2159
- "text/plain": [
2160
- " 0%| | 0/128 [00:00<?, ?it/s]"
2161
- ]
2162
- },
2163
- "metadata": {},
2164
- "output_type": "display_data"
2165
- },
2166
- {
2167
- "data": {
2168
- "application/vnd.jupyter.widget-view+json": {
2169
- "model_id": "0153d74885d0400390feb4b34dbc4897",
2170
- "version_major": 2,
2171
- "version_minor": 0
2172
- },
2173
- "text/plain": [
2174
- " 0%| | 0/128 [00:00<?, ?it/s]"
2175
- ]
2176
- },
2177
- "metadata": {},
2178
- "output_type": "display_data"
2179
- },
2180
- {
2181
- "data": {
2182
- "application/vnd.jupyter.widget-view+json": {
2183
- "model_id": "d72f739bf5a049469403b3a9bacd8d4c",
2184
- "version_major": 2,
2185
- "version_minor": 0
2186
- },
2187
- "text/plain": [
2188
- " 0%| | 0/128 [00:00<?, ?it/s]"
2189
- ]
2190
- },
2191
- "metadata": {},
2192
- "output_type": "display_data"
2193
- },
2194
- {
2195
- "data": {
2196
- "application/vnd.jupyter.widget-view+json": {
2197
- "model_id": "4eef58d1926e47ffa1be9dcda67af1d2",
2198
- "version_major": 2,
2199
- "version_minor": 0
2200
- },
2201
- "text/plain": [
2202
- " 0%| | 0/128 [00:00<?, ?it/s]"
2203
- ]
2204
- },
2205
- "metadata": {},
2206
- "output_type": "display_data"
2207
- },
2208
- {
2209
- "data": {
2210
- "application/vnd.jupyter.widget-view+json": {
2211
- "model_id": "1e9c0be095094542949158de7694e64d",
2212
- "version_major": 2,
2213
- "version_minor": 0
2214
- },
2215
- "text/plain": [
2216
- " 0%| | 0/128 [00:00<?, ?it/s]"
2217
- ]
2218
- },
2219
- "metadata": {},
2220
- "output_type": "display_data"
2221
- },
2222
- {
2223
- "data": {
2224
- "application/vnd.jupyter.widget-view+json": {
2225
- "model_id": "ae4806a05189485e92ae131a1c93b745",
2226
- "version_major": 2,
2227
- "version_minor": 0
2228
- },
2229
- "text/plain": [
2230
- " 0%| | 0/128 [00:00<?, ?it/s]"
2231
- ]
2232
- },
2233
- "metadata": {},
2234
- "output_type": "display_data"
2235
- },
2236
- {
2237
- "data": {
2238
- "application/vnd.jupyter.widget-view+json": {
2239
- "model_id": "0ae2bf241f774075a8c3e891532cc5b9",
2240
- "version_major": 2,
2241
- "version_minor": 0
2242
- },
2243
- "text/plain": [
2244
- " 0%| | 0/128 [00:00<?, ?it/s]"
2245
- ]
2246
- },
2247
- "metadata": {},
2248
- "output_type": "display_data"
2249
- },
2250
- {
2251
- "data": {
2252
- "application/vnd.jupyter.widget-view+json": {
2253
- "model_id": "68b94e34c7f74b0db04a434df5df46a6",
2254
- "version_major": 2,
2255
- "version_minor": 0
2256
- },
2257
- "text/plain": [
2258
- " 0%| | 0/128 [00:00<?, ?it/s]"
2259
- ]
2260
- },
2261
- "metadata": {},
2262
- "output_type": "display_data"
2263
- },
2264
- {
2265
- "data": {
2266
- "application/vnd.jupyter.widget-view+json": {
2267
- "model_id": "119fc566fe07417798fe999e727daf77",
2268
- "version_major": 2,
2269
- "version_minor": 0
2270
- },
2271
- "text/plain": [
2272
- " 0%| | 0/128 [00:00<?, ?it/s]"
2273
- ]
2274
- },
2275
- "metadata": {},
2276
- "output_type": "display_data"
2277
- },
2278
- {
2279
- "data": {
2280
- "application/vnd.jupyter.widget-view+json": {
2281
- "model_id": "0bcb6354e03243bda0dce7530c027c49",
2282
- "version_major": 2,
2283
- "version_minor": 0
2284
- },
2285
- "text/plain": [
2286
- " 0%| | 0/128 [00:00<?, ?it/s]"
2287
- ]
2288
- },
2289
- "metadata": {},
2290
- "output_type": "display_data"
2291
- },
2292
- {
2293
- "data": {
2294
- "application/vnd.jupyter.widget-view+json": {
2295
- "model_id": "b701b9c4b55a451d9509c4ade9c847cd",
2296
- "version_major": 2,
2297
- "version_minor": 0
2298
- },
2299
- "text/plain": [
2300
- " 0%| | 0/128 [00:00<?, ?it/s]"
2301
- ]
2302
- },
2303
- "metadata": {},
2304
- "output_type": "display_data"
2305
- },
2306
- {
2307
- "data": {
2308
- "application/vnd.jupyter.widget-view+json": {
2309
- "model_id": "22055353b5c54627a4fb9851735b3669",
2310
- "version_major": 2,
2311
- "version_minor": 0
2312
- },
2313
- "text/plain": [
2314
- " 0%| | 0/128 [00:00<?, ?it/s]"
2315
- ]
2316
- },
2317
- "metadata": {},
2318
- "output_type": "display_data"
2319
- },
2320
- {
2321
- "data": {
2322
- "application/vnd.jupyter.widget-view+json": {
2323
- "model_id": "b882406a76674fecac65180615fb2a03",
2324
- "version_major": 2,
2325
- "version_minor": 0
2326
- },
2327
- "text/plain": [
2328
- " 0%| | 0/128 [00:00<?, ?it/s]"
2329
- ]
2330
- },
2331
- "metadata": {},
2332
- "output_type": "display_data"
2333
- },
2334
- {
2335
- "data": {
2336
- "application/vnd.jupyter.widget-view+json": {
2337
- "model_id": "574f8a1eb28544cb86476a3bd196f895",
2338
- "version_major": 2,
2339
- "version_minor": 0
2340
- },
2341
- "text/plain": [
2342
- " 0%| | 0/128 [00:00<?, ?it/s]"
2343
- ]
2344
- },
2345
- "metadata": {},
2346
- "output_type": "display_data"
2347
- },
2348
- {
2349
- "data": {
2350
- "application/vnd.jupyter.widget-view+json": {
2351
- "model_id": "e3a02731fd42475ab85d1f97d2e29896",
2352
- "version_major": 2,
2353
- "version_minor": 0
2354
- },
2355
- "text/plain": [
2356
- " 0%| | 0/128 [00:00<?, ?it/s]"
2357
- ]
2358
- },
2359
- "metadata": {},
2360
- "output_type": "display_data"
2361
- },
2362
- {
2363
- "data": {
2364
- "application/vnd.jupyter.widget-view+json": {
2365
- "model_id": "0b8f9f1a11814f35a8fbe4615d289366",
2366
- "version_major": 2,
2367
- "version_minor": 0
2368
- },
2369
- "text/plain": [
2370
- " 0%| | 0/128 [00:00<?, ?it/s]"
2371
- ]
2372
- },
2373
- "metadata": {},
2374
- "output_type": "display_data"
2375
- },
2376
- {
2377
- "data": {
2378
- "application/vnd.jupyter.widget-view+json": {
2379
- "model_id": "7d8767d8ad194bc4a96b6689b43eaff1",
2380
- "version_major": 2,
2381
- "version_minor": 0
2382
- },
2383
- "text/plain": [
2384
- " 0%| | 0/128 [00:00<?, ?it/s]"
2385
- ]
2386
- },
2387
- "metadata": {},
2388
- "output_type": "display_data"
2389
- },
2390
- {
2391
- "data": {
2392
- "application/vnd.jupyter.widget-view+json": {
2393
- "model_id": "d6cbf07a27ad4c4faae1f308208a9ebc",
2394
- "version_major": 2,
2395
- "version_minor": 0
2396
- },
2397
- "text/plain": [
2398
- " 0%| | 0/128 [00:00<?, ?it/s]"
2399
- ]
2400
- },
2401
- "metadata": {},
2402
- "output_type": "display_data"
2403
- },
2404
- {
2405
- "data": {
2406
- "application/vnd.jupyter.widget-view+json": {
2407
- "model_id": "42810336d3b644c89a98d05661778116",
2408
- "version_major": 2,
2409
- "version_minor": 0
2410
- },
2411
- "text/plain": [
2412
- " 0%| | 0/128 [00:00<?, ?it/s]"
2413
- ]
2414
- },
2415
- "metadata": {},
2416
- "output_type": "display_data"
2417
- },
2418
- {
2419
- "data": {
2420
- "application/vnd.jupyter.widget-view+json": {
2421
- "model_id": "763037cee23b428682bf44c0af05e372",
2422
- "version_major": 2,
2423
- "version_minor": 0
2424
- },
2425
- "text/plain": [
2426
- " 0%| | 0/128 [00:00<?, ?it/s]"
2427
- ]
2428
- },
2429
- "metadata": {},
2430
- "output_type": "display_data"
2431
- },
2432
- {
2433
- "data": {
2434
- "application/vnd.jupyter.widget-view+json": {
2435
- "model_id": "3e828c40b1fb4bc48e5f07a5227cf11b",
2436
- "version_major": 2,
2437
- "version_minor": 0
2438
- },
2439
- "text/plain": [
2440
- " 0%| | 0/128 [00:00<?, ?it/s]"
2441
- ]
2442
- },
2443
- "metadata": {},
2444
- "output_type": "display_data"
2445
- },
2446
- {
2447
- "data": {
2448
- "application/vnd.jupyter.widget-view+json": {
2449
- "model_id": "64c346cb4e43463d9de3e16254ac1a72",
2450
- "version_major": 2,
2451
- "version_minor": 0
2452
- },
2453
- "text/plain": [
2454
- " 0%| | 0/128 [00:00<?, ?it/s]"
2455
- ]
2456
- },
2457
- "metadata": {},
2458
- "output_type": "display_data"
2459
- },
2460
- {
2461
- "data": {
2462
- "application/vnd.jupyter.widget-view+json": {
2463
- "model_id": "7d4c2cac6c384c8e8d0d39bea3bea7c5",
2464
- "version_major": 2,
2465
- "version_minor": 0
2466
- },
2467
- "text/plain": [
2468
- " 0%| | 0/128 [00:00<?, ?it/s]"
2469
- ]
2470
- },
2471
- "metadata": {},
2472
- "output_type": "display_data"
2473
- },
2474
- {
2475
- "data": {
2476
- "application/vnd.jupyter.widget-view+json": {
2477
- "model_id": "d40fd0e4301641409b1e6bd9187828d0",
2478
- "version_major": 2,
2479
- "version_minor": 0
2480
- },
2481
- "text/plain": [
2482
- " 0%| | 0/128 [00:00<?, ?it/s]"
2483
- ]
2484
- },
2485
- "metadata": {},
2486
- "output_type": "display_data"
2487
- },
2488
- {
2489
- "data": {
2490
- "application/vnd.jupyter.widget-view+json": {
2491
- "model_id": "0c5f8a288b4d43cc943a7d5545edc1c9",
2492
- "version_major": 2,
2493
- "version_minor": 0
2494
- },
2495
- "text/plain": [
2496
- " 0%| | 0/128 [00:00<?, ?it/s]"
2497
- ]
2498
- },
2499
- "metadata": {},
2500
- "output_type": "display_data"
2501
- },
2502
- {
2503
- "data": {
2504
- "application/vnd.jupyter.widget-view+json": {
2505
- "model_id": "1f8b31d5c8ba4ca3845021a0f56ad1d8",
2506
- "version_major": 2,
2507
- "version_minor": 0
2508
- },
2509
- "text/plain": [
2510
- " 0%| | 0/128 [00:00<?, ?it/s]"
2511
- ]
2512
- },
2513
- "metadata": {},
2514
- "output_type": "display_data"
2515
- },
2516
- {
2517
- "data": {
2518
- "application/vnd.jupyter.widget-view+json": {
2519
- "model_id": "5a893fcb43704bac9c00b270c4ee6b94",
2520
- "version_major": 2,
2521
- "version_minor": 0
2522
- },
2523
- "text/plain": [
2524
- " 0%| | 0/128 [00:00<?, ?it/s]"
2525
- ]
2526
- },
2527
- "metadata": {},
2528
- "output_type": "display_data"
2529
- },
2530
- {
2531
- "data": {
2532
- "application/vnd.jupyter.widget-view+json": {
2533
- "model_id": "f8a3f29a1d6640b59755f8d918cd5b19",
2534
- "version_major": 2,
2535
- "version_minor": 0
2536
- },
2537
- "text/plain": [
2538
- " 0%| | 0/128 [00:00<?, ?it/s]"
2539
- ]
2540
- },
2541
- "metadata": {},
2542
- "output_type": "display_data"
2543
- },
2544
- {
2545
- "data": {
2546
- "application/vnd.jupyter.widget-view+json": {
2547
- "model_id": "7c0bfd92593640a3b5c7cca83721a66e",
2548
- "version_major": 2,
2549
- "version_minor": 0
2550
- },
2551
- "text/plain": [
2552
- " 0%| | 0/128 [00:00<?, ?it/s]"
2553
- ]
2554
- },
2555
- "metadata": {},
2556
- "output_type": "display_data"
2557
- },
2558
- {
2559
- "data": {
2560
- "application/vnd.jupyter.widget-view+json": {
2561
- "model_id": "b23c4e1e1fbc4a398b0f5cf9c5397379",
2562
- "version_major": 2,
2563
- "version_minor": 0
2564
- },
2565
- "text/plain": [
2566
- " 0%| | 0/128 [00:00<?, ?it/s]"
2567
- ]
2568
- },
2569
- "metadata": {},
2570
- "output_type": "display_data"
2571
- },
2572
- {
2573
- "data": {
2574
- "application/vnd.jupyter.widget-view+json": {
2575
- "model_id": "e8224d18ff8040e5954680f702fefcb7",
2576
- "version_major": 2,
2577
- "version_minor": 0
2578
- },
2579
- "text/plain": [
2580
- " 0%| | 0/128 [00:00<?, ?it/s]"
2581
- ]
2582
- },
2583
- "metadata": {},
2584
- "output_type": "display_data"
2585
- },
2586
- {
2587
- "data": {
2588
- "application/vnd.jupyter.widget-view+json": {
2589
- "model_id": "c33253ec39ef48ae89c6dea38af8cf3e",
2590
- "version_major": 2,
2591
- "version_minor": 0
2592
- },
2593
- "text/plain": [
2594
- " 0%| | 0/128 [00:00<?, ?it/s]"
2595
- ]
2596
- },
2597
- "metadata": {},
2598
- "output_type": "display_data"
2599
- },
2600
- {
2601
- "data": {
2602
- "application/vnd.jupyter.widget-view+json": {
2603
- "model_id": "92dfc74538e7416fbc9aeeb2580a4c89",
2604
- "version_major": 2,
2605
- "version_minor": 0
2606
- },
2607
- "text/plain": [
2608
- " 0%| | 0/128 [00:00<?, ?it/s]"
2609
- ]
2610
- },
2611
- "metadata": {},
2612
- "output_type": "display_data"
2613
- },
2614
- {
2615
- "data": {
2616
- "application/vnd.jupyter.widget-view+json": {
2617
- "model_id": "fe49277b6c4c48b7a0375a71197e4fca",
2618
- "version_major": 2,
2619
- "version_minor": 0
2620
- },
2621
- "text/plain": [
2622
- " 0%| | 0/128 [00:00<?, ?it/s]"
2623
- ]
2624
- },
2625
- "metadata": {},
2626
- "output_type": "display_data"
2627
- },
2628
- {
2629
- "data": {
2630
- "application/vnd.jupyter.widget-view+json": {
2631
- "model_id": "0cff3b1c13c7462c85bb54e899b98a17",
2632
- "version_major": 2,
2633
- "version_minor": 0
2634
- },
2635
- "text/plain": [
2636
- " 0%| | 0/128 [00:00<?, ?it/s]"
2637
- ]
2638
- },
2639
- "metadata": {},
2640
- "output_type": "display_data"
2641
- },
2642
- {
2643
- "data": {
2644
- "application/vnd.jupyter.widget-view+json": {
2645
- "model_id": "16042e91e4764761a070dd7622ae5de4",
2646
- "version_major": 2,
2647
- "version_minor": 0
2648
- },
2649
- "text/plain": [
2650
- " 0%| | 0/128 [00:00<?, ?it/s]"
2651
- ]
2652
- },
2653
- "metadata": {},
2654
- "output_type": "display_data"
2655
- },
2656
- {
2657
- "data": {
2658
- "application/vnd.jupyter.widget-view+json": {
2659
- "model_id": "07f07e368e4c4656a4458521b651ad81",
2660
- "version_major": 2,
2661
- "version_minor": 0
2662
- },
2663
- "text/plain": [
2664
- " 0%| | 0/128 [00:00<?, ?it/s]"
2665
- ]
2666
- },
2667
- "metadata": {},
2668
- "output_type": "display_data"
2669
- },
2670
- {
2671
- "data": {
2672
- "application/vnd.jupyter.widget-view+json": {
2673
- "model_id": "e3ec40f98a5d40b3982ee3759f363d8f",
2674
- "version_major": 2,
2675
- "version_minor": 0
2676
- },
2677
- "text/plain": [
2678
- " 0%| | 0/128 [00:00<?, ?it/s]"
2679
- ]
2680
- },
2681
- "metadata": {},
2682
- "output_type": "display_data"
2683
- },
2684
- {
2685
- "data": {
2686
- "application/vnd.jupyter.widget-view+json": {
2687
- "model_id": "345b1533f7714c62890328b8b2f2c81b",
2688
- "version_major": 2,
2689
- "version_minor": 0
2690
- },
2691
- "text/plain": [
2692
- " 0%| | 0/128 [00:00<?, ?it/s]"
2693
- ]
2694
- },
2695
- "metadata": {},
2696
- "output_type": "display_data"
2697
- },
2698
- {
2699
- "data": {
2700
- "application/vnd.jupyter.widget-view+json": {
2701
- "model_id": "3a5ffbcacdc3459fa8adf82417a429a7",
2702
- "version_major": 2,
2703
- "version_minor": 0
2704
- },
2705
- "text/plain": [
2706
- " 0%| | 0/128 [00:00<?, ?it/s]"
2707
- ]
2708
- },
2709
- "metadata": {},
2710
- "output_type": "display_data"
2711
- },
2712
- {
2713
- "data": {
2714
- "application/vnd.jupyter.widget-view+json": {
2715
- "model_id": "d6bac57fe05b4d83b60c94c92349e1c1",
2716
- "version_major": 2,
2717
- "version_minor": 0
2718
- },
2719
- "text/plain": [
2720
- " 0%| | 0/128 [00:00<?, ?it/s]"
2721
- ]
2722
- },
2723
- "metadata": {},
2724
- "output_type": "display_data"
2725
- },
2726
- {
2727
- "data": {
2728
- "application/vnd.jupyter.widget-view+json": {
2729
- "model_id": "995a7fa00ec74f54874570e17d820c35",
2730
- "version_major": 2,
2731
- "version_minor": 0
2732
- },
2733
- "text/plain": [
2734
- " 0%| | 0/128 [00:00<?, ?it/s]"
2735
- ]
2736
- },
2737
- "metadata": {},
2738
- "output_type": "display_data"
2739
- },
2740
- {
2741
- "data": {
2742
- "application/vnd.jupyter.widget-view+json": {
2743
- "model_id": "12c3f474db54437f9fdd46570eb85046",
2744
- "version_major": 2,
2745
- "version_minor": 0
2746
- },
2747
- "text/plain": [
2748
- " 0%| | 0/128 [00:00<?, ?it/s]"
2749
- ]
2750
- },
2751
- "metadata": {},
2752
- "output_type": "display_data"
2753
- },
2754
- {
2755
- "data": {
2756
- "application/vnd.jupyter.widget-view+json": {
2757
- "model_id": "fd95200b2779433fab80a730fb8fd2b2",
2758
- "version_major": 2,
2759
- "version_minor": 0
2760
- },
2761
- "text/plain": [
2762
- " 0%| | 0/128 [00:00<?, ?it/s]"
2763
- ]
2764
- },
2765
- "metadata": {},
2766
- "output_type": "display_data"
2767
- },
2768
- {
2769
- "name": "stdout",
2770
- "output_type": "stream",
2771
- "text": [
2772
- "saved model at ./outputs/model_state-N6400\n",
2773
- "-------------------- round 3 ---------------------\n",
2774
- "Number of parameters for nn_model: 111048705\n",
2775
- "run_name = 0702-1446\n",
2776
- "Launching training on one GPU.\n",
2777
- "dataset content: <KeysViewHDF5 ['brightness_temp', 'density', 'kwargs', 'params', 'redshifts_distances', 'seeds', 'xH_box']>\n",
2778
- "51200 images can be loaded\n",
2779
- "field.shape = (64, 64, 514)\n",
2780
- "params keys = [b'ION_Tvir_MIN', b'HII_EFF_FACTOR']\n",
2781
- "loading 12800 images randomly\n",
2782
- "images loaded: (12800, 1, 64, 64)\n"
2783
- ]
2784
- },
2785
- {
2786
- "name": "stderr",
2787
- "output_type": "stream",
2788
- "text": [
2789
- "Detected kernel version 3.10.0, which is below the recommended minimum of 5.5.0; this can cause the process to hang. It is recommended to upgrade the kernel to the minimum version or higher.\n"
2790
- ]
2791
- },
2792
- {
2793
- "name": "stdout",
2794
- "output_type": "stream",
2795
- "text": [
2796
- "params loaded: (12800, 2)\n",
2797
- "images rescaled to [-1.0, 1.2380504608154297]\n",
2798
- "params rescaled to [1.6285759343270812e-05, 0.9999958400767995]\n"
2799
- ]
2800
- },
2801
- {
2802
- "data": {
2803
- "application/vnd.jupyter.widget-view+json": {
2804
- "model_id": "48c210d88e5c4679b2b329d7168aebb6",
2805
- "version_major": 2,
2806
- "version_minor": 0
2807
- },
2808
- "text/plain": [
2809
- " 0%| | 0/256 [00:00<?, ?it/s]"
2810
- ]
2811
- },
2812
- "metadata": {},
2813
- "output_type": "display_data"
2814
- },
2815
- {
2816
- "data": {
2817
- "application/vnd.jupyter.widget-view+json": {
2818
- "model_id": "3f25e4211173405990110e355ced5435",
2819
- "version_major": 2,
2820
- "version_minor": 0
2821
- },
2822
- "text/plain": [
2823
- " 0%| | 0/256 [00:00<?, ?it/s]"
2824
- ]
2825
- },
2826
- "metadata": {},
2827
- "output_type": "display_data"
2828
- },
2829
- {
2830
- "data": {
2831
- "application/vnd.jupyter.widget-view+json": {
2832
- "model_id": "950936f391d0451e9e8b3b893a00f062",
2833
- "version_major": 2,
2834
- "version_minor": 0
2835
- },
2836
- "text/plain": [
2837
- " 0%| | 0/256 [00:00<?, ?it/s]"
2838
- ]
2839
- },
2840
- "metadata": {},
2841
- "output_type": "display_data"
2842
- },
2843
- {
2844
- "data": {
2845
- "application/vnd.jupyter.widget-view+json": {
2846
- "model_id": "9addf28caf214a21802ce4f370acb5cc",
2847
- "version_major": 2,
2848
- "version_minor": 0
2849
- },
2850
- "text/plain": [
2851
- " 0%| | 0/256 [00:00<?, ?it/s]"
2852
- ]
2853
- },
2854
- "metadata": {},
2855
- "output_type": "display_data"
2856
- },
2857
- {
2858
- "data": {
2859
- "application/vnd.jupyter.widget-view+json": {
2860
- "model_id": "4ab171ffb32d4806bac465c18dc24814",
2861
- "version_major": 2,
2862
- "version_minor": 0
2863
- },
2864
- "text/plain": [
2865
- " 0%| | 0/256 [00:00<?, ?it/s]"
2866
- ]
2867
- },
2868
- "metadata": {},
2869
- "output_type": "display_data"
2870
- },
2871
- {
2872
- "data": {
2873
- "application/vnd.jupyter.widget-view+json": {
2874
- "model_id": "1dd71cf662654f7294da1ce1a01a49e4",
2875
- "version_major": 2,
2876
- "version_minor": 0
2877
- },
2878
- "text/plain": [
2879
- " 0%| | 0/256 [00:00<?, ?it/s]"
2880
- ]
2881
- },
2882
- "metadata": {},
2883
- "output_type": "display_data"
2884
- },
2885
- {
2886
- "data": {
2887
- "application/vnd.jupyter.widget-view+json": {
2888
- "model_id": "93fbb79db03345468e51dc651e5d7c0a",
2889
- "version_major": 2,
2890
- "version_minor": 0
2891
- },
2892
- "text/plain": [
2893
- " 0%| | 0/256 [00:00<?, ?it/s]"
2894
- ]
2895
- },
2896
- "metadata": {},
2897
- "output_type": "display_data"
2898
- },
2899
- {
2900
- "data": {
2901
- "application/vnd.jupyter.widget-view+json": {
2902
- "model_id": "4d7c1b3c31f7484c949e61763dcb5908",
2903
- "version_major": 2,
2904
- "version_minor": 0
2905
- },
2906
- "text/plain": [
2907
- " 0%| | 0/256 [00:00<?, ?it/s]"
2908
- ]
2909
- },
2910
- "metadata": {},
2911
- "output_type": "display_data"
2912
- },
2913
- {
2914
- "data": {
2915
- "application/vnd.jupyter.widget-view+json": {
2916
- "model_id": "1e7baaeb963f4f10b054c1113bb22d6f",
2917
- "version_major": 2,
2918
- "version_minor": 0
2919
- },
2920
- "text/plain": [
2921
- " 0%| | 0/256 [00:00<?, ?it/s]"
2922
- ]
2923
- },
2924
- "metadata": {},
2925
- "output_type": "display_data"
2926
- },
2927
- {
2928
- "data": {
2929
- "application/vnd.jupyter.widget-view+json": {
2930
- "model_id": "604e9a94b7bc4367ae53f870584c5b9b",
2931
- "version_major": 2,
2932
- "version_minor": 0
2933
- },
2934
- "text/plain": [
2935
- " 0%| | 0/256 [00:00<?, ?it/s]"
2936
- ]
2937
- },
2938
- "metadata": {},
2939
- "output_type": "display_data"
2940
- },
2941
- {
2942
- "data": {
2943
- "application/vnd.jupyter.widget-view+json": {
2944
- "model_id": "7e663af3cd994c93b07b61edf47b4ef5",
2945
- "version_major": 2,
2946
- "version_minor": 0
2947
- },
2948
- "text/plain": [
2949
- " 0%| | 0/256 [00:00<?, ?it/s]"
2950
- ]
2951
- },
2952
- "metadata": {},
2953
- "output_type": "display_data"
2954
- },
2955
- {
2956
- "data": {
2957
- "application/vnd.jupyter.widget-view+json": {
2958
- "model_id": "d2775c88519444e2ace0e3b88e5ee421",
2959
- "version_major": 2,
2960
- "version_minor": 0
2961
- },
2962
- "text/plain": [
2963
- " 0%| | 0/256 [00:00<?, ?it/s]"
2964
- ]
2965
- },
2966
- "metadata": {},
2967
- "output_type": "display_data"
2968
- },
2969
- {
2970
- "data": {
2971
- "application/vnd.jupyter.widget-view+json": {
2972
- "model_id": "76938417d1194352807dd12c9f0c14aa",
2973
- "version_major": 2,
2974
- "version_minor": 0
2975
- },
2976
- "text/plain": [
2977
- " 0%| | 0/256 [00:00<?, ?it/s]"
2978
- ]
2979
- },
2980
- "metadata": {},
2981
- "output_type": "display_data"
2982
- },
2983
- {
2984
- "data": {
2985
- "application/vnd.jupyter.widget-view+json": {
2986
- "model_id": "fbb1aee13db8456e835b8b828dd7f9c1",
2987
- "version_major": 2,
2988
- "version_minor": 0
2989
- },
2990
- "text/plain": [
2991
- " 0%| | 0/256 [00:00<?, ?it/s]"
2992
- ]
2993
- },
2994
- "metadata": {},
2995
- "output_type": "display_data"
2996
- },
2997
- {
2998
- "data": {
2999
- "application/vnd.jupyter.widget-view+json": {
3000
- "model_id": "4fb0c9de74164b36ad8743324b553a84",
3001
- "version_major": 2,
3002
- "version_minor": 0
3003
- },
3004
- "text/plain": [
3005
- " 0%| | 0/256 [00:00<?, ?it/s]"
3006
- ]
3007
- },
3008
- "metadata": {},
3009
- "output_type": "display_data"
3010
- },
3011
- {
3012
- "data": {
3013
- "application/vnd.jupyter.widget-view+json": {
3014
- "model_id": "2f337a9795d64f1fb92eb5f61112f7a1",
3015
- "version_major": 2,
3016
- "version_minor": 0
3017
- },
3018
- "text/plain": [
3019
- " 0%| | 0/256 [00:00<?, ?it/s]"
3020
- ]
3021
- },
3022
- "metadata": {},
3023
- "output_type": "display_data"
3024
- },
3025
- {
3026
- "data": {
3027
- "application/vnd.jupyter.widget-view+json": {
3028
- "model_id": "04e678c7406b4e0ab6668e09a0002b13",
3029
- "version_major": 2,
3030
- "version_minor": 0
3031
- },
3032
- "text/plain": [
3033
- " 0%| | 0/256 [00:00<?, ?it/s]"
3034
- ]
3035
- },
3036
- "metadata": {},
3037
- "output_type": "display_data"
3038
- },
3039
- {
3040
- "data": {
3041
- "application/vnd.jupyter.widget-view+json": {
3042
- "model_id": "6738162cdc41456988ea7a4f8a2cf1ad",
3043
- "version_major": 2,
3044
- "version_minor": 0
3045
- },
3046
- "text/plain": [
3047
- " 0%| | 0/256 [00:00<?, ?it/s]"
3048
- ]
3049
- },
3050
- "metadata": {},
3051
- "output_type": "display_data"
3052
- },
3053
- {
3054
- "data": {
3055
- "application/vnd.jupyter.widget-view+json": {
3056
- "model_id": "c9c7ed5976c54194ac4e9cb53aedb50a",
3057
- "version_major": 2,
3058
- "version_minor": 0
3059
- },
3060
- "text/plain": [
3061
- " 0%| | 0/256 [00:00<?, ?it/s]"
3062
- ]
3063
- },
3064
- "metadata": {},
3065
- "output_type": "display_data"
3066
- },
3067
- {
3068
- "data": {
3069
- "application/vnd.jupyter.widget-view+json": {
3070
- "model_id": "a05512f817c546438129d1ed65fe720e",
3071
- "version_major": 2,
3072
- "version_minor": 0
3073
- },
3074
- "text/plain": [
3075
- " 0%| | 0/256 [00:00<?, ?it/s]"
3076
- ]
3077
- },
3078
- "metadata": {},
3079
- "output_type": "display_data"
3080
- },
3081
- {
3082
- "data": {
3083
- "application/vnd.jupyter.widget-view+json": {
3084
- "model_id": "86a91da356914d3495d899fc56fdf2d7",
3085
- "version_major": 2,
3086
- "version_minor": 0
3087
- },
3088
- "text/plain": [
3089
- " 0%| | 0/256 [00:00<?, ?it/s]"
3090
- ]
3091
- },
3092
- "metadata": {},
3093
- "output_type": "display_data"
3094
- },
3095
- {
3096
- "data": {
3097
- "application/vnd.jupyter.widget-view+json": {
3098
- "model_id": "a9587b77fb4442b58e186b56726bc6de",
3099
- "version_major": 2,
3100
- "version_minor": 0
3101
- },
3102
- "text/plain": [
3103
- " 0%| | 0/256 [00:00<?, ?it/s]"
3104
- ]
3105
- },
3106
- "metadata": {},
3107
- "output_type": "display_data"
3108
- },
3109
- {
3110
- "data": {
3111
- "application/vnd.jupyter.widget-view+json": {
3112
- "model_id": "dd990204c6f4477aa30771db95c813a1",
3113
- "version_major": 2,
3114
- "version_minor": 0
3115
- },
3116
- "text/plain": [
3117
- " 0%| | 0/256 [00:00<?, ?it/s]"
3118
- ]
3119
- },
3120
- "metadata": {},
3121
- "output_type": "display_data"
3122
- },
3123
- {
3124
- "data": {
3125
- "application/vnd.jupyter.widget-view+json": {
3126
- "model_id": "821d016cb50b40ce83b638cb9f2a0843",
3127
- "version_major": 2,
3128
- "version_minor": 0
3129
- },
3130
- "text/plain": [
3131
- " 0%| | 0/256 [00:00<?, ?it/s]"
3132
- ]
3133
- },
3134
- "metadata": {},
3135
- "output_type": "display_data"
3136
- },
3137
- {
3138
- "data": {
3139
- "application/vnd.jupyter.widget-view+json": {
3140
- "model_id": "11a260ae6f344b468022860226e5b004",
3141
- "version_major": 2,
3142
- "version_minor": 0
3143
- },
3144
- "text/plain": [
3145
- " 0%| | 0/256 [00:00<?, ?it/s]"
3146
- ]
3147
- },
3148
- "metadata": {},
3149
- "output_type": "display_data"
3150
- },
3151
- {
3152
- "data": {
3153
- "application/vnd.jupyter.widget-view+json": {
3154
- "model_id": "0dbf0354dbf443bab47f4b2dbc928fd9",
3155
- "version_major": 2,
3156
- "version_minor": 0
3157
- },
3158
- "text/plain": [
3159
- " 0%| | 0/256 [00:00<?, ?it/s]"
3160
- ]
3161
- },
3162
- "metadata": {},
3163
- "output_type": "display_data"
3164
- },
3165
- {
3166
- "data": {
3167
- "application/vnd.jupyter.widget-view+json": {
3168
- "model_id": "17ab7995dbd249ea9ee94ef702f825ed",
3169
- "version_major": 2,
3170
- "version_minor": 0
3171
- },
3172
- "text/plain": [
3173
- " 0%| | 0/256 [00:00<?, ?it/s]"
3174
- ]
3175
- },
3176
- "metadata": {},
3177
- "output_type": "display_data"
3178
- },
3179
- {
3180
- "data": {
3181
- "application/vnd.jupyter.widget-view+json": {
3182
- "model_id": "5efa936d0c874fa0b57e65e52dda8706",
3183
- "version_major": 2,
3184
- "version_minor": 0
3185
- },
3186
- "text/plain": [
3187
- " 0%| | 0/256 [00:00<?, ?it/s]"
3188
- ]
3189
- },
3190
- "metadata": {},
3191
- "output_type": "display_data"
3192
- },
3193
- {
3194
- "data": {
3195
- "application/vnd.jupyter.widget-view+json": {
3196
- "model_id": "9bad57448b6d41fe9300cb7db6136167",
3197
- "version_major": 2,
3198
- "version_minor": 0
3199
- },
3200
- "text/plain": [
3201
- " 0%| | 0/256 [00:00<?, ?it/s]"
3202
- ]
3203
- },
3204
- "metadata": {},
3205
- "output_type": "display_data"
3206
- },
3207
- {
3208
- "data": {
3209
- "application/vnd.jupyter.widget-view+json": {
3210
- "model_id": "6d8d630a8b394983b9ad17982d01c85e",
3211
- "version_major": 2,
3212
- "version_minor": 0
3213
- },
3214
- "text/plain": [
3215
- " 0%| | 0/256 [00:00<?, ?it/s]"
3216
- ]
3217
- },
3218
- "metadata": {},
3219
- "output_type": "display_data"
3220
- },
3221
- {
3222
- "data": {
3223
- "application/vnd.jupyter.widget-view+json": {
3224
- "model_id": "84daa3b7045b4fdbacba454c66251be9",
3225
- "version_major": 2,
3226
- "version_minor": 0
3227
- },
3228
- "text/plain": [
3229
- " 0%| | 0/256 [00:00<?, ?it/s]"
3230
- ]
3231
- },
3232
- "metadata": {},
3233
- "output_type": "display_data"
3234
- },
3235
- {
3236
- "data": {
3237
- "application/vnd.jupyter.widget-view+json": {
3238
- "model_id": "dcf1fdd76a67474086a6bb81f4e7c367",
3239
- "version_major": 2,
3240
- "version_minor": 0
3241
- },
3242
- "text/plain": [
3243
- " 0%| | 0/256 [00:00<?, ?it/s]"
3244
- ]
3245
- },
3246
- "metadata": {},
3247
- "output_type": "display_data"
3248
- },
3249
- {
3250
- "data": {
3251
- "application/vnd.jupyter.widget-view+json": {
3252
- "model_id": "2fde7c4ca0f14fad8abc2042f5923f39",
3253
- "version_major": 2,
3254
- "version_minor": 0
3255
- },
3256
- "text/plain": [
3257
- " 0%| | 0/256 [00:00<?, ?it/s]"
3258
- ]
3259
- },
3260
- "metadata": {},
3261
- "output_type": "display_data"
3262
- },
3263
- {
3264
- "data": {
3265
- "application/vnd.jupyter.widget-view+json": {
3266
- "model_id": "708a9d814b184d6e90d6659a0f185f86",
3267
- "version_major": 2,
3268
- "version_minor": 0
3269
- },
3270
- "text/plain": [
3271
- " 0%| | 0/256 [00:00<?, ?it/s]"
3272
- ]
3273
- },
3274
- "metadata": {},
3275
- "output_type": "display_data"
3276
- },
3277
- {
3278
- "data": {
3279
- "application/vnd.jupyter.widget-view+json": {
3280
- "model_id": "dc78f9df3a594569b1ef4f0c3c855133",
3281
- "version_major": 2,
3282
- "version_minor": 0
3283
- },
3284
- "text/plain": [
3285
- " 0%| | 0/256 [00:00<?, ?it/s]"
3286
- ]
3287
- },
3288
- "metadata": {},
3289
- "output_type": "display_data"
3290
- },
3291
- {
3292
- "data": {
3293
- "application/vnd.jupyter.widget-view+json": {
3294
- "model_id": "e0871af284a34becaeb290eb43e25dcb",
3295
- "version_major": 2,
3296
- "version_minor": 0
3297
- },
3298
- "text/plain": [
3299
- " 0%| | 0/256 [00:00<?, ?it/s]"
3300
- ]
3301
- },
3302
- "metadata": {},
3303
- "output_type": "display_data"
3304
- },
3305
- {
3306
- "data": {
3307
- "application/vnd.jupyter.widget-view+json": {
3308
- "model_id": "2fc29ffb016d42e5b0d580c839e99126",
3309
- "version_major": 2,
3310
- "version_minor": 0
3311
- },
3312
- "text/plain": [
3313
- " 0%| | 0/256 [00:00<?, ?it/s]"
3314
- ]
3315
- },
3316
- "metadata": {},
3317
- "output_type": "display_data"
3318
- },
3319
- {
3320
- "data": {
3321
- "application/vnd.jupyter.widget-view+json": {
3322
- "model_id": "1a02375c509a47e098b3e6d1ce0a0625",
3323
- "version_major": 2,
3324
- "version_minor": 0
3325
- },
3326
- "text/plain": [
3327
- " 0%| | 0/256 [00:00<?, ?it/s]"
3328
- ]
3329
- },
3330
- "metadata": {},
3331
- "output_type": "display_data"
3332
- },
3333
- {
3334
- "data": {
3335
- "application/vnd.jupyter.widget-view+json": {
3336
- "model_id": "8ee38cabdc274b11ab2c263c4303a7de",
3337
- "version_major": 2,
3338
- "version_minor": 0
3339
- },
3340
- "text/plain": [
3341
- " 0%| | 0/256 [00:00<?, ?it/s]"
3342
- ]
3343
- },
3344
- "metadata": {},
3345
- "output_type": "display_data"
3346
- },
3347
- {
3348
- "data": {
3349
- "application/vnd.jupyter.widget-view+json": {
3350
- "model_id": "01a591a8f0114654b5cf7b17ae45dc9c",
3351
- "version_major": 2,
3352
- "version_minor": 0
3353
- },
3354
- "text/plain": [
3355
- " 0%| | 0/256 [00:00<?, ?it/s]"
3356
- ]
3357
- },
3358
- "metadata": {},
3359
- "output_type": "display_data"
3360
- },
3361
- {
3362
- "data": {
3363
- "application/vnd.jupyter.widget-view+json": {
3364
- "model_id": "4c22b3ecde8946f6be8d9a4e16f2c465",
3365
- "version_major": 2,
3366
- "version_minor": 0
3367
- },
3368
- "text/plain": [
3369
- " 0%| | 0/256 [00:00<?, ?it/s]"
3370
- ]
3371
- },
3372
- "metadata": {},
3373
- "output_type": "display_data"
3374
- },
3375
- {
3376
- "data": {
3377
- "application/vnd.jupyter.widget-view+json": {
3378
- "model_id": "d4c9110da7794d2ca5b62e3f989cd2d4",
3379
- "version_major": 2,
3380
- "version_minor": 0
3381
- },
3382
- "text/plain": [
3383
- " 0%| | 0/256 [00:00<?, ?it/s]"
3384
- ]
3385
- },
3386
- "metadata": {},
3387
- "output_type": "display_data"
3388
- },
3389
- {
3390
- "data": {
3391
- "application/vnd.jupyter.widget-view+json": {
3392
- "model_id": "084e8d616d15434bac4bff56b7a47ada",
3393
- "version_major": 2,
3394
- "version_minor": 0
3395
- },
3396
- "text/plain": [
3397
- " 0%| | 0/256 [00:00<?, ?it/s]"
3398
- ]
3399
- },
3400
- "metadata": {},
3401
- "output_type": "display_data"
3402
- },
3403
- {
3404
- "data": {
3405
- "application/vnd.jupyter.widget-view+json": {
3406
- "model_id": "0963fa8848d14e819fe5c33a98f48c63",
3407
- "version_major": 2,
3408
- "version_minor": 0
3409
- },
3410
- "text/plain": [
3411
- " 0%| | 0/256 [00:00<?, ?it/s]"
3412
- ]
3413
- },
3414
- "metadata": {},
3415
- "output_type": "display_data"
3416
- },
3417
- {
3418
- "data": {
3419
- "application/vnd.jupyter.widget-view+json": {
3420
- "model_id": "e735b6b3c1dc4b53ac4fcb37152ea008",
3421
- "version_major": 2,
3422
- "version_minor": 0
3423
- },
3424
- "text/plain": [
3425
- " 0%| | 0/256 [00:00<?, ?it/s]"
3426
- ]
3427
- },
3428
- "metadata": {},
3429
- "output_type": "display_data"
3430
- },
3431
- {
3432
- "data": {
3433
- "application/vnd.jupyter.widget-view+json": {
3434
- "model_id": "30de137084454e85a3adaa34e922a963",
3435
- "version_major": 2,
3436
- "version_minor": 0
3437
- },
3438
- "text/plain": [
3439
- " 0%| | 0/256 [00:00<?, ?it/s]"
3440
- ]
3441
- },
3442
- "metadata": {},
3443
- "output_type": "display_data"
3444
- },
3445
- {
3446
- "data": {
3447
- "application/vnd.jupyter.widget-view+json": {
3448
- "model_id": "34f457a8bd9943c99e0f2b8172b17982",
3449
- "version_major": 2,
3450
- "version_minor": 0
3451
- },
3452
- "text/plain": [
3453
- " 0%| | 0/256 [00:00<?, ?it/s]"
3454
- ]
3455
- },
3456
- "metadata": {},
3457
- "output_type": "display_data"
3458
- },
3459
- {
3460
- "data": {
3461
- "application/vnd.jupyter.widget-view+json": {
3462
- "model_id": "f3a52b4a52734586acb1175bb696dd1f",
3463
- "version_major": 2,
3464
- "version_minor": 0
3465
- },
3466
- "text/plain": [
3467
- " 0%| | 0/256 [00:00<?, ?it/s]"
3468
- ]
3469
- },
3470
- "metadata": {},
3471
- "output_type": "display_data"
3472
- },
3473
- {
3474
- "data": {
3475
- "application/vnd.jupyter.widget-view+json": {
3476
- "model_id": "34c2e5cb0f4e40c5a41417f5c0cc27f3",
3477
- "version_major": 2,
3478
- "version_minor": 0
3479
- },
3480
- "text/plain": [
3481
- " 0%| | 0/256 [00:00<?, ?it/s]"
3482
- ]
3483
- },
3484
- "metadata": {},
3485
- "output_type": "display_data"
3486
- },
3487
- {
3488
- "data": {
3489
- "application/vnd.jupyter.widget-view+json": {
3490
- "model_id": "11f134f3d1ea45ba938f17c93d95b4c6",
3491
- "version_major": 2,
3492
- "version_minor": 0
3493
- },
3494
- "text/plain": [
3495
- " 0%| | 0/256 [00:00<?, ?it/s]"
3496
- ]
3497
- },
3498
- "metadata": {},
3499
- "output_type": "display_data"
3500
  }
3501
  ],
3502
  "source": [
3503
  "if __name__ == \"__main__\":\n",
3504
  " # args = (config, nn_model, ddpm, optimizer, dataloader, lr_scheduler)\n",
 
3505
  " for i, num_image in enumerate(num_image_list):\n",
3506
- " print(f\" round {i} \".center(50, '-'))\n",
3507
- " ddpm21cm = DDPM21CM()\n",
3508
- " ddpm21cm.config.num_image = num_image\n",
3509
  " print(f\"run_name = {ddpm21cm.config.run_name}\")\n",
3510
  " notebook_launcher(ddpm21cm.train, num_processes=1)"
3511
  ]
@@ -3627,20 +1429,19 @@
3627
  "if __name__ == \"__main__\":\n",
3628
  " # args = (config, nn_model, ddpm, optimizer, dataloader, lr_scheduler)\n",
3629
  " repeat = 800\n",
 
3630
  " for i, num_image in enumerate(num_image_list):\n",
3631
- " ddpm21cm = DDPM21CM()\n",
 
 
3632
  " ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor([4.4, 131.341]), repeat=repeat)\n",
3633
  "\n",
3634
- " ddpm21cm = DDPM21CM()\n",
3635
  " ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor((5.6, 19.037)), repeat=repeat)\n",
3636
  "\n",
3637
- " ddpm21cm = DDPM21CM()\n",
3638
  " ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor((4.699, 30)), repeat=repeat)\n",
3639
  "\n",
3640
- " ddpm21cm = DDPM21CM()\n",
3641
  " ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor((5.477, 200)), repeat=repeat)\n",
3642
  "\n",
3643
- " ddpm21cm = DDPM21CM()\n",
3644
  " ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor((4.8, 131.341)), repeat=repeat)"
3645
  ]
3646
  },
 
310
  "source": [
311
  "# @dataclass\n",
312
  "class DDPM21CM:\n",
313
+ " def __init__(self, config):\n",
314
+ " # config = TrainConfig()\n",
315
  " # date = datetime.datetime.now().strftime(\"%m%d-%H%M\")\n",
316
  " config.run_name = datetime.datetime.now().strftime(\"%m%d-%H%M\") # the unique name of each experiment\n",
317
  " self.config = config\n",
 
537
  {
538
  "data": {
539
  "application/vnd.jupyter.widget-view+json": {
540
+ "model_id": "b70c4903cbb44ad69ad1e0a39af784d6",
541
  "version_major": 2,
542
  "version_minor": 0
543
  },
 
559
  "metadata": {},
560
  "outputs": [],
561
  "source": [
562
+ "num_image_list = [1600,3200]#,6400,12800,25600]"
563
  ]
564
  },
565
  {
 
571
  "name": "stdout",
572
  "output_type": "stream",
573
  "text": [
 
574
  "Number of parameters for nn_model: 111048705\n",
575
+ "---------------- num_image = 1600 ----------------\n",
576
+ "run_name = 0702-1611\n",
577
  "Launching training on one GPU.\n",
578
  "dataset content: <KeysViewHDF5 ['brightness_temp', 'density', 'kwargs', 'params', 'redshifts_distances', 'seeds', 'xH_box']>\n",
579
  "51200 images can be loaded\n",
 
595
  "output_type": "stream",
596
  "text": [
597
  "params loaded: (1600, 2)\n",
598
+ "images rescaled to [-1.0, 1.1719820499420166]\n",
599
+ "params rescaled to [0.0001702067256199591, 0.9995047166378379]\n"
600
  ]
601
  },
602
  {
603
  "data": {
604
  "application/vnd.jupyter.widget-view+json": {
605
+ "model_id": "8221e97102cf427a854982f512e208d4",
606
  "version_major": 2,
607
  "version_minor": 0
608
  },
 
616
  {
617
  "data": {
618
  "application/vnd.jupyter.widget-view+json": {
619
+ "model_id": "c929b4d92b2743dabee5a602c3708701",
620
  "version_major": 2,
621
  "version_minor": 0
622
  },
 
630
  {
631
  "data": {
632
  "application/vnd.jupyter.widget-view+json": {
633
+ "model_id": "c815ddfc4f1e4be698e824862db025ca",
634
  "version_major": 2,
635
  "version_minor": 0
636
  },
 
644
  {
645
  "data": {
646
  "application/vnd.jupyter.widget-view+json": {
647
+ "model_id": "1c37d32e1e1a4fb5b19af3adf7a2270b",
648
  "version_major": 2,
649
  "version_minor": 0
650
  },
 
658
  {
659
  "data": {
660
  "application/vnd.jupyter.widget-view+json": {
661
+ "model_id": "22bca2108e174c1b8d9275a8ef94fe51",
662
  "version_major": 2,
663
  "version_minor": 0
664
  },
 
672
  {
673
  "data": {
674
  "application/vnd.jupyter.widget-view+json": {
675
+ "model_id": "3a66c3e5c2604585b2c93655f348485e",
676
  "version_major": 2,
677
  "version_minor": 0
678
  },
 
686
  {
687
  "data": {
688
  "application/vnd.jupyter.widget-view+json": {
689
+ "model_id": "78af1fe81f434067a501f743ce29a4c7",
690
  "version_major": 2,
691
  "version_minor": 0
692
  },
 
700
  {
701
  "data": {
702
  "application/vnd.jupyter.widget-view+json": {
703
+ "model_id": "801178edae5d4433a7d322bdb20a5f39",
704
  "version_major": 2,
705
  "version_minor": 0
706
  },
 
714
  {
715
  "data": {
716
  "application/vnd.jupyter.widget-view+json": {
717
+ "model_id": "366420e4fdb142a4b408146b38e6c75a",
718
  "version_major": 2,
719
  "version_minor": 0
720
  },
 
728
  {
729
  "data": {
730
  "application/vnd.jupyter.widget-view+json": {
731
+ "model_id": "7ff43a36ea264c4aaf40213feff4b900",
732
  "version_major": 2,
733
  "version_minor": 0
734
  },
 
742
  {
743
  "data": {
744
  "application/vnd.jupyter.widget-view+json": {
745
+ "model_id": "58de9ed1876f462cac5f239e6a636129",
746
  "version_major": 2,
747
  "version_minor": 0
748
  },
 
756
  {
757
  "data": {
758
  "application/vnd.jupyter.widget-view+json": {
759
+ "model_id": "6d290215b0094d83a8f4e52f34e26ea5",
760
  "version_major": 2,
761
  "version_minor": 0
762
  },
 
770
  {
771
  "data": {
772
  "application/vnd.jupyter.widget-view+json": {
773
+ "model_id": "c1bf94c5b65249d7b60cc413de17ea85",
774
  "version_major": 2,
775
  "version_minor": 0
776
  },
 
784
  {
785
  "data": {
786
  "application/vnd.jupyter.widget-view+json": {
787
+ "model_id": "a76207ecd8164d509cbc444d663a6713",
788
  "version_major": 2,
789
  "version_minor": 0
790
  },
 
798
  {
799
  "data": {
800
  "application/vnd.jupyter.widget-view+json": {
801
+ "model_id": "0a1bba004a0c43408d6cd43f01abb9da",
802
  "version_major": 2,
803
  "version_minor": 0
804
  },
 
812
  {
813
  "data": {
814
  "application/vnd.jupyter.widget-view+json": {
815
+ "model_id": "f88333941bd54d88b84908b862f6ce9d",
816
  "version_major": 2,
817
  "version_minor": 0
818
  },
 
826
  {
827
  "data": {
828
  "application/vnd.jupyter.widget-view+json": {
829
+ "model_id": "06d738e03de6455d93dfe1b9c86cd35f",
830
  "version_major": 2,
831
  "version_minor": 0
832
  },
 
840
  {
841
  "data": {
842
  "application/vnd.jupyter.widget-view+json": {
843
+ "model_id": "2b0e93a5b14743028cdc71daa0a2993b",
844
  "version_major": 2,
845
  "version_minor": 0
846
  },
 
854
  {
855
  "data": {
856
  "application/vnd.jupyter.widget-view+json": {
857
+ "model_id": "cd90f5c365a04e91b93c009ad7d6c1be",
858
  "version_major": 2,
859
  "version_minor": 0
860
  },
 
868
  {
869
  "data": {
870
  "application/vnd.jupyter.widget-view+json": {
871
+ "model_id": "0b2df44268574e499c735c23b632eef3",
872
  "version_major": 2,
873
  "version_minor": 0
874
  },
 
882
  {
883
  "data": {
884
  "application/vnd.jupyter.widget-view+json": {
885
+ "model_id": "d171a0e73a2c4652a9a91d822691a3ef",
886
  "version_major": 2,
887
  "version_minor": 0
888
  },
 
896
  {
897
  "data": {
898
  "application/vnd.jupyter.widget-view+json": {
899
+ "model_id": "4a03b39819294ccfb5567e89877ab371",
900
  "version_major": 2,
901
  "version_minor": 0
902
  },
 
910
  {
911
  "data": {
912
  "application/vnd.jupyter.widget-view+json": {
913
+ "model_id": "b554c5f005fa446eb764abb15c6b7771",
914
  "version_major": 2,
915
  "version_minor": 0
916
  },
 
924
  {
925
  "data": {
926
  "application/vnd.jupyter.widget-view+json": {
927
+ "model_id": "dc75e32e10ef44359aac93d0f895ebc9",
928
  "version_major": 2,
929
  "version_minor": 0
930
  },
 
938
  {
939
  "data": {
940
  "application/vnd.jupyter.widget-view+json": {
941
+ "model_id": "9a2c2a603c5941b582e8a6a2418ee040",
942
  "version_major": 2,
943
  "version_minor": 0
944
  },
 
952
  {
953
  "data": {
954
  "application/vnd.jupyter.widget-view+json": {
955
+ "model_id": "3b79ff4e2eee4bfeaddf5fde502f9e19",
956
  "version_major": 2,
957
  "version_minor": 0
958
  },
 
966
  {
967
  "data": {
968
  "application/vnd.jupyter.widget-view+json": {
969
+ "model_id": "4fdeb5a2cd5e4b0f8b46547c396ba95f",
970
  "version_major": 2,
971
  "version_minor": 0
972
  },
 
980
  {
981
  "data": {
982
  "application/vnd.jupyter.widget-view+json": {
983
+ "model_id": "b51164d8191c4568953a0ad6879824ef",
984
  "version_major": 2,
985
  "version_minor": 0
986
  },
 
994
  {
995
  "data": {
996
  "application/vnd.jupyter.widget-view+json": {
997
+ "model_id": "b7f35532c6eb441aa83be325d90ce9c2",
998
  "version_major": 2,
999
  "version_minor": 0
1000
  },
 
1008
  {
1009
  "data": {
1010
  "application/vnd.jupyter.widget-view+json": {
1011
+ "model_id": "efb4014a9ac34305b739133f69b9a0dd",
1012
  "version_major": 2,
1013
  "version_minor": 0
1014
  },
 
1022
  {
1023
  "data": {
1024
  "application/vnd.jupyter.widget-view+json": {
1025
+ "model_id": "5b16d28c24194525a0a5f86bfa2578c8",
1026
  "version_major": 2,
1027
  "version_minor": 0
1028
  },
 
1036
  {
1037
  "data": {
1038
  "application/vnd.jupyter.widget-view+json": {
1039
+ "model_id": "d400c07a2045464aab5d4800747253c8",
1040
  "version_major": 2,
1041
  "version_minor": 0
1042
  },
 
1050
  {
1051
  "data": {
1052
  "application/vnd.jupyter.widget-view+json": {
1053
+ "model_id": "c682e31c95a94427b5a21ce12db9c72a",
1054
  "version_major": 2,
1055
  "version_minor": 0
1056
  },
 
1064
  {
1065
  "data": {
1066
  "application/vnd.jupyter.widget-view+json": {
1067
+ "model_id": "d8253aed29f64d31b649546a74b81924",
1068
  "version_major": 2,
1069
  "version_minor": 0
1070
  },
 
1078
  {
1079
  "data": {
1080
  "application/vnd.jupyter.widget-view+json": {
1081
+ "model_id": "10ab6cdc70bf4d68864ade452fe949d2",
1082
  "version_major": 2,
1083
  "version_minor": 0
1084
  },
 
1092
  {
1093
  "data": {
1094
  "application/vnd.jupyter.widget-view+json": {
1095
+ "model_id": "5e96dcc2700447e08822dc7eb89f94e0",
1096
  "version_major": 2,
1097
  "version_minor": 0
1098
  },
 
1106
  {
1107
  "data": {
1108
  "application/vnd.jupyter.widget-view+json": {
1109
+ "model_id": "07b0e308a2314611873dfe22c257b6fe",
1110
  "version_major": 2,
1111
  "version_minor": 0
1112
  },
 
1120
  {
1121
  "data": {
1122
  "application/vnd.jupyter.widget-view+json": {
1123
+ "model_id": "75e09ae60eed4157b963c158aefbf1d1",
1124
  "version_major": 2,
1125
  "version_minor": 0
1126
  },
 
1134
  {
1135
  "data": {
1136
  "application/vnd.jupyter.widget-view+json": {
1137
+ "model_id": "8a4a9128ad7146918393d54de284ac62",
1138
  "version_major": 2,
1139
  "version_minor": 0
1140
  },
 
1148
  {
1149
  "data": {
1150
  "application/vnd.jupyter.widget-view+json": {
1151
+ "model_id": "c1bee14cfa6c4108b7791939edc19f4b",
1152
  "version_major": 2,
1153
  "version_minor": 0
1154
  },
 
1162
  {
1163
  "data": {
1164
  "application/vnd.jupyter.widget-view+json": {
1165
+ "model_id": "41b0cdd867434a9192a871eff9866c6c",
1166
  "version_major": 2,
1167
  "version_minor": 0
1168
  },
 
1176
  {
1177
  "data": {
1178
  "application/vnd.jupyter.widget-view+json": {
1179
+ "model_id": "140e00a6678e4fdd9d48b6a41472afda",
1180
  "version_major": 2,
1181
  "version_minor": 0
1182
  },
 
1190
  {
1191
  "data": {
1192
  "application/vnd.jupyter.widget-view+json": {
1193
+ "model_id": "f1674187645c4c6b916997fed2e6a2e6",
1194
  "version_major": 2,
1195
  "version_minor": 0
1196
  },
 
1204
  {
1205
  "data": {
1206
  "application/vnd.jupyter.widget-view+json": {
1207
+ "model_id": "834901365708495d9eccd1464947e3e9",
1208
  "version_major": 2,
1209
  "version_minor": 0
1210
  },
 
1218
  {
1219
  "data": {
1220
  "application/vnd.jupyter.widget-view+json": {
1221
+ "model_id": "0ec6f2f7d911415a8db6146c45f411e0",
1222
  "version_major": 2,
1223
  "version_minor": 0
1224
  },
 
1232
  {
1233
  "data": {
1234
  "application/vnd.jupyter.widget-view+json": {
1235
+ "model_id": "5cdbc436a4cf4bd69dce025bca6226c9",
1236
  "version_major": 2,
1237
  "version_minor": 0
1238
  },
 
1246
  {
1247
  "data": {
1248
  "application/vnd.jupyter.widget-view+json": {
1249
+ "model_id": "43edd2e511244951b4c4ca6a580aeb20",
1250
  "version_major": 2,
1251
  "version_minor": 0
1252
  },
 
1260
  {
1261
  "data": {
1262
  "application/vnd.jupyter.widget-view+json": {
1263
+ "model_id": "a761ab9692ef4bc89d68851b890c2a1b",
1264
  "version_major": 2,
1265
  "version_minor": 0
1266
  },
 
1274
  {
1275
  "data": {
1276
  "application/vnd.jupyter.widget-view+json": {
1277
+ "model_id": "9985062740dc4f218e4b29a40c013ad5",
1278
  "version_major": 2,
1279
  "version_minor": 0
1280
  },
 
1288
  {
1289
  "data": {
1290
  "application/vnd.jupyter.widget-view+json": {
1291
+ "model_id": "24f4dcd1c41b4bf58d479b467acb8646",
1292
  "version_major": 2,
1293
  "version_minor": 0
1294
  },
 
1298
  },
1299
  "metadata": {},
1300
  "output_type": "display_data"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1301
  }
1302
  ],
1303
  "source": [
1304
  "if __name__ == \"__main__\":\n",
1305
  " # args = (config, nn_model, ddpm, optimizer, dataloader, lr_scheduler)\n",
1306
+ " config = TrainConfig()\n",
1307
  " for i, num_image in enumerate(num_image_list):\n",
1308
+ " config.num_image = num_image\n",
1309
+ " ddpm21cm = DDPM21CM(config)\n",
1310
+ " print(f\" num_image = {ddpm21cm.config.num_image} \".center(50, '-'))\n",
1311
  " print(f\"run_name = {ddpm21cm.config.run_name}\")\n",
1312
  " notebook_launcher(ddpm21cm.train, num_processes=1)"
1313
  ]
 
1429
  "if __name__ == \"__main__\":\n",
1430
  " # args = (config, nn_model, ddpm, optimizer, dataloader, lr_scheduler)\n",
1431
  " repeat = 800\n",
1432
+ " config = TrainConfig()\n",
1433
  " for i, num_image in enumerate(num_image_list):\n",
1434
+ " config.num_image = num_image\n",
1435
+ " ddpm21cm = DDPM21CM(config)\n",
1436
+ "\n",
1437
  " ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor([4.4, 131.341]), repeat=repeat)\n",
1438
  "\n",
 
1439
  " ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor((5.6, 19.037)), repeat=repeat)\n",
1440
  "\n",
 
1441
  " ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor((4.699, 30)), repeat=repeat)\n",
1442
  "\n",
 
1443
  " ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor((5.477, 200)), repeat=repeat)\n",
1444
  "\n",
 
1445
  " ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor((4.8, 131.341)), repeat=repeat)"
1446
  ]
1447
  },