parabellum 0.3.4__py3-none-any.whl → 0.4.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.
parabellum/env.py
CHANGED
@@ -223,20 +223,21 @@ class Environment(SMAX):
|
|
223
223
|
# def step_env(self, rng, state: State, action: Array): # type: ignore
|
224
224
|
# obs, state, rewards, dones, infos = super().step_env(rng, state, action)
|
225
225
|
# delete world_state from obs
|
226
|
-
<<<<<<< HEAD
|
226
|
+
# <<<<<<< HEAD
|
227
227
|
# obs.pop("world_state")
|
228
228
|
# if not self.reset_when_done:
|
229
229
|
# for key in dones.keys():
|
230
230
|
# dones[key] = False
|
231
231
|
# return obs, state, rewards, dones, infos
|
232
|
-
=======
|
232
|
+
# =======
|
233
233
|
obs.pop("world_state")
|
234
234
|
if not self.reset_when_done:
|
235
235
|
for key in dones.keys():
|
236
236
|
infos[key] = dones[key]
|
237
237
|
dones[key] = False
|
238
238
|
return obs, state, rewards, dones, infos
|
239
|
-
|
239
|
+
|
240
|
+
# >>>>>>> aeb13033e57083cc512a60f8f60a3db47a65ac32
|
240
241
|
|
241
242
|
def get_obs_unit_list(self, state: State) -> Dict[str, chex.Array]: # type: ignore
|
242
243
|
"""Applies observation function to state."""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
parabellum/__init__.py,sha256=hIOLir7wgaf_HU4j8uos7PaCrofqPQcr3FcMlBsZyr8,406
|
2
2
|
parabellum/aid.py,sha256=BPabjN4BUq1HRhkwbc9pCNsXSF_ALiG8W8cHWTWeEH4,900
|
3
|
-
parabellum/env.py,sha256=
|
3
|
+
parabellum/env.py,sha256=2FDOI90IuoOTFV5DhLLWWMpuaj4mcwoPup24KK-duYI,22907
|
4
4
|
parabellum/geo.py,sha256=PJs9UevibuokDVb3oJWNHvYHlMYGCxB5OkNSbDj48vI,6198
|
5
5
|
parabellum/gun.py,sha256=nvsJdcZ2Qd6lbPlAgsUiaLhstTi1UdLQ8kOnbCenucY,2618
|
6
6
|
parabellum/pcg.py,sha256=d8KC_lbc4WUUUPaTdPJSx27VMGioys3jSGOWJ-2EahU,968
|
@@ -8,6 +8,6 @@ parabellum/run.py,sha256=Q53__AxzROZNgfZLVU5LDdcT61UMCkmQ_Q5wWUIrnqo,3473
|
|
8
8
|
parabellum/terrain_db.py,sha256=5lHzbX94lzkb--cETpraXS42G4T4tKekISpTm4yaYEE,4748
|
9
9
|
parabellum/tps.py,sha256=of-RBdelAbNCHQZd1I22RWmZkwUEh6f161mx0X_G2tE,257
|
10
10
|
parabellum/vis.py,sha256=ABHveJj0fLRWkxOv3LFIXK20QtdGhjskuFLsp7iTFu0,6185
|
11
|
-
parabellum-0.
|
12
|
-
parabellum-0.
|
13
|
-
parabellum-0.
|
11
|
+
parabellum-0.4.0.dist-info/METADATA,sha256=GrTOPfKE1HHK2R3RR7gpYgLBFzSIgOgDTpt7h3zFlCM,2707
|
12
|
+
parabellum-0.4.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
13
|
+
parabellum-0.4.0.dist-info/RECORD,,
|