Skip to content

Commit

Permalink
Increase map embeddings size
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguy11325 committed Aug 30, 2024
1 parent e9e0c15 commit 8e2f8bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pokemonred_puffer/policies/multi_convolutional.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def __init__(

# pokemon has 0xF7 map ids
# Lets start with 4 dims for now. Could try 8
self.map_embeddings = nn.Embedding(0xF7, 4, dtype=torch.float32)
self.map_embeddings = nn.Embedding(0xFF, 4, dtype=torch.float32)
# N.B. This is an overestimate
item_count = max(Items._value2member_map_.keys())
self.item_embeddings = nn.Embedding(
Expand Down

0 comments on commit 8e2f8bf

Please sign in to comment.