File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Top Open diff view settings Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Top Open diff view settings Original file line number Diff line number Diff line change @@ -346,12 +346,11 @@ def __init__(
346346 dim ,
347347 dim_out ,
348348 kernel_size = 3 ,
349- temporal_kernel_size = None ,
350- groups = 8
349+ temporal_kernel_size = None
351350 ):
352351 super ().__init__ ()
353352 self .project = PseudoConv3d (dim , dim_out , 3 )
354- self .norm = nn . GroupNorm ( groups , dim_out )
353+ self .norm = RMSNorm ( dim_out )
355354 self .act = nn .SiLU ()
356355
357356 def forward (
@@ -376,7 +375,6 @@ def __init__(
376375 dim_out ,
377376 * ,
378377 timestep_cond_dim = None ,
379- groups = 8
380378 ):
381379 super ().__init__ ()
382380
@@ -388,8 +386,8 @@ def __init__(
388386 nn .Linear (timestep_cond_dim , dim_out * 2 )
389387 )
390388
391- self .block1 = Block (dim , dim_out , groups = groups )
392- self .block2 = Block (dim_out , dim_out , groups = groups )
389+ self .block1 = Block (dim , dim_out )
390+ self .block2 = Block (dim_out , dim_out )
393391 self .res_conv = PseudoConv3d (dim , dim_out , 1 ) if dim != dim_out else nn .Identity ()
394392
395393 def forward (
Original file line number Diff line number Diff line change 33setup (
44 name = 'make-a-video-pytorch' ,
55 packages = find_packages (exclude = []),
6- version = '0.3.1 ' ,
6+ version = '0.4.0 ' ,
77 license = 'MIT' ,
88 description = 'Make-A-Video - Pytorch' ,
99 author = 'Phil Wang' ,
You can’t perform that action at this time.
0 commit comments