Skip to content

Commit

Permalink
sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
kngwyu committed Dec 15, 2023
1 parent d581cf7 commit 672442e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions smoke-tests/circle_ppo.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ def train(
minibatch_size: int = 128,
n_rollout_steps: int = 1024,
n_total_steps: int = 1024 * 1000,
n_sensors: int = 16,
sensor_length: float = 100.0,
food_loc_fn: str = "gaussian",
env_shape: str = "circle",
reset_interval: Optional[int] = None,
Expand Down Expand Up @@ -259,6 +261,8 @@ def train(
angular_damping=angular_damping,
max_force=max_force,
min_force=min_force,
n_agent_sensors=n_sensors,
sensor_length=sensor_length,
)
network = run_training(
jax.random.PRNGKey(seed),
Expand Down

0 comments on commit 672442e

Please sign in to comment.