0725-1147
Browse files- context_unet.py +1 -1
- diffusion.py +2 -2
- quantify_results.ipynb +0 -0
context_unet.py
CHANGED
|
@@ -330,7 +330,7 @@ class ContextUnet(nn.Module):
|
|
| 330 |
elif image_size == 128:
|
| 331 |
channel_mult = (1, 1, 2, 3, 4)
|
| 332 |
elif image_size == 64:
|
| 333 |
-
channel_mult = (
|
| 334 |
elif image_size == 32:
|
| 335 |
channel_mult = (1, 2, 2, 4)
|
| 336 |
elif image_size == 28:
|
|
|
|
| 330 |
elif image_size == 128:
|
| 331 |
channel_mult = (1, 1, 2, 3, 4)
|
| 332 |
elif image_size == 64:
|
| 333 |
+
channel_mult = (2,2,4,4,4)#(1, 2, 4)#(2,4,4,4,8)#(1, 2, 2, 4, 4)#(1, 2, 2, 4, 8)#(1, 1, 2, 2, 4, 4)#(1, 2, 4, 8, 16)#(1, 2, 3, 4)#(1, 2, 4, 6, 8)#(1, 2, 2, 4)#(1, 2, 8, 8, 8)#(1, 2, 4)#(1, 2, 2, 4)#(0.5,1,2,2,4,4)#(1, 1, 2, 2, 4, 4)#
|
| 334 |
elif image_size == 32:
|
| 335 |
channel_mult = (1, 2, 2, 4)
|
| 336 |
elif image_size == 28:
|
diffusion.py
CHANGED
|
@@ -241,8 +241,8 @@ class TrainConfig:
|
|
| 241 |
dim = 2
|
| 242 |
stride = (2,4) if dim == 2 else (2,2,2)
|
| 243 |
num_image = 1000#2000#20000#15000#7000#25600#3000#10000#1000#10000#5000#2560#800#2560
|
| 244 |
-
batch_size =
|
| 245 |
-
n_epoch = 100#50#100#30#120#5#4# 10#50#20#20#2#5#25 # 120
|
| 246 |
HII_DIM = 64
|
| 247 |
num_redshift = 512#64#512#64#256CUDAoom#128#64#512#128#64#512#256#256#64#512#128
|
| 248 |
channel = 1
|
|
|
|
| 241 |
dim = 2
|
| 242 |
stride = (2,4) if dim == 2 else (2,2,2)
|
| 243 |
num_image = 1000#2000#20000#15000#7000#25600#3000#10000#1000#10000#5000#2560#800#2560
|
| 244 |
+
batch_size = 10#50#20#50#1#2#50#20#2#100 # 10
|
| 245 |
+
n_epoch = 50#100#50#100#30#120#5#4# 10#50#20#20#2#5#25 # 120
|
| 246 |
HII_DIM = 64
|
| 247 |
num_redshift = 512#64#512#64#256CUDAoom#128#64#512#128#64#512#256#256#64#512#128
|
| 248 |
channel = 1
|
quantify_results.ipynb
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|