PWhiddy / PokemonRedExperiments

Playing Pokemon Red with Reinforcement Learning
MIT License
7k stars 645 forks source link

Coord out of bounds #164

Open Scheronimus opened 10 months ago

Scheronimus commented 10 months ago

After 15+ h of learning with the model v2, I often get the warn that the coord are out of bound:

coord out of bounds! global: (497, 111) game: (7, 137, 34) coord out of bounds! global: (497, 112) game: (8, 137, 34) coord out of bounds! global: (498, 112) game: (8, 138, 34) coord out of bounds! global: (498, 111) game: (7, 138, 34) coord out of bounds! global: (497, 111) game: (7, 137, 34) coord out of bounds! global: (497, 112) game: (8, 137, 34) coord out of bounds! global: (498, 112) game: (8, 138, 34) coord out of bounds! global: (499, 112) game: (8, 139, 34) coord out of bounds! global: (499, 113) game: (9, 139, 34) coord out of bounds! global: (499, 113) game: (9, 139, 34) coord out of bounds! global: (499, 113) game: (9, 139, 34) coord out of bounds! global: (499, 113) game: (9, 139, 34) coord out of bounds! global: (499, 112) game: (8, 139, 34) coord out of bounds! global: (498, 112) game: (8, 138, 34) coord out of bounds! global: (499, 112) game: (8, 139, 34) coord out of bounds! global: (412, 32) game: (8, 139, 193) coord out of bounds! global: (499, 112) game: (8, 139, 34) coord out of bounds! global: (499, 112) game: (8, 139, 34) coord out of bounds! global: (498, 112) game: (8, 138, 34) coord out of bounds! global: (498, 113) game: (9, 138, 34) coord out of bounds! global: (499, 113) game: (9, 139, 34) coord out of bounds! global: (498, 113) game: (9, 138, 34) coord out of bounds! global: (499, 113) game: (9, 139, 34) coord out of bounds! global: (499, 112) game: (8, 139, 34)

Currently it doesn't seems to impact the learning process, but a lot of warning is printed in the console.

PWhiddy commented 10 months ago

This means the map location is not in code's list of known locations (probably the victory road). This list can be updated, or you can suppress or ignore these warnings.