ZeyuXie commited on
Commit
7346990
1 Parent(s): f342085

Update pico_model.py

Browse files
Files changed (1) hide show
  1. pico_model.py +1 -2
pico_model.py CHANGED
@@ -179,8 +179,7 @@ class ClapText_Onset_2_Audio_Diffusion(nn.Module):
179
  num_warmup_steps = len(timesteps) - num_steps * inference_scheduler.order
180
  progress_bar = tqdm(range(num_steps), disable=disable_progress)
181
 
182
- for i, t in enumerate(timesteps):
183
- print(i)
184
  # expand the latents if we are doing classifier free guidance
185
  latent_model_input = torch.cat([onset_latents] * 2) if classifier_free_guidance else onset_latents
186
  latent_model_input = inference_scheduler.scale_model_input(latent_model_input, t)
 
179
  num_warmup_steps = len(timesteps) - num_steps * inference_scheduler.order
180
  progress_bar = tqdm(range(num_steps), disable=disable_progress)
181
 
182
+ for i, t in tqdm(enumerate(timesteps)):
 
183
  # expand the latents if we are doing classifier free guidance
184
  latent_model_input = torch.cat([onset_latents] * 2) if classifier_free_guidance else onset_latents
185
  latent_model_input = inference_scheduler.scale_model_input(latent_model_input, t)