da03 commited on
Commit
03af1a4
·
1 Parent(s): 5ce8300
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -113,7 +113,7 @@ def prepare_model_inputs(
113
 
114
  if hidden_states is not None:
115
  inputs['hidden_states'] = hidden_states
116
- DEBUG_MODE = False
117
  if DEBUG_MODE:
118
  print ('DEBUG MODE, REMOVING INPUTS')
119
  if 'hidden_states' in inputs:
@@ -143,7 +143,7 @@ def _process_frame_sync(model, inputs):
143
 
144
  # UNet sampling
145
  start = time.perf_counter()
146
- use_rnn = True
147
  print (f"use_rnn: {use_rnn}")
148
  if use_rnn:
149
  sample_latent = output_from_rnn[:, :16]
 
113
 
114
  if hidden_states is not None:
115
  inputs['hidden_states'] = hidden_states
116
+ DEBUG_MODE = True
117
  if DEBUG_MODE:
118
  print ('DEBUG MODE, REMOVING INPUTS')
119
  if 'hidden_states' in inputs:
 
143
 
144
  # UNet sampling
145
  start = time.perf_counter()
146
+ use_rnn = False
147
  print (f"use_rnn: {use_rnn}")
148
  if use_rnn:
149
  sample_latent = output_from_rnn[:, :16]