xizaoqu
commited on
Commit
·
65671a7
1
Parent(s):
598f088
update
Browse files
app.py
CHANGED
@@ -192,11 +192,14 @@ def run(cfg: DictConfig):
|
|
192 |
actions = parse_input_to_tensor(keys)
|
193 |
global input_history
|
194 |
global memory_curr_frame
|
|
|
|
|
|
|
195 |
for i in range(len(actions)):
|
196 |
memory_curr_frame += 1
|
197 |
new_frame = run_interactive(memory_frames[0],
|
198 |
actions[i],
|
199 |
-
|
200 |
memory_curr_frame,
|
201 |
device=device)
|
202 |
|
|
|
192 |
actions = parse_input_to_tensor(keys)
|
193 |
global input_history
|
194 |
global memory_curr_frame
|
195 |
+
|
196 |
+
print("algo frame:", len(algo.frames))
|
197 |
+
|
198 |
for i in range(len(actions)):
|
199 |
memory_curr_frame += 1
|
200 |
new_frame = run_interactive(memory_frames[0],
|
201 |
actions[i],
|
202 |
+
None,
|
203 |
memory_curr_frame,
|
204 |
device=device)
|
205 |
|