Spaces:
Running
on
Zero
Running
on
Zero
fix
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ genie = GenieSimulator(
|
|
14 |
quantize=False,
|
15 |
backbone_type='stmar',
|
16 |
backbone_ckpt='data/mar_ckpt/langtable',
|
17 |
-
prompt_horizon=
|
18 |
action_stride=1,
|
19 |
domain='language_table',
|
20 |
)
|
@@ -22,7 +22,7 @@ prompt_image = np.tile(
|
|
22 |
np.array(image), (genie.prompt_horizon, 1, 1, 1)
|
23 |
).astype(np.uint8)
|
24 |
prompt_action = np.zeros(
|
25 |
-
(genie.prompt_horizon, genie.action_stride, 2)
|
26 |
).astype(np.float32)
|
27 |
genie.set_initial_state((prompt_image, prompt_action))
|
28 |
image = genie.reset()
|
|
|
14 |
quantize=False,
|
15 |
backbone_type='stmar',
|
16 |
backbone_ckpt='data/mar_ckpt/langtable',
|
17 |
+
prompt_horizon=3,
|
18 |
action_stride=1,
|
19 |
domain='language_table',
|
20 |
)
|
|
|
22 |
np.array(image), (genie.prompt_horizon, 1, 1, 1)
|
23 |
).astype(np.uint8)
|
24 |
prompt_action = np.zeros(
|
25 |
+
(genie.prompt_horizon - 1, genie.action_stride, 2)
|
26 |
).astype(np.float32)
|
27 |
genie.set_initial_state((prompt_image, prompt_action))
|
28 |
image = genie.reset()
|