Spaces:
Runtime error
Runtime error
da03
commited on
Commit
·
8abb7b6
1
Parent(s):
cdf1056
main.py
CHANGED
@@ -23,7 +23,7 @@ device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
|
23 |
|
24 |
|
25 |
DEBUG_MODE = False
|
26 |
-
DEBUG_MODE_2 =
|
27 |
NUM_MAX_FRAMES = 2
|
28 |
|
29 |
SCREEN_WIDTH = 512
|
@@ -158,7 +158,7 @@ def _process_frame_sync(model, inputs):
|
|
158 |
|
159 |
# UNet sampling
|
160 |
start = time.perf_counter()
|
161 |
-
use_rnn =
|
162 |
print (f"use_rnn: {use_rnn}")
|
163 |
if use_rnn:
|
164 |
sample_latent = output_from_rnn[:, :16]
|
|
|
23 |
|
24 |
|
25 |
DEBUG_MODE = False
|
26 |
+
DEBUG_MODE_2 = True
|
27 |
NUM_MAX_FRAMES = 2
|
28 |
|
29 |
SCREEN_WIDTH = 512
|
|
|
158 |
|
159 |
# UNet sampling
|
160 |
start = time.perf_counter()
|
161 |
+
use_rnn = False
|
162 |
print (f"use_rnn: {use_rnn}")
|
163 |
if use_rnn:
|
164 |
sample_latent = output_from_rnn[:, :16]
|