Skip to content

Commit

Permalink
backwards logic
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguy11325 committed Dec 7, 2024
1 parent 5801c11 commit 26d1406
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pokemonred_puffer/policies/multi_convolutional.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,9 @@ def encode_observations(self, observations):
)
+ (() if self.skip_safari_zone else (observations["safari_steps"].float() / 502.0,))
+ (
()
(self.global_map_network(global_map.float() / 255.0).squeeze(1),)
if self.use_global_map
else (self.global_map_network(global_map.float() / 255.0).squeeze(1),)
else ()
),
dim=-1,
)
Expand Down

0 comments on commit 26d1406

Please sign in to comment.