mirror of
https://github.com/hpcaitech/Open-Sora.git
synced 2026-05-21 11:59:01 +02:00
debug
This commit is contained in:
parent
a818e79134
commit
28f3f4b597
|
|
@ -237,6 +237,7 @@ def main():
|
|||
# calculate discriminator_time_padding
|
||||
disc_time_downsample_factor = 2 ** len(cfg.discriminator.channel_multipliers)
|
||||
disc_time_padding = disc_time_downsample_factor - cfg.num_frames % disc_time_downsample_factor
|
||||
video_contains_first_frame = cfg.video_contains_first_frame
|
||||
|
||||
for epoch in range(start_epoch, cfg.epochs):
|
||||
dataloader.sampler.set_epoch(epoch)
|
||||
|
|
|
|||
Loading…
Reference in a new issue