continual-foragax 0.23.0__py3-none-any.whl → 0.23.1__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.
- {continual_foragax-0.23.0.dist-info → continual_foragax-0.23.1.dist-info}/METADATA +1 -1
- {continual_foragax-0.23.0.dist-info → continual_foragax-0.23.1.dist-info}/RECORD +6 -6
- foragax/env.py +1 -2
- {continual_foragax-0.23.0.dist-info → continual_foragax-0.23.1.dist-info}/WHEEL +0 -0
- {continual_foragax-0.23.0.dist-info → continual_foragax-0.23.1.dist-info}/entry_points.txt +0 -0
- {continual_foragax-0.23.0.dist-info → continual_foragax-0.23.1.dist-info}/top_level.txt +0 -0
@@ -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=
|
3
|
+
foragax/env.py,sha256=t0tb4IiDFiC3xJLLv7s_IFOYgoyRdje1PcnEvJNcyVM,23578
|
4
4
|
foragax/objects.py,sha256=CblI0NI7PQzeKk3MZa8sbaa9wB4pc_8CyOGbJOFWytE,9391
|
5
5
|
foragax/registry.py,sha256=EbvPn2IpEMZ7HRjkAN7_JWaTJfYgjLhHkqspcT88DiY,11339
|
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.23.
|
132
|
-
continual_foragax-0.23.
|
133
|
-
continual_foragax-0.23.
|
134
|
-
continual_foragax-0.23.
|
135
|
-
continual_foragax-0.23.
|
131
|
+
continual_foragax-0.23.1.dist-info/METADATA,sha256=8r-zJyus4axTuoqGPIOKo0-cKRIIT0Phtcd3adW2kVs,4897
|
132
|
+
continual_foragax-0.23.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
133
|
+
continual_foragax-0.23.1.dist-info/entry_points.txt,sha256=Qiu6iE_XudrDO_bVAMeA435h4PO9ourt8huvSHiuMPc,41
|
134
|
+
continual_foragax-0.23.1.dist-info/top_level.txt,sha256=-z3SDK6RfLIcLI24n8rdbeFzlVY3hunChzlu-v1Fncs,8
|
135
|
+
continual_foragax-0.23.1.dist-info/RECORD,,
|
foragax/env.py
CHANGED
@@ -281,9 +281,8 @@ class ForagaxEnv(environment.Environment):
|
|
281
281
|
biome_objects = self.generate_biome_old(i, biome_key)
|
282
282
|
object_grid = jnp.where(mask, biome_objects, object_grid)
|
283
283
|
|
284
|
-
# Place agent in the center of the world
|
284
|
+
# Place agent in the center of the world
|
285
285
|
agent_pos = jnp.array([self.size[0] // 2, self.size[1] // 2])
|
286
|
-
object_grid = object_grid.at[agent_pos[1], agent_pos[0]].set(0)
|
287
286
|
|
288
287
|
state = EnvState(
|
289
288
|
pos=agent_pos,
|
File without changes
|
File without changes
|
File without changes
|