continual-foragax 0.10.2__py3-none-any.whl → 0.10.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: continual-foragax
3
- Version: 0.10.2
3
+ Version: 0.10.3
4
4
  Summary: A continual reinforcement learning benchmark
5
5
  Author-email: Steven Tang <stang5@ualberta.ca>
6
6
  Requires-Python: >=3.8
@@ -1,6 +1,6 @@
1
1
  foragax/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  foragax/colors.py,sha256=rqNPiywP4Nvr0POhsGpasRk-nMMTS3DOwFRUgperlUk,2065
3
- foragax/env.py,sha256=Oo0jlvDXZTzV92yKJ08krRRg5yD1wSsvuIvxUrzMxu4,18748
3
+ foragax/env.py,sha256=EyWJ67GLCJl2Re8s4AoVRGXbccgOGn0J_XxuuWJaGrE,18702
4
4
  foragax/objects.py,sha256=CyBxrykTxpHCI_2hE9jE8mG4TU8R7VxzKdQ5mtxkEqU,6004
5
5
  foragax/registry.py,sha256=7_RDXvm_3RNO7culBLGkE0jH8Wk_q6jbMv72dZx4JO8,2722
6
6
  foragax/rendering.py,sha256=bms7wvBZTofoR-K-2QD2Ggeed7Viw8uwAEiEpEM3eSo,2768
@@ -128,8 +128,8 @@ foragax/data/ECA_non-blended_custom/TG_SOUID156887.txt,sha256=juzTPgJoJxfqmZkorL
128
128
  foragax/data/ECA_non-blended_custom/elements.txt,sha256=OtcUBoDAHxuln79BPKGu0tsQxG_5G2BfAX3Ck130kEA,4507
129
129
  foragax/data/ECA_non-blended_custom/metadata.txt,sha256=nudnmOCy5cPJfSXt_IjyX0S5-T7NkCZREICZSimqeqc,48260
130
130
  foragax/data/ECA_non-blended_custom/sources.txt,sha256=1j3lSmINAoCMqPqFrHfZJriOz6sTYZNOhXzUwvTLas0,20857
131
- continual_foragax-0.10.2.dist-info/METADATA,sha256=fpB7XhrzvckiVovAFHYB3GUWdRKr2DhiUTRCLS815A4,4897
132
- continual_foragax-0.10.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
133
- continual_foragax-0.10.2.dist-info/entry_points.txt,sha256=Qiu6iE_XudrDO_bVAMeA435h4PO9ourt8huvSHiuMPc,41
134
- continual_foragax-0.10.2.dist-info/top_level.txt,sha256=-z3SDK6RfLIcLI24n8rdbeFzlVY3hunChzlu-v1Fncs,8
135
- continual_foragax-0.10.2.dist-info/RECORD,,
131
+ continual_foragax-0.10.3.dist-info/METADATA,sha256=km5hYBXYDVBJ5a6VhUN1Fjb92QHEQvjG-eThHhlPp84,4897
132
+ continual_foragax-0.10.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
133
+ continual_foragax-0.10.3.dist-info/entry_points.txt,sha256=Qiu6iE_XudrDO_bVAMeA435h4PO9ourt8huvSHiuMPc,41
134
+ continual_foragax-0.10.3.dist-info/top_level.txt,sha256=-z3SDK6RfLIcLI24n8rdbeFzlVY3hunChzlu-v1Fncs,8
135
+ continual_foragax-0.10.3.dist-info/RECORD,,
foragax/env.py CHANGED
@@ -19,9 +19,9 @@ from foragax.weather import get_temperature
19
19
 
20
20
 
21
21
  class Actions(IntEnum):
22
- UP = 0
22
+ DOWN = 0
23
23
  RIGHT = 1
24
- DOWN = 2
24
+ UP = 2
25
25
  LEFT = 3
26
26
 
27
27
 
@@ -434,7 +434,6 @@ class ForagaxObjectEnv(ForagaxEnv):
434
434
  # Decode grid for observation
435
435
  obs_grid = jnp.maximum(0, state.object_grid)
436
436
  aperture = self._get_aperture(obs_grid, state.pos)
437
- aperture = jnp.flip(aperture, axis=0)
438
437
 
439
438
  # Handle case with no objects (only EMPTY)
440
439
  if self.num_color_channels == 0: