gym-examples 3.0.180__py3-none-any.whl → 3.0.181__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.
- gym_examples/__init__.py +1 -1
- gym_examples/envs/wsn_env.py +1 -1
- {gym_examples-3.0.180.dist-info → gym_examples-3.0.181.dist-info}/METADATA +1 -1
- gym_examples-3.0.181.dist-info/RECORD +7 -0
- gym_examples-3.0.180.dist-info/RECORD +0 -7
- {gym_examples-3.0.180.dist-info → gym_examples-3.0.181.dist-info}/WHEEL +0 -0
- {gym_examples-3.0.180.dist-info → gym_examples-3.0.181.dist-info}/top_level.txt +0 -0
gym_examples/__init__.py
CHANGED
gym_examples/envs/wsn_env.py
CHANGED
@@ -212,7 +212,7 @@ class WSNRoutingEnv(gym.Env):
|
|
212
212
|
if os.getenv('PRINT_STATS') == 'True': # We are trying to extract only the statistics for the PPO algorithm
|
213
213
|
self.number_of_steps += 1
|
214
214
|
self.episode_return += rewards
|
215
|
-
if self.number_of_steps >= num_timesteps:
|
215
|
+
if self.number_of_steps >= args.num_timesteps:
|
216
216
|
self.episode_returns.append(self.episode_return)
|
217
217
|
self.episode_std_remaining_energy.append(np.std(self.remaining_energy))
|
218
218
|
self.episode_mean_remaining_energy.append(np.mean(self.remaining_energy))
|
@@ -0,0 +1,7 @@
|
|
1
|
+
gym_examples/__init__.py,sha256=iQVGN4xf7aVsGStExIGCellet65qyWdATF9mMBZUd38,194
|
2
|
+
gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
|
3
|
+
gym_examples/envs/wsn_env.py,sha256=xPQBioLxNacHCoD9C1r6q5kyT0SUsGKQ4QIunrLsJfY,25665
|
4
|
+
gym_examples-3.0.181.dist-info/METADATA,sha256=OP7sQV_EnNvX-bokFyrnW_YPblQcblvOv9DyfDY841Y,412
|
5
|
+
gym_examples-3.0.181.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
6
|
+
gym_examples-3.0.181.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
|
7
|
+
gym_examples-3.0.181.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
gym_examples/__init__.py,sha256=u596NUGuugLKs4xG38CdXc1ChDTjdSFE4qwRq07dSco,194
|
2
|
-
gym_examples/envs/__init__.py,sha256=lgMe4pyOuUTgTBUddM0iwMlETsYTwFShny6ifm8PGM8,53
|
3
|
-
gym_examples/envs/wsn_env.py,sha256=xXwNW7X-pFQT0T_vJwI7WIkoAhUhtmz7nTEokL9d30Q,25660
|
4
|
-
gym_examples-3.0.180.dist-info/METADATA,sha256=esLOv32LCP3zP5pOa-zczAQTsz0ZSha7VqVAL0pcsNg,412
|
5
|
-
gym_examples-3.0.180.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
6
|
-
gym_examples-3.0.180.dist-info/top_level.txt,sha256=rJRksoAF32M6lTLBEwYzRdo4PgtejceaNnnZ3HeY_Rk,13
|
7
|
-
gym_examples-3.0.180.dist-info/RECORD,,
|
File without changes
|
File without changes
|