lev1 commited on
Commit
38b1e20
1 Parent(s): ff9dd1f

Update t2v_enhanced/model/video_ldm.py

Browse files
Files changed (1) hide show
  1. t2v_enhanced/model/video_ldm.py +3 -2
t2v_enhanced/model/video_ldm.py CHANGED
@@ -214,7 +214,8 @@ class VideoLDM(pl.LightningModule):
214
 
215
  inference_params: pl_module_params_controlnet.InferenceParams = self.inference_params
216
  conditioning_type = inference_params.conditioning_type
217
- n_autoregressive_generations = inference_params.n_autoregressive_generations
 
218
  mode = inference_params.mode
219
  start_from_real_input = inference_params.start_from_real_input
220
  assert isinstance(prompts, list)
@@ -302,7 +303,7 @@ class VideoLDM(pl.LightningModule):
302
 
303
  def forward(self, prompt, input_frames=None, input_frames_conditioning=None, latents=None):
304
  call_params = self.inference_params.to_dict()
305
- print(f"INFERENCE PARAMS = {call_params}")
306
  call_params["prompt"] = prompt
307
 
308
  call_params["image"] = input_frames
 
214
 
215
  inference_params: pl_module_params_controlnet.InferenceParams = self.inference_params
216
  conditioning_type = inference_params.conditioning_type
217
+ # n_autoregressive_generations = inference_params.n_autoregressive_generations
218
+ n_autoregressive_generations = cfg["n_autoregressive_generations"]
219
  mode = inference_params.mode
220
  start_from_real_input = inference_params.start_from_real_input
221
  assert isinstance(prompts, list)
 
303
 
304
  def forward(self, prompt, input_frames=None, input_frames_conditioning=None, latents=None):
305
  call_params = self.inference_params.to_dict()
306
+ # print(f"INFERENCE PARAMS = {call_params}")
307
  call_params["prompt"] = prompt
308
 
309
  call_params["image"] = input_frames