Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ def infer(model, replay_file,
|
|
| 64 |
goal_diff = serialized_scoreboards[:, SB_BLUE_SCORE] - serialized_scoreboards[:, SB_ORANGE_SCORE]
|
| 65 |
goal_diff_diff = goal_diff.diff(prepend=torch.Tensor([0]))
|
| 66 |
|
| 67 |
-
bs =
|
| 68 |
predictions = []
|
| 69 |
it = trange(len(serialized_states), desc="Running model")
|
| 70 |
for i in range(0, len(serialized_states), bs):
|
|
|
|
| 64 |
goal_diff = serialized_scoreboards[:, SB_BLUE_SCORE] - serialized_scoreboards[:, SB_ORANGE_SCORE]
|
| 65 |
goal_diff_diff = goal_diff.diff(prepend=torch.Tensor([0]))
|
| 66 |
|
| 67 |
+
bs = 900
|
| 68 |
predictions = []
|
| 69 |
it = trange(len(serialized_states), desc="Running model")
|
| 70 |
for i in range(0, len(serialized_states), bs):
|