da03 commited on
Commit
e98e8e4
·
1 Parent(s): 78ea6a8
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -22,7 +22,7 @@ torch.backends.cudnn.allow_tf32 = True
22
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
23
 
24
 
25
- DEBUG_MODE = True
26
 
27
  SCREEN_WIDTH = 512
28
  SCREEN_HEIGHT = 384
@@ -146,7 +146,7 @@ def _process_frame_sync(model, inputs):
146
 
147
  # UNet sampling
148
  start = time.perf_counter()
149
- use_rnn = False
150
  print (f"use_rnn: {use_rnn}")
151
  if use_rnn:
152
  sample_latent = output_from_rnn[:, :16]
 
22
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
23
 
24
 
25
+ DEBUG_MODE = False
26
 
27
  SCREEN_WIDTH = 512
28
  SCREEN_HEIGHT = 384
 
146
 
147
  # UNet sampling
148
  start = time.perf_counter()
149
+ use_rnn = True
150
  print (f"use_rnn: {use_rnn}")
151
  if use_rnn:
152
  sample_latent = output_from_rnn[:, :16]