Skip to content

Commit

Permalink
fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguy11325 committed Aug 12, 2024
1 parent 1c92052 commit 89b2582
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pokemonred_puffer/policies/multi_convolutional.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,13 @@ def encode_observations(self, observations):
dim=-1,
)
if self.skip_safari_zone:
cat_obs = torch.cat((cat_obs, observations["safari_steps"].float()), dim=-1)
cat_obs = torch.cat(
(
cat_obs,
observations["safari_steps"].float() / 502.0,
),
dim=-1,
)
if self.use_global_map:
cat_obs = torch.cat(
(
Expand Down

0 comments on commit 89b2582

Please sign in to comment.