mirror of
https://github.com/hpcaitech/Open-Sora.git
synced 2026-04-11 05:13:31 +02:00
debug
This commit is contained in:
parent
8bf4a0fa77
commit
f867ebc819
|
|
@ -30,7 +30,7 @@ model = dict(
|
|||
kl_embed_dim = 64,
|
||||
activation_fn = 'swish',
|
||||
separate_first_frame_encoding = False,
|
||||
disable_space = True,
|
||||
disable_space = False,
|
||||
custom_conv_padding = None
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ model = dict(
|
|||
kl_embed_dim = 64,
|
||||
activation_fn = 'swish',
|
||||
separate_first_frame_encoding = False,
|
||||
disable_space = True,
|
||||
custom_conv_padding = None
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -617,7 +617,7 @@ class Decoder(nn.Module):
|
|||
self.num_groups = num_groups
|
||||
|
||||
# self.upsample = upsample
|
||||
self.s_stride = 1 if self.disable_spatial_upsample else 2 # spatial stride
|
||||
self.s_stride = 1 if disable_spatial_upsample else 2 # spatial stride
|
||||
self.custom_conv_padding = custom_conv_padding
|
||||
# self.norm_type = self.config.vqvae.norm_type
|
||||
# self.num_remat_block = self.config.vqvae.get('num_dec_remat_blocks', 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue