Xsmos commited on
Commit
822afe0
·
verified ·
1 Parent(s): 3f5aaa0
Files changed (1) hide show
  1. diffusion.ipynb +120 -119
diffusion.ipynb CHANGED
@@ -75,7 +75,7 @@
75
  {
76
  "data": {
77
  "application/vnd.jupyter.widget-view+json": {
78
- "model_id": "b7a51a73994a43178f1baa379210c892",
79
  "version_major": 2,
80
  "version_minor": 0
81
  },
@@ -272,7 +272,7 @@
272
  " stride = (2,2) if dim == 2 else (2,2,2)\n",
273
  " num_image = 2000#32000#20000#15000#7000#25600#3000#10000#1000#10000#5000#2560#800#2560\n",
274
  " batch_size = 2#50#20#2#100 # 10\n",
275
- " n_epoch = 50#20#20#2#5#25 # 120\n",
276
  " HII_DIM = 64\n",
277
  " num_redshift = 64#512#256#256#64#512#128\n",
278
  " channel = 1\n",
@@ -555,16 +555,16 @@
555
  },
556
  {
557
  "cell_type": "code",
558
- "execution_count": 7,
559
  "metadata": {},
560
  "outputs": [],
561
  "source": [
562
- "num_image_list = [4]#[1600,3200,6400,12800,25600]"
563
  ]
564
  },
565
  {
566
  "cell_type": "code",
567
- "execution_count": 8,
568
  "metadata": {},
569
  "outputs": [
570
  {
@@ -572,14 +572,16 @@
572
  "output_type": "stream",
573
  "text": [
574
  "Number of parameters for nn_model: 306285057\n",
575
- "----------------- num_image = 4 ------------------\n",
576
- "run_name = 0705-1053\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",
580
  "field.shape = (64, 64, 514)\n",
581
  "params keys = [b'ION_Tvir_MIN', b'HII_EFF_FACTOR']\n",
582
- "loading 4 images randomly\n"
 
 
583
  ]
584
  },
585
  {
@@ -593,21 +595,19 @@
593
  "name": "stdout",
594
  "output_type": "stream",
595
  "text": [
596
- "images loaded: (4, 1, 64, 64, 64)\n",
597
- "params loaded: (4, 2)\n",
598
- "images rescaled to [-1.0, 1.049072027206421]\n",
599
- "params rescaled to [0.02179058530500466, 0.9278468466439764]\n"
600
  ]
601
  },
602
  {
603
  "data": {
604
  "application/vnd.jupyter.widget-view+json": {
605
- "model_id": "2ecbe26474ef446498cae235911aeb71",
606
  "version_major": 2,
607
  "version_minor": 0
608
  },
609
  "text/plain": [
610
- " 0%| | 0/2 [00:00<?, ?it/s]"
611
  ]
612
  },
613
  "metadata": {},
@@ -616,12 +616,12 @@
616
  {
617
  "data": {
618
  "application/vnd.jupyter.widget-view+json": {
619
- "model_id": "c7e4b83cd28e418ba485f3cbb621bbfc",
620
  "version_major": 2,
621
  "version_minor": 0
622
  },
623
  "text/plain": [
624
- " 0%| | 0/2 [00:00<?, ?it/s]"
625
  ]
626
  },
627
  "metadata": {},
@@ -630,12 +630,12 @@
630
  {
631
  "data": {
632
  "application/vnd.jupyter.widget-view+json": {
633
- "model_id": "5131eb83f4a5481f86dd5e760994777f",
634
  "version_major": 2,
635
  "version_minor": 0
636
  },
637
  "text/plain": [
638
- " 0%| | 0/2 [00:00<?, ?it/s]"
639
  ]
640
  },
641
  "metadata": {},
@@ -644,12 +644,12 @@
644
  {
645
  "data": {
646
  "application/vnd.jupyter.widget-view+json": {
647
- "model_id": "911f1534f52b491e8a1d32333ca197fd",
648
  "version_major": 2,
649
  "version_minor": 0
650
  },
651
  "text/plain": [
652
- " 0%| | 0/2 [00:00<?, ?it/s]"
653
  ]
654
  },
655
  "metadata": {},
@@ -658,12 +658,12 @@
658
  {
659
  "data": {
660
  "application/vnd.jupyter.widget-view+json": {
661
- "model_id": "86c1521c0527401bb3109596384a2c0a",
662
  "version_major": 2,
663
  "version_minor": 0
664
  },
665
  "text/plain": [
666
- " 0%| | 0/2 [00:00<?, ?it/s]"
667
  ]
668
  },
669
  "metadata": {},
@@ -672,12 +672,12 @@
672
  {
673
  "data": {
674
  "application/vnd.jupyter.widget-view+json": {
675
- "model_id": "3d398aaa68ee4ca9a49edd104836a9ae",
676
  "version_major": 2,
677
  "version_minor": 0
678
  },
679
  "text/plain": [
680
- " 0%| | 0/2 [00:00<?, ?it/s]"
681
  ]
682
  },
683
  "metadata": {},
@@ -686,12 +686,12 @@
686
  {
687
  "data": {
688
  "application/vnd.jupyter.widget-view+json": {
689
- "model_id": "9862503132bf477b828e6d8dfd34ddff",
690
  "version_major": 2,
691
  "version_minor": 0
692
  },
693
  "text/plain": [
694
- " 0%| | 0/2 [00:00<?, ?it/s]"
695
  ]
696
  },
697
  "metadata": {},
@@ -700,12 +700,12 @@
700
  {
701
  "data": {
702
  "application/vnd.jupyter.widget-view+json": {
703
- "model_id": "d6bfe318f0404914934a3f29b77af475",
704
  "version_major": 2,
705
  "version_minor": 0
706
  },
707
  "text/plain": [
708
- " 0%| | 0/2 [00:00<?, ?it/s]"
709
  ]
710
  },
711
  "metadata": {},
@@ -714,12 +714,12 @@
714
  {
715
  "data": {
716
  "application/vnd.jupyter.widget-view+json": {
717
- "model_id": "31af611de29d4cea9403997ed099ec6b",
718
  "version_major": 2,
719
  "version_minor": 0
720
  },
721
  "text/plain": [
722
- " 0%| | 0/2 [00:00<?, ?it/s]"
723
  ]
724
  },
725
  "metadata": {},
@@ -728,12 +728,12 @@
728
  {
729
  "data": {
730
  "application/vnd.jupyter.widget-view+json": {
731
- "model_id": "39d76b3a6ece4e20b7b12d3a1f1bd7cb",
732
  "version_major": 2,
733
  "version_minor": 0
734
  },
735
  "text/plain": [
736
- " 0%| | 0/2 [00:00<?, ?it/s]"
737
  ]
738
  },
739
  "metadata": {},
@@ -742,12 +742,12 @@
742
  {
743
  "data": {
744
  "application/vnd.jupyter.widget-view+json": {
745
- "model_id": "aa1ffafe98544080991f9b16a69b6237",
746
  "version_major": 2,
747
  "version_minor": 0
748
  },
749
  "text/plain": [
750
- " 0%| | 0/2 [00:00<?, ?it/s]"
751
  ]
752
  },
753
  "metadata": {},
@@ -756,12 +756,12 @@
756
  {
757
  "data": {
758
  "application/vnd.jupyter.widget-view+json": {
759
- "model_id": "de8d6d0ca17f44aaadd1cac178fd1382",
760
  "version_major": 2,
761
  "version_minor": 0
762
  },
763
  "text/plain": [
764
- " 0%| | 0/2 [00:00<?, ?it/s]"
765
  ]
766
  },
767
  "metadata": {},
@@ -770,12 +770,12 @@
770
  {
771
  "data": {
772
  "application/vnd.jupyter.widget-view+json": {
773
- "model_id": "4180238b5ca4458b8d32bb84ebafd6bc",
774
  "version_major": 2,
775
  "version_minor": 0
776
  },
777
  "text/plain": [
778
- " 0%| | 0/2 [00:00<?, ?it/s]"
779
  ]
780
  },
781
  "metadata": {},
@@ -784,12 +784,12 @@
784
  {
785
  "data": {
786
  "application/vnd.jupyter.widget-view+json": {
787
- "model_id": "c119c446ecce4c48929b84c4289eb902",
788
  "version_major": 2,
789
  "version_minor": 0
790
  },
791
  "text/plain": [
792
- " 0%| | 0/2 [00:00<?, ?it/s]"
793
  ]
794
  },
795
  "metadata": {},
@@ -798,12 +798,12 @@
798
  {
799
  "data": {
800
  "application/vnd.jupyter.widget-view+json": {
801
- "model_id": "efa57bccdae94728beb48c25944343df",
802
  "version_major": 2,
803
  "version_minor": 0
804
  },
805
  "text/plain": [
806
- " 0%| | 0/2 [00:00<?, ?it/s]"
807
  ]
808
  },
809
  "metadata": {},
@@ -812,12 +812,12 @@
812
  {
813
  "data": {
814
  "application/vnd.jupyter.widget-view+json": {
815
- "model_id": "69122a78260c41998a99114d6b16cb05",
816
  "version_major": 2,
817
  "version_minor": 0
818
  },
819
  "text/plain": [
820
- " 0%| | 0/2 [00:00<?, ?it/s]"
821
  ]
822
  },
823
  "metadata": {},
@@ -826,12 +826,12 @@
826
  {
827
  "data": {
828
  "application/vnd.jupyter.widget-view+json": {
829
- "model_id": "2dec8b90a16e4fcf97e57086075fc5f4",
830
  "version_major": 2,
831
  "version_minor": 0
832
  },
833
  "text/plain": [
834
- " 0%| | 0/2 [00:00<?, ?it/s]"
835
  ]
836
  },
837
  "metadata": {},
@@ -840,12 +840,12 @@
840
  {
841
  "data": {
842
  "application/vnd.jupyter.widget-view+json": {
843
- "model_id": "553466be83994a14bb115fa4ef492fb9",
844
  "version_major": 2,
845
  "version_minor": 0
846
  },
847
  "text/plain": [
848
- " 0%| | 0/2 [00:00<?, ?it/s]"
849
  ]
850
  },
851
  "metadata": {},
@@ -854,12 +854,12 @@
854
  {
855
  "data": {
856
  "application/vnd.jupyter.widget-view+json": {
857
- "model_id": "9b2cc8d228d74034804d2dcc0d4cf0c7",
858
  "version_major": 2,
859
  "version_minor": 0
860
  },
861
  "text/plain": [
862
- " 0%| | 0/2 [00:00<?, ?it/s]"
863
  ]
864
  },
865
  "metadata": {},
@@ -868,12 +868,12 @@
868
  {
869
  "data": {
870
  "application/vnd.jupyter.widget-view+json": {
871
- "model_id": "f62e293b34da434e8642429d7f8ee9f1",
872
  "version_major": 2,
873
  "version_minor": 0
874
  },
875
  "text/plain": [
876
- " 0%| | 0/2 [00:00<?, ?it/s]"
877
  ]
878
  },
879
  "metadata": {},
@@ -882,12 +882,12 @@
882
  {
883
  "data": {
884
  "application/vnd.jupyter.widget-view+json": {
885
- "model_id": "cb978aee9b994953b049315b067ca689",
886
  "version_major": 2,
887
  "version_minor": 0
888
  },
889
  "text/plain": [
890
- " 0%| | 0/2 [00:00<?, ?it/s]"
891
  ]
892
  },
893
  "metadata": {},
@@ -896,12 +896,12 @@
896
  {
897
  "data": {
898
  "application/vnd.jupyter.widget-view+json": {
899
- "model_id": "a9facb2eb98b4f1cb330658ff017d6e2",
900
  "version_major": 2,
901
  "version_minor": 0
902
  },
903
  "text/plain": [
904
- " 0%| | 0/2 [00:00<?, ?it/s]"
905
  ]
906
  },
907
  "metadata": {},
@@ -910,12 +910,12 @@
910
  {
911
  "data": {
912
  "application/vnd.jupyter.widget-view+json": {
913
- "model_id": "1e9e7b0ec426476b86e6ad8e0d7f3f6c",
914
  "version_major": 2,
915
  "version_minor": 0
916
  },
917
  "text/plain": [
918
- " 0%| | 0/2 [00:00<?, ?it/s]"
919
  ]
920
  },
921
  "metadata": {},
@@ -924,12 +924,12 @@
924
  {
925
  "data": {
926
  "application/vnd.jupyter.widget-view+json": {
927
- "model_id": "993b95c4019d4c3fba6a921244cd1f85",
928
  "version_major": 2,
929
  "version_minor": 0
930
  },
931
  "text/plain": [
932
- " 0%| | 0/2 [00:00<?, ?it/s]"
933
  ]
934
  },
935
  "metadata": {},
@@ -938,12 +938,12 @@
938
  {
939
  "data": {
940
  "application/vnd.jupyter.widget-view+json": {
941
- "model_id": "102b96fe42a549d491db1b1ef06b2b71",
942
  "version_major": 2,
943
  "version_minor": 0
944
  },
945
  "text/plain": [
946
- " 0%| | 0/2 [00:00<?, ?it/s]"
947
  ]
948
  },
949
  "metadata": {},
@@ -952,12 +952,12 @@
952
  {
953
  "data": {
954
  "application/vnd.jupyter.widget-view+json": {
955
- "model_id": "bea9b3b7ce674edfab82e722729b5b89",
956
  "version_major": 2,
957
  "version_minor": 0
958
  },
959
  "text/plain": [
960
- " 0%| | 0/2 [00:00<?, ?it/s]"
961
  ]
962
  },
963
  "metadata": {},
@@ -966,12 +966,12 @@
966
  {
967
  "data": {
968
  "application/vnd.jupyter.widget-view+json": {
969
- "model_id": "9bd60ffe82bd4905bacc2b679731405d",
970
  "version_major": 2,
971
  "version_minor": 0
972
  },
973
  "text/plain": [
974
- " 0%| | 0/2 [00:00<?, ?it/s]"
975
  ]
976
  },
977
  "metadata": {},
@@ -980,12 +980,12 @@
980
  {
981
  "data": {
982
  "application/vnd.jupyter.widget-view+json": {
983
- "model_id": "bdaff07deceb41609994255b73c32cd9",
984
  "version_major": 2,
985
  "version_minor": 0
986
  },
987
  "text/plain": [
988
- " 0%| | 0/2 [00:00<?, ?it/s]"
989
  ]
990
  },
991
  "metadata": {},
@@ -994,12 +994,12 @@
994
  {
995
  "data": {
996
  "application/vnd.jupyter.widget-view+json": {
997
- "model_id": "192999ef9c8f47c9ad406842de8d4e8d",
998
  "version_major": 2,
999
  "version_minor": 0
1000
  },
1001
  "text/plain": [
1002
- " 0%| | 0/2 [00:00<?, ?it/s]"
1003
  ]
1004
  },
1005
  "metadata": {},
@@ -1008,12 +1008,12 @@
1008
  {
1009
  "data": {
1010
  "application/vnd.jupyter.widget-view+json": {
1011
- "model_id": "611701080c1f47e1888f853cb1ceb126",
1012
  "version_major": 2,
1013
  "version_minor": 0
1014
  },
1015
  "text/plain": [
1016
- " 0%| | 0/2 [00:00<?, ?it/s]"
1017
  ]
1018
  },
1019
  "metadata": {},
@@ -1022,12 +1022,12 @@
1022
  {
1023
  "data": {
1024
  "application/vnd.jupyter.widget-view+json": {
1025
- "model_id": "4b00e996c78f4389a6331543159d2e1a",
1026
  "version_major": 2,
1027
  "version_minor": 0
1028
  },
1029
  "text/plain": [
1030
- " 0%| | 0/2 [00:00<?, ?it/s]"
1031
  ]
1032
  },
1033
  "metadata": {},
@@ -1036,12 +1036,12 @@
1036
  {
1037
  "data": {
1038
  "application/vnd.jupyter.widget-view+json": {
1039
- "model_id": "42701fb451c64cb593f4fca4d143751c",
1040
  "version_major": 2,
1041
  "version_minor": 0
1042
  },
1043
  "text/plain": [
1044
- " 0%| | 0/2 [00:00<?, ?it/s]"
1045
  ]
1046
  },
1047
  "metadata": {},
@@ -1050,12 +1050,12 @@
1050
  {
1051
  "data": {
1052
  "application/vnd.jupyter.widget-view+json": {
1053
- "model_id": "47669f94caa546a78ab26957098d2092",
1054
  "version_major": 2,
1055
  "version_minor": 0
1056
  },
1057
  "text/plain": [
1058
- " 0%| | 0/2 [00:00<?, ?it/s]"
1059
  ]
1060
  },
1061
  "metadata": {},
@@ -1064,12 +1064,12 @@
1064
  {
1065
  "data": {
1066
  "application/vnd.jupyter.widget-view+json": {
1067
- "model_id": "8afc2c87a8ff4ba3af430245a087f67a",
1068
  "version_major": 2,
1069
  "version_minor": 0
1070
  },
1071
  "text/plain": [
1072
- " 0%| | 0/2 [00:00<?, ?it/s]"
1073
  ]
1074
  },
1075
  "metadata": {},
@@ -1078,12 +1078,12 @@
1078
  {
1079
  "data": {
1080
  "application/vnd.jupyter.widget-view+json": {
1081
- "model_id": "7e1ea4c40e9142a9b8559e491aff2529",
1082
  "version_major": 2,
1083
  "version_minor": 0
1084
  },
1085
  "text/plain": [
1086
- " 0%| | 0/2 [00:00<?, ?it/s]"
1087
  ]
1088
  },
1089
  "metadata": {},
@@ -1092,12 +1092,12 @@
1092
  {
1093
  "data": {
1094
  "application/vnd.jupyter.widget-view+json": {
1095
- "model_id": "77015601a26d4fd2a3a41d6d80538d37",
1096
  "version_major": 2,
1097
  "version_minor": 0
1098
  },
1099
  "text/plain": [
1100
- " 0%| | 0/2 [00:00<?, ?it/s]"
1101
  ]
1102
  },
1103
  "metadata": {},
@@ -1106,12 +1106,12 @@
1106
  {
1107
  "data": {
1108
  "application/vnd.jupyter.widget-view+json": {
1109
- "model_id": "b1a35ee7663e49fc9b2386059b53e8c8",
1110
  "version_major": 2,
1111
  "version_minor": 0
1112
  },
1113
  "text/plain": [
1114
- " 0%| | 0/2 [00:00<?, ?it/s]"
1115
  ]
1116
  },
1117
  "metadata": {},
@@ -1120,12 +1120,12 @@
1120
  {
1121
  "data": {
1122
  "application/vnd.jupyter.widget-view+json": {
1123
- "model_id": "9bbdc5fe2e584026856fb9a2ce6eb1b7",
1124
  "version_major": 2,
1125
  "version_minor": 0
1126
  },
1127
  "text/plain": [
1128
- " 0%| | 0/2 [00:00<?, ?it/s]"
1129
  ]
1130
  },
1131
  "metadata": {},
@@ -1134,12 +1134,12 @@
1134
  {
1135
  "data": {
1136
  "application/vnd.jupyter.widget-view+json": {
1137
- "model_id": "1cb8d4301ed446b1ad56554ff080560a",
1138
  "version_major": 2,
1139
  "version_minor": 0
1140
  },
1141
  "text/plain": [
1142
- " 0%| | 0/2 [00:00<?, ?it/s]"
1143
  ]
1144
  },
1145
  "metadata": {},
@@ -1148,12 +1148,12 @@
1148
  {
1149
  "data": {
1150
  "application/vnd.jupyter.widget-view+json": {
1151
- "model_id": "e0c4bee9568447b78db716554a3342b2",
1152
  "version_major": 2,
1153
  "version_minor": 0
1154
  },
1155
  "text/plain": [
1156
- " 0%| | 0/2 [00:00<?, ?it/s]"
1157
  ]
1158
  },
1159
  "metadata": {},
@@ -1162,12 +1162,12 @@
1162
  {
1163
  "data": {
1164
  "application/vnd.jupyter.widget-view+json": {
1165
- "model_id": "bdd4db66e7344f2f9ba41d1512e76458",
1166
  "version_major": 2,
1167
  "version_minor": 0
1168
  },
1169
  "text/plain": [
1170
- " 0%| | 0/2 [00:00<?, ?it/s]"
1171
  ]
1172
  },
1173
  "metadata": {},
@@ -1176,12 +1176,12 @@
1176
  {
1177
  "data": {
1178
  "application/vnd.jupyter.widget-view+json": {
1179
- "model_id": "55ceda2803084fc0bb46524e0d586602",
1180
  "version_major": 2,
1181
  "version_minor": 0
1182
  },
1183
  "text/plain": [
1184
- " 0%| | 0/2 [00:00<?, ?it/s]"
1185
  ]
1186
  },
1187
  "metadata": {},
@@ -1190,12 +1190,12 @@
1190
  {
1191
  "data": {
1192
  "application/vnd.jupyter.widget-view+json": {
1193
- "model_id": "ae7215706afa4ddfa3a674dd76ee8350",
1194
  "version_major": 2,
1195
  "version_minor": 0
1196
  },
1197
  "text/plain": [
1198
- " 0%| | 0/2 [00:00<?, ?it/s]"
1199
  ]
1200
  },
1201
  "metadata": {},
@@ -1204,12 +1204,12 @@
1204
  {
1205
  "data": {
1206
  "application/vnd.jupyter.widget-view+json": {
1207
- "model_id": "512249484a9d45b69dea4ed238f3da30",
1208
  "version_major": 2,
1209
  "version_minor": 0
1210
  },
1211
  "text/plain": [
1212
- " 0%| | 0/2 [00:00<?, ?it/s]"
1213
  ]
1214
  },
1215
  "metadata": {},
@@ -1218,12 +1218,12 @@
1218
  {
1219
  "data": {
1220
  "application/vnd.jupyter.widget-view+json": {
1221
- "model_id": "4ec68a068a604ef5b11c99993b8baace",
1222
  "version_major": 2,
1223
  "version_minor": 0
1224
  },
1225
  "text/plain": [
1226
- " 0%| | 0/2 [00:00<?, ?it/s]"
1227
  ]
1228
  },
1229
  "metadata": {},
@@ -1232,12 +1232,12 @@
1232
  {
1233
  "data": {
1234
  "application/vnd.jupyter.widget-view+json": {
1235
- "model_id": "f1d060aae57a47edbb55b9c19413a77c",
1236
  "version_major": 2,
1237
  "version_minor": 0
1238
  },
1239
  "text/plain": [
1240
- " 0%| | 0/2 [00:00<?, ?it/s]"
1241
  ]
1242
  },
1243
  "metadata": {},
@@ -1246,12 +1246,12 @@
1246
  {
1247
  "data": {
1248
  "application/vnd.jupyter.widget-view+json": {
1249
- "model_id": "f848c117255e48dea811b18a159a7175",
1250
  "version_major": 2,
1251
  "version_minor": 0
1252
  },
1253
  "text/plain": [
1254
- " 0%| | 0/2 [00:00<?, ?it/s]"
1255
  ]
1256
  },
1257
  "metadata": {},
@@ -1260,12 +1260,12 @@
1260
  {
1261
  "data": {
1262
  "application/vnd.jupyter.widget-view+json": {
1263
- "model_id": "3b0c9aa8cca34000a81abf133d710ccf",
1264
  "version_major": 2,
1265
  "version_minor": 0
1266
  },
1267
  "text/plain": [
1268
- " 0%| | 0/2 [00:00<?, ?it/s]"
1269
  ]
1270
  },
1271
  "metadata": {},
@@ -1274,12 +1274,12 @@
1274
  {
1275
  "data": {
1276
  "application/vnd.jupyter.widget-view+json": {
1277
- "model_id": "474eaaaa3ba340b0af823d796ddf7ea0",
1278
  "version_major": 2,
1279
  "version_minor": 0
1280
  },
1281
  "text/plain": [
1282
- " 0%| | 0/2 [00:00<?, ?it/s]"
1283
  ]
1284
  },
1285
  "metadata": {},
@@ -1288,12 +1288,12 @@
1288
  {
1289
  "data": {
1290
  "application/vnd.jupyter.widget-view+json": {
1291
- "model_id": "c546e85d0c0a46da9a50001bc63c2f92",
1292
  "version_major": 2,
1293
  "version_minor": 0
1294
  },
1295
  "text/plain": [
1296
- " 0%| | 0/2 [00:00<?, ?it/s]"
1297
  ]
1298
  },
1299
  "metadata": {},
@@ -1387,7 +1387,7 @@
1387
  }
1388
  ],
1389
  "source": [
1390
- "ll -lth outputs"
1391
  ]
1392
  },
1393
  {
@@ -1842,10 +1842,11 @@
1842
  ],
1843
  "source": [
1844
  "if __name__ == \"__main__\":\n",
1845
- " num_image_list = [1600,3200,6400,12800,25600]\n",
 
1846
  " # num_image_list = [3200,6400,12800,25600]\n",
1847
  " # args = (config, nn_model, ddpm, optimizer, dataloader, lr_scheduler)\n",
1848
- " repeat = 800\n",
1849
  " config = TrainConfig()\n",
1850
  " for i, num_image in enumerate(num_image_list):\n",
1851
  " config.num_image = num_image\n",
@@ -1853,13 +1854,13 @@
1853
  "\n",
1854
  " ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor([4.4, 131.341]), repeat=repeat)\n",
1855
  "\n",
1856
- " ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor((5.6, 19.037)), repeat=repeat)\n",
1857
  "\n",
1858
- " ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor((4.699, 30)), repeat=repeat)\n",
1859
  "\n",
1860
- " ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor((5.477, 200)), repeat=repeat)\n",
1861
  "\n",
1862
- " ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor((4.8, 131.341)), repeat=repeat)"
1863
  ]
1864
  },
1865
  {
 
75
  {
76
  "data": {
77
  "application/vnd.jupyter.widget-view+json": {
78
+ "model_id": "930fd496e3474e459def52921323253c",
79
  "version_major": 2,
80
  "version_minor": 0
81
  },
 
272
  " stride = (2,2) if dim == 2 else (2,2,2)\n",
273
  " num_image = 2000#32000#20000#15000#7000#25600#3000#10000#1000#10000#5000#2560#800#2560\n",
274
  " batch_size = 2#50#20#2#100 # 10\n",
275
+ " n_epoch = 10#50#20#20#2#5#25 # 120\n",
276
  " HII_DIM = 64\n",
277
  " num_redshift = 64#512#256#256#64#512#128\n",
278
  " channel = 1\n",
 
555
  },
556
  {
557
  "cell_type": "code",
558
+ "execution_count": 8,
559
  "metadata": {},
560
  "outputs": [],
561
  "source": [
562
+ "num_image_list = [200]#[1600,3200,6400,12800,25600]"
563
  ]
564
  },
565
  {
566
  "cell_type": "code",
567
+ "execution_count": 9,
568
  "metadata": {},
569
  "outputs": [
570
  {
 
572
  "output_type": "stream",
573
  "text": [
574
  "Number of parameters for nn_model: 306285057\n",
575
+ "---------------- num_image = 200 -----------------\n",
576
+ "run_name = 0705-1109\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",
580
  "field.shape = (64, 64, 514)\n",
581
  "params keys = [b'ION_Tvir_MIN', b'HII_EFF_FACTOR']\n",
582
+ "loading 200 images randomly\n",
583
+ "images loaded: (200, 1, 64, 64, 64)\n",
584
+ "params loaded: (200, 2)\n"
585
  ]
586
  },
587
  {
 
595
  "name": "stdout",
596
  "output_type": "stream",
597
  "text": [
598
+ "images rescaled to [-1.0, 1.2652204036712646]\n",
599
+ "params rescaled to [0.006617276082765411, 0.9997543714597507]\n"
 
 
600
  ]
601
  },
602
  {
603
  "data": {
604
  "application/vnd.jupyter.widget-view+json": {
605
+ "model_id": "35fc33a0ae44486a96d3c802f009c5d3",
606
  "version_major": 2,
607
  "version_minor": 0
608
  },
609
  "text/plain": [
610
+ " 0%| | 0/100 [00:00<?, ?it/s]"
611
  ]
612
  },
613
  "metadata": {},
 
616
  {
617
  "data": {
618
  "application/vnd.jupyter.widget-view+json": {
619
+ "model_id": "2a519ac5315b49c688d3b88355547fb9",
620
  "version_major": 2,
621
  "version_minor": 0
622
  },
623
  "text/plain": [
624
+ " 0%| | 0/100 [00:00<?, ?it/s]"
625
  ]
626
  },
627
  "metadata": {},
 
630
  {
631
  "data": {
632
  "application/vnd.jupyter.widget-view+json": {
633
+ "model_id": "69e2ce385d9c47c29d7adfc91c11f181",
634
  "version_major": 2,
635
  "version_minor": 0
636
  },
637
  "text/plain": [
638
+ " 0%| | 0/100 [00:00<?, ?it/s]"
639
  ]
640
  },
641
  "metadata": {},
 
644
  {
645
  "data": {
646
  "application/vnd.jupyter.widget-view+json": {
647
+ "model_id": "ecd2c3325006430da0b26fc08fdcbd14",
648
  "version_major": 2,
649
  "version_minor": 0
650
  },
651
  "text/plain": [
652
+ " 0%| | 0/100 [00:00<?, ?it/s]"
653
  ]
654
  },
655
  "metadata": {},
 
658
  {
659
  "data": {
660
  "application/vnd.jupyter.widget-view+json": {
661
+ "model_id": "dbfe0fd5713042cd8d39e3742b2b0120",
662
  "version_major": 2,
663
  "version_minor": 0
664
  },
665
  "text/plain": [
666
+ " 0%| | 0/100 [00:00<?, ?it/s]"
667
  ]
668
  },
669
  "metadata": {},
 
672
  {
673
  "data": {
674
  "application/vnd.jupyter.widget-view+json": {
675
+ "model_id": "130fa2e6bac14e3a8c1dcf911f341f11",
676
  "version_major": 2,
677
  "version_minor": 0
678
  },
679
  "text/plain": [
680
+ " 0%| | 0/100 [00:00<?, ?it/s]"
681
  ]
682
  },
683
  "metadata": {},
 
686
  {
687
  "data": {
688
  "application/vnd.jupyter.widget-view+json": {
689
+ "model_id": "41543c28d3e64dbaaae9b27e41f2a2f7",
690
  "version_major": 2,
691
  "version_minor": 0
692
  },
693
  "text/plain": [
694
+ " 0%| | 0/100 [00:00<?, ?it/s]"
695
  ]
696
  },
697
  "metadata": {},
 
700
  {
701
  "data": {
702
  "application/vnd.jupyter.widget-view+json": {
703
+ "model_id": "9583c3c18dcf4171a5480587a318d6fa",
704
  "version_major": 2,
705
  "version_minor": 0
706
  },
707
  "text/plain": [
708
+ " 0%| | 0/100 [00:00<?, ?it/s]"
709
  ]
710
  },
711
  "metadata": {},
 
714
  {
715
  "data": {
716
  "application/vnd.jupyter.widget-view+json": {
717
+ "model_id": "ee45ac51feca414aa424f86df6064549",
718
  "version_major": 2,
719
  "version_minor": 0
720
  },
721
  "text/plain": [
722
+ " 0%| | 0/100 [00:00<?, ?it/s]"
723
  ]
724
  },
725
  "metadata": {},
 
728
  {
729
  "data": {
730
  "application/vnd.jupyter.widget-view+json": {
731
+ "model_id": "0b8da38f4cd146bfb43e9e298df4b0b1",
732
  "version_major": 2,
733
  "version_minor": 0
734
  },
735
  "text/plain": [
736
+ " 0%| | 0/100 [00:00<?, ?it/s]"
737
  ]
738
  },
739
  "metadata": {},
 
742
  {
743
  "data": {
744
  "application/vnd.jupyter.widget-view+json": {
745
+ "model_id": "88673c003dee4d02bccdd96447933490",
746
  "version_major": 2,
747
  "version_minor": 0
748
  },
749
  "text/plain": [
750
+ " 0%| | 0/100 [00:00<?, ?it/s]"
751
  ]
752
  },
753
  "metadata": {},
 
756
  {
757
  "data": {
758
  "application/vnd.jupyter.widget-view+json": {
759
+ "model_id": "e5c76ae1dc1d41e6a12727cfee5d5967",
760
  "version_major": 2,
761
  "version_minor": 0
762
  },
763
  "text/plain": [
764
+ " 0%| | 0/100 [00:00<?, ?it/s]"
765
  ]
766
  },
767
  "metadata": {},
 
770
  {
771
  "data": {
772
  "application/vnd.jupyter.widget-view+json": {
773
+ "model_id": "d387481a4ec2451d8eb5490893f45731",
774
  "version_major": 2,
775
  "version_minor": 0
776
  },
777
  "text/plain": [
778
+ " 0%| | 0/100 [00:00<?, ?it/s]"
779
  ]
780
  },
781
  "metadata": {},
 
784
  {
785
  "data": {
786
  "application/vnd.jupyter.widget-view+json": {
787
+ "model_id": "7b39605940254f9ca903db94e4f97a95",
788
  "version_major": 2,
789
  "version_minor": 0
790
  },
791
  "text/plain": [
792
+ " 0%| | 0/100 [00:00<?, ?it/s]"
793
  ]
794
  },
795
  "metadata": {},
 
798
  {
799
  "data": {
800
  "application/vnd.jupyter.widget-view+json": {
801
+ "model_id": "c506de02c9764e7b81f2dded2708015e",
802
  "version_major": 2,
803
  "version_minor": 0
804
  },
805
  "text/plain": [
806
+ " 0%| | 0/100 [00:00<?, ?it/s]"
807
  ]
808
  },
809
  "metadata": {},
 
812
  {
813
  "data": {
814
  "application/vnd.jupyter.widget-view+json": {
815
+ "model_id": "b96ad7ec574b456ca63bda889e2e44f1",
816
  "version_major": 2,
817
  "version_minor": 0
818
  },
819
  "text/plain": [
820
+ " 0%| | 0/100 [00:00<?, ?it/s]"
821
  ]
822
  },
823
  "metadata": {},
 
826
  {
827
  "data": {
828
  "application/vnd.jupyter.widget-view+json": {
829
+ "model_id": "6b1779e89c93494d96a036a9b58f6efb",
830
  "version_major": 2,
831
  "version_minor": 0
832
  },
833
  "text/plain": [
834
+ " 0%| | 0/100 [00:00<?, ?it/s]"
835
  ]
836
  },
837
  "metadata": {},
 
840
  {
841
  "data": {
842
  "application/vnd.jupyter.widget-view+json": {
843
+ "model_id": "33f102b456ba432f8d2fc0aff2c835ef",
844
  "version_major": 2,
845
  "version_minor": 0
846
  },
847
  "text/plain": [
848
+ " 0%| | 0/100 [00:00<?, ?it/s]"
849
  ]
850
  },
851
  "metadata": {},
 
854
  {
855
  "data": {
856
  "application/vnd.jupyter.widget-view+json": {
857
+ "model_id": "14baff112df54367905c1650b8e8936a",
858
  "version_major": 2,
859
  "version_minor": 0
860
  },
861
  "text/plain": [
862
+ " 0%| | 0/100 [00:00<?, ?it/s]"
863
  ]
864
  },
865
  "metadata": {},
 
868
  {
869
  "data": {
870
  "application/vnd.jupyter.widget-view+json": {
871
+ "model_id": "cadc0d6348f743c39d866c6e2bd933c0",
872
  "version_major": 2,
873
  "version_minor": 0
874
  },
875
  "text/plain": [
876
+ " 0%| | 0/100 [00:00<?, ?it/s]"
877
  ]
878
  },
879
  "metadata": {},
 
882
  {
883
  "data": {
884
  "application/vnd.jupyter.widget-view+json": {
885
+ "model_id": "fa5216c49dbb4b6d86222165c04bdc82",
886
  "version_major": 2,
887
  "version_minor": 0
888
  },
889
  "text/plain": [
890
+ " 0%| | 0/100 [00:00<?, ?it/s]"
891
  ]
892
  },
893
  "metadata": {},
 
896
  {
897
  "data": {
898
  "application/vnd.jupyter.widget-view+json": {
899
+ "model_id": "2b8098f2826a4c36b0379a6db7e8a3cf",
900
  "version_major": 2,
901
  "version_minor": 0
902
  },
903
  "text/plain": [
904
+ " 0%| | 0/100 [00:00<?, ?it/s]"
905
  ]
906
  },
907
  "metadata": {},
 
910
  {
911
  "data": {
912
  "application/vnd.jupyter.widget-view+json": {
913
+ "model_id": "66afeea89e8343f0b23e2e16ed53824a",
914
  "version_major": 2,
915
  "version_minor": 0
916
  },
917
  "text/plain": [
918
+ " 0%| | 0/100 [00:00<?, ?it/s]"
919
  ]
920
  },
921
  "metadata": {},
 
924
  {
925
  "data": {
926
  "application/vnd.jupyter.widget-view+json": {
927
+ "model_id": "e927c234e312458f8f5a90c2c8037515",
928
  "version_major": 2,
929
  "version_minor": 0
930
  },
931
  "text/plain": [
932
+ " 0%| | 0/100 [00:00<?, ?it/s]"
933
  ]
934
  },
935
  "metadata": {},
 
938
  {
939
  "data": {
940
  "application/vnd.jupyter.widget-view+json": {
941
+ "model_id": "27917b8d625c40cfa4040a704c912d1d",
942
  "version_major": 2,
943
  "version_minor": 0
944
  },
945
  "text/plain": [
946
+ " 0%| | 0/100 [00:00<?, ?it/s]"
947
  ]
948
  },
949
  "metadata": {},
 
952
  {
953
  "data": {
954
  "application/vnd.jupyter.widget-view+json": {
955
+ "model_id": "87c9e518f4604fafabe20e79c1c55da2",
956
  "version_major": 2,
957
  "version_minor": 0
958
  },
959
  "text/plain": [
960
+ " 0%| | 0/100 [00:00<?, ?it/s]"
961
  ]
962
  },
963
  "metadata": {},
 
966
  {
967
  "data": {
968
  "application/vnd.jupyter.widget-view+json": {
969
+ "model_id": "88affae0951f433ebe0ea0976e98358d",
970
  "version_major": 2,
971
  "version_minor": 0
972
  },
973
  "text/plain": [
974
+ " 0%| | 0/100 [00:00<?, ?it/s]"
975
  ]
976
  },
977
  "metadata": {},
 
980
  {
981
  "data": {
982
  "application/vnd.jupyter.widget-view+json": {
983
+ "model_id": "400bfcd1fea94067b06afb47408a4b0a",
984
  "version_major": 2,
985
  "version_minor": 0
986
  },
987
  "text/plain": [
988
+ " 0%| | 0/100 [00:00<?, ?it/s]"
989
  ]
990
  },
991
  "metadata": {},
 
994
  {
995
  "data": {
996
  "application/vnd.jupyter.widget-view+json": {
997
+ "model_id": "80c18ea4fb4f42aabb7b13c44e4e4ad6",
998
  "version_major": 2,
999
  "version_minor": 0
1000
  },
1001
  "text/plain": [
1002
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1003
  ]
1004
  },
1005
  "metadata": {},
 
1008
  {
1009
  "data": {
1010
  "application/vnd.jupyter.widget-view+json": {
1011
+ "model_id": "276810f258834fd2bc842ba4eaa90919",
1012
  "version_major": 2,
1013
  "version_minor": 0
1014
  },
1015
  "text/plain": [
1016
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1017
  ]
1018
  },
1019
  "metadata": {},
 
1022
  {
1023
  "data": {
1024
  "application/vnd.jupyter.widget-view+json": {
1025
+ "model_id": "ff346b75aced4a86876729fc89011894",
1026
  "version_major": 2,
1027
  "version_minor": 0
1028
  },
1029
  "text/plain": [
1030
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1031
  ]
1032
  },
1033
  "metadata": {},
 
1036
  {
1037
  "data": {
1038
  "application/vnd.jupyter.widget-view+json": {
1039
+ "model_id": "bdac0a472b7b42a49585d86910d0d5c0",
1040
  "version_major": 2,
1041
  "version_minor": 0
1042
  },
1043
  "text/plain": [
1044
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1045
  ]
1046
  },
1047
  "metadata": {},
 
1050
  {
1051
  "data": {
1052
  "application/vnd.jupyter.widget-view+json": {
1053
+ "model_id": "4339b5b8a7404965a06140a53e705937",
1054
  "version_major": 2,
1055
  "version_minor": 0
1056
  },
1057
  "text/plain": [
1058
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1059
  ]
1060
  },
1061
  "metadata": {},
 
1064
  {
1065
  "data": {
1066
  "application/vnd.jupyter.widget-view+json": {
1067
+ "model_id": "be80960e91844e72bee0958dd66a129f",
1068
  "version_major": 2,
1069
  "version_minor": 0
1070
  },
1071
  "text/plain": [
1072
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1073
  ]
1074
  },
1075
  "metadata": {},
 
1078
  {
1079
  "data": {
1080
  "application/vnd.jupyter.widget-view+json": {
1081
+ "model_id": "decf9ba7e48643a8a2231ef41d739331",
1082
  "version_major": 2,
1083
  "version_minor": 0
1084
  },
1085
  "text/plain": [
1086
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1087
  ]
1088
  },
1089
  "metadata": {},
 
1092
  {
1093
  "data": {
1094
  "application/vnd.jupyter.widget-view+json": {
1095
+ "model_id": "4890152cdd7f4a8d94d29b2fea5c2d59",
1096
  "version_major": 2,
1097
  "version_minor": 0
1098
  },
1099
  "text/plain": [
1100
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1101
  ]
1102
  },
1103
  "metadata": {},
 
1106
  {
1107
  "data": {
1108
  "application/vnd.jupyter.widget-view+json": {
1109
+ "model_id": "f004da39d4ff49f5a90098f0bc0568a7",
1110
  "version_major": 2,
1111
  "version_minor": 0
1112
  },
1113
  "text/plain": [
1114
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1115
  ]
1116
  },
1117
  "metadata": {},
 
1120
  {
1121
  "data": {
1122
  "application/vnd.jupyter.widget-view+json": {
1123
+ "model_id": "7c50fe95d26b48dab44797c66242f666",
1124
  "version_major": 2,
1125
  "version_minor": 0
1126
  },
1127
  "text/plain": [
1128
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1129
  ]
1130
  },
1131
  "metadata": {},
 
1134
  {
1135
  "data": {
1136
  "application/vnd.jupyter.widget-view+json": {
1137
+ "model_id": "280299f0f7b94483bb88cce5f659d6ad",
1138
  "version_major": 2,
1139
  "version_minor": 0
1140
  },
1141
  "text/plain": [
1142
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1143
  ]
1144
  },
1145
  "metadata": {},
 
1148
  {
1149
  "data": {
1150
  "application/vnd.jupyter.widget-view+json": {
1151
+ "model_id": "18a2c92fe5954b48b17b286bb45ab845",
1152
  "version_major": 2,
1153
  "version_minor": 0
1154
  },
1155
  "text/plain": [
1156
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1157
  ]
1158
  },
1159
  "metadata": {},
 
1162
  {
1163
  "data": {
1164
  "application/vnd.jupyter.widget-view+json": {
1165
+ "model_id": "825c8957956f4f0a8c25b967015e113a",
1166
  "version_major": 2,
1167
  "version_minor": 0
1168
  },
1169
  "text/plain": [
1170
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1171
  ]
1172
  },
1173
  "metadata": {},
 
1176
  {
1177
  "data": {
1178
  "application/vnd.jupyter.widget-view+json": {
1179
+ "model_id": "503a4bcabd714820bfbf705078db422a",
1180
  "version_major": 2,
1181
  "version_minor": 0
1182
  },
1183
  "text/plain": [
1184
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1185
  ]
1186
  },
1187
  "metadata": {},
 
1190
  {
1191
  "data": {
1192
  "application/vnd.jupyter.widget-view+json": {
1193
+ "model_id": "ed04ab8b9bd54ff092ca89c478a7e681",
1194
  "version_major": 2,
1195
  "version_minor": 0
1196
  },
1197
  "text/plain": [
1198
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1199
  ]
1200
  },
1201
  "metadata": {},
 
1204
  {
1205
  "data": {
1206
  "application/vnd.jupyter.widget-view+json": {
1207
+ "model_id": "0fa61bc1ac594a5180a56fe21dd0d3a5",
1208
  "version_major": 2,
1209
  "version_minor": 0
1210
  },
1211
  "text/plain": [
1212
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1213
  ]
1214
  },
1215
  "metadata": {},
 
1218
  {
1219
  "data": {
1220
  "application/vnd.jupyter.widget-view+json": {
1221
+ "model_id": "6d60e361bb274a09a0739ee6780c7dc7",
1222
  "version_major": 2,
1223
  "version_minor": 0
1224
  },
1225
  "text/plain": [
1226
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1227
  ]
1228
  },
1229
  "metadata": {},
 
1232
  {
1233
  "data": {
1234
  "application/vnd.jupyter.widget-view+json": {
1235
+ "model_id": "3172f8d978c54e68ac51e6eec23ae9cb",
1236
  "version_major": 2,
1237
  "version_minor": 0
1238
  },
1239
  "text/plain": [
1240
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1241
  ]
1242
  },
1243
  "metadata": {},
 
1246
  {
1247
  "data": {
1248
  "application/vnd.jupyter.widget-view+json": {
1249
+ "model_id": "acf9dabf57df402088d659c85164155a",
1250
  "version_major": 2,
1251
  "version_minor": 0
1252
  },
1253
  "text/plain": [
1254
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1255
  ]
1256
  },
1257
  "metadata": {},
 
1260
  {
1261
  "data": {
1262
  "application/vnd.jupyter.widget-view+json": {
1263
+ "model_id": "f1281bf575364662a9ee843a2336b94a",
1264
  "version_major": 2,
1265
  "version_minor": 0
1266
  },
1267
  "text/plain": [
1268
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1269
  ]
1270
  },
1271
  "metadata": {},
 
1274
  {
1275
  "data": {
1276
  "application/vnd.jupyter.widget-view+json": {
1277
+ "model_id": "5f3c79aad7644ae4916d8a2bc73c3b76",
1278
  "version_major": 2,
1279
  "version_minor": 0
1280
  },
1281
  "text/plain": [
1282
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1283
  ]
1284
  },
1285
  "metadata": {},
 
1288
  {
1289
  "data": {
1290
  "application/vnd.jupyter.widget-view+json": {
1291
+ "model_id": "bd4b87c28e024b58a2a8c8abdca92a75",
1292
  "version_major": 2,
1293
  "version_minor": 0
1294
  },
1295
  "text/plain": [
1296
+ " 0%| | 0/100 [00:00<?, ?it/s]"
1297
  ]
1298
  },
1299
  "metadata": {},
 
1387
  }
1388
  ],
1389
  "source": [
1390
+ "# ll -lth outputs"
1391
  ]
1392
  },
1393
  {
 
1842
  ],
1843
  "source": [
1844
  "if __name__ == \"__main__\":\n",
1845
+ " # num_image_list = [1600,3200,6400,12800,25600]\n",
1846
+ " num_image_list = [200]\n",
1847
  " # num_image_list = [3200,6400,12800,25600]\n",
1848
  " # args = (config, nn_model, ddpm, optimizer, dataloader, lr_scheduler)\n",
1849
+ " repeat = 2\n",
1850
  " config = TrainConfig()\n",
1851
  " for i, num_image in enumerate(num_image_list):\n",
1852
  " config.num_image = num_image\n",
 
1854
  "\n",
1855
  " ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor([4.4, 131.341]), repeat=repeat)\n",
1856
  "\n",
1857
+ " # ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor((5.6, 19.037)), repeat=repeat)\n",
1858
  "\n",
1859
+ " # ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor((4.699, 30)), repeat=repeat)\n",
1860
  "\n",
1861
+ " # ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor((5.477, 200)), repeat=repeat)\n",
1862
  "\n",
1863
+ " # ddpm21cm.sample(f\"./outputs/model_state-N{num_image}\", params=torch.tensor((4.8, 131.341)), repeat=repeat)"
1864
  ]
1865
  },
1866
  {