continual-foragax 0.23.0__py3-none-any.whl → 0.24.0__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.24.0.dist-info}/METADATA +1 -1
- {continual_foragax-0.23.0.dist-info → continual_foragax-0.24.0.dist-info}/RECORD +7 -7
- foragax/env.py +1 -2
- foragax/registry.py +42 -0
- {continual_foragax-0.23.0.dist-info → continual_foragax-0.24.0.dist-info}/WHEEL +0 -0
- {continual_foragax-0.23.0.dist-info → continual_foragax-0.24.0.dist-info}/entry_points.txt +0 -0
- {continual_foragax-0.23.0.dist-info → continual_foragax-0.24.0.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
|
|
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
|
-
foragax/registry.py,sha256=
|
5
|
+
foragax/registry.py,sha256=ipSATULldQ_CaRkSPo-eLM0aeE4NykrgQW9BIl7dhJU,12485
|
6
6
|
foragax/rendering.py,sha256=bms7wvBZTofoR-K-2QD2Ggeed7Viw8uwAEiEpEM3eSo,2768
|
7
7
|
foragax/weather.py,sha256=KNAiwuFz8V__6G75vZIWQKPocLzXqxXn-Vt4TbHIpcA,1258
|
8
8
|
foragax/data/ECA_non-blended_custom/TG_SOUID100897.txt,sha256=N7URbX6VlCZvCboUogYjMzy1I-0cfNPOn0QTLSHHfQ0,1776751
|
@@ -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.
|
132
|
-
continual_foragax-0.
|
133
|
-
continual_foragax-0.
|
134
|
-
continual_foragax-0.
|
135
|
-
continual_foragax-0.
|
131
|
+
continual_foragax-0.24.0.dist-info/METADATA,sha256=y6JvGDkjP2rTV4ERx-t6rrFEBK8BD2S07LhzOmMGOtc,4897
|
132
|
+
continual_foragax-0.24.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
133
|
+
continual_foragax-0.24.0.dist-info/entry_points.txt,sha256=Qiu6iE_XudrDO_bVAMeA435h4PO9ourt8huvSHiuMPc,41
|
134
|
+
continual_foragax-0.24.0.dist-info/top_level.txt,sha256=-z3SDK6RfLIcLI24n8rdbeFzlVY3hunChzlu-v1Fncs,8
|
135
|
+
continual_foragax-0.24.0.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,
|
foragax/registry.py
CHANGED
@@ -219,6 +219,45 @@ ENV_CONFIGS: Dict[str, Dict[str, Any]] = {
|
|
219
219
|
"nowrap": True,
|
220
220
|
"deterministic_spawn": True,
|
221
221
|
},
|
222
|
+
"ForagaxTwoBiome-v13": {
|
223
|
+
"size": None,
|
224
|
+
"aperture_size": None,
|
225
|
+
"objects": (
|
226
|
+
BROWN_MOREL_UNIFORM_RANDOM,
|
227
|
+
BROWN_OYSTER_UNIFORM_RANDOM,
|
228
|
+
GREEN_DEATHCAP_UNIFORM_RANDOM,
|
229
|
+
GREEN_FAKE_UNIFORM_RANDOM,
|
230
|
+
),
|
231
|
+
"biomes": None,
|
232
|
+
"nowrap": False,
|
233
|
+
"deterministic_spawn": True,
|
234
|
+
},
|
235
|
+
"ForagaxTwoBiome-v14": {
|
236
|
+
"size": None,
|
237
|
+
"aperture_size": None,
|
238
|
+
"objects": (
|
239
|
+
BROWN_MOREL_UNIFORM,
|
240
|
+
BROWN_OYSTER_UNIFORM,
|
241
|
+
GREEN_DEATHCAP_UNIFORM,
|
242
|
+
GREEN_FAKE_UNIFORM,
|
243
|
+
),
|
244
|
+
"biomes": None,
|
245
|
+
"nowrap": False,
|
246
|
+
"deterministic_spawn": True,
|
247
|
+
},
|
248
|
+
"ForagaxTwoBiome-v15": {
|
249
|
+
"size": None,
|
250
|
+
"aperture_size": None,
|
251
|
+
"objects": (
|
252
|
+
BROWN_MOREL_UNIFORM,
|
253
|
+
BROWN_OYSTER_UNIFORM,
|
254
|
+
GREEN_DEATHCAP_UNIFORM,
|
255
|
+
GREEN_FAKE_UNIFORM,
|
256
|
+
),
|
257
|
+
"biomes": None,
|
258
|
+
"nowrap": True,
|
259
|
+
"deterministic_spawn": True,
|
260
|
+
},
|
222
261
|
"ForagaxTwoBiomeSmall-v1": {
|
223
262
|
"size": (16, 8),
|
224
263
|
"aperture_size": None,
|
@@ -294,6 +333,9 @@ def make(
|
|
294
333
|
"ForagaxTwoBiome-v8",
|
295
334
|
"ForagaxTwoBiome-v9",
|
296
335
|
"ForagaxTwoBiome-v10",
|
336
|
+
"ForagaxTwoBiome-v13",
|
337
|
+
"ForagaxTwoBiome-v14",
|
338
|
+
"ForagaxTwoBiome-v15",
|
297
339
|
):
|
298
340
|
margin = aperture_size[1] // 2 + 1
|
299
341
|
width = 2 * margin + 9
|
File without changes
|
File without changes
|
File without changes
|