From 8e2f8bf096291e6be3f7b5941f1601197fa19d17 Mon Sep 17 00:00:00 2001 From: thatguy11325 <148832074+thatguy11325@users.noreply.github.com> Date: Fri, 30 Aug 2024 08:14:19 -0400 Subject: [PATCH] Increase map embeddings size --- pokemonred_puffer/policies/multi_convolutional.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pokemonred_puffer/policies/multi_convolutional.py b/pokemonred_puffer/policies/multi_convolutional.py index db2f693..cefe923 100644 --- a/pokemonred_puffer/policies/multi_convolutional.py +++ b/pokemonred_puffer/policies/multi_convolutional.py @@ -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(