parabellum 0.2.22__py3-none-any.whl → 0.2.23__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.
parabellum/env.py
CHANGED
@@ -129,8 +129,8 @@ class Environment(SMAX):
|
|
129
129
|
# obs["world_state"] = jax.lax.stop_gradient(world_state)
|
130
130
|
return obs, state
|
131
131
|
|
132
|
-
def step_env(self, state: State, action: Array):
|
133
|
-
obs, state, rewards, dones, infos = super().step_env(state, action)
|
132
|
+
def step_env(self, rng, state: State, action: Array):
|
133
|
+
obs, state, rewards, dones, infos = super().step_env(rng, state, action)
|
134
134
|
# delete world_state from obs
|
135
135
|
obs.pop("world_state")
|
136
136
|
return obs, state, rewards, dones, infos
|
@@ -1,10 +1,10 @@
|
|
1
1
|
parabellum/__init__.py,sha256=-5cWXJkHnfH_CbhTEall8Wak8McAFXZHP1L8Fu7Uo5k,373
|
2
2
|
parabellum/aid.py,sha256=HWST27inTFXcp8b11izJF0U7N7DZnRTIS3n1Qfa-Ko4,106
|
3
|
-
parabellum/env.py,sha256=
|
3
|
+
parabellum/env.py,sha256=2IuXipHXUJAyfrjPtDW7uINb8mY4G3-xQ_lhReMGqLs,16985
|
4
4
|
parabellum/gun.py,sha256=nvsJdcZ2Qd6lbPlAgsUiaLhstTi1UdLQ8kOnbCenucY,2618
|
5
5
|
parabellum/map.py,sha256=EUcPe4Upu9MQzS8h15IVPGCaAyRPLSkmoLd5ZT-V4Pk,2599
|
6
6
|
parabellum/run.py,sha256=EO_F7VPwayatpSHrcbSahtinsV4QObhcx0jo-4KZO1E,3472
|
7
7
|
parabellum/vis.py,sha256=uXTnhJL23JLQHW9by-M4bF73dSVA5TIkpNdfo_Go2Ro,6045
|
8
|
-
parabellum-0.2.
|
9
|
-
parabellum-0.2.
|
10
|
-
parabellum-0.2.
|
8
|
+
parabellum-0.2.23.dist-info/METADATA,sha256=qwEcFJksQ54_MNpMj8Zq1EC2qDgltEC9u9ivZFxZ0Eg,2671
|
9
|
+
parabellum-0.2.23.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
10
|
+
parabellum-0.2.23.dist-info/RECORD,,
|
File without changes
|