@@ -48,7 +48,7 @@ class EncoderConfig:
48
48
width_list : tuple [int , ...] = (128 , 256 , 512 , 512 , 1024 , 1024 )
49
49
depth_list : tuple [int , ...] = (2 , 2 , 2 , 2 , 2 , 2 )
50
50
block_type : Any = "ResBlock"
51
- norm : str = "trms2d "
51
+ norm : str = "rms2d "
52
52
act : str = "silu"
53
53
downsample_block_type : str = "ConvPixelUnshuffle"
54
54
downsample_match_channel : bool = True
@@ -67,12 +67,12 @@ class DecoderConfig:
67
67
width_list : tuple [int , ...] = (128 , 256 , 512 , 512 , 1024 , 1024 )
68
68
depth_list : tuple [int , ...] = (2 , 2 , 2 , 2 , 2 , 2 )
69
69
block_type : Any = "ResBlock"
70
- norm : Any = "trms2d "
70
+ norm : Any = "rms2d "
71
71
act : Any = "silu"
72
72
upsample_block_type : str = "ConvPixelShuffle"
73
73
upsample_match_channel : bool = True
74
74
upsample_shortcut : str = "duplicating"
75
- out_norm : str = "trms2d "
75
+ out_norm : str = "rms2d "
76
76
out_act : str = "relu"
77
77
78
78
@@ -470,7 +470,7 @@ def dc_ae_f32c32(name: str, pretrained_path: str) -> DCAEConfig:
470
470
"decoder.block_type=[ResBlock,ResBlock,ResBlock,EViTS5_GLU,EViTS5_GLU,EViTS5_GLU] "
471
471
"decoder.width_list=[128,256,512,512,1024,1024] decoder.depth_list=[3,3,3,3,3,3] "
472
472
"decoder.upsample_block_type=InterpolateConv "
473
- "decoder.norm=trms2d decoder.act=silu "
473
+ "decoder.norm=rms2d decoder.act=silu "
474
474
"scaling_factor=0.41407"
475
475
)
476
476
else :
0 commit comments