Skip to content

Commit 4166dfe

Browse files
committed
update
1 parent 6d28dc4 commit 4166dfe

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

competition/track2/submission/policy.py

-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ def act(self, obs: Dict[str, Any]):
7272
for agent_id, agent_obs in obs.items():
7373
action = self.model.predict(np.array([np.moveaxis(agent_obs["rgb"], -1, 0)]))[0]
7474

75-
print(action)
7675
target_pose = global_target_pose(action, agent_obs)
7776
wrapped_act.update({agent_id: target_pose})
7877
return wrapped_act

competition/track2/submission/utility.py

-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ def get_goal_layer(goal_x, goal_y, cur_x, cur_y, cur_heading):
202202
def global_target_pose(action, agent_obs):
203203
if abs(action[2]) < 0.002:
204204
action[2] = 0
205-
# breakpoint()
206205
cur_x = agent_obs["ego"]["pos"][0]
207206
cur_y = agent_obs["ego"]["pos"][1]
208207
cur_heading = agent_obs["ego"]["heading"]

0 commit comments

Comments
 (0)