sdpkjc commited on
Commit
11badf2
1 Parent(s): e580407

pushing model

Browse files
README.md CHANGED
@@ -16,7 +16,7 @@ model-index:
16
  type: Swimmer-v4
17
  metrics:
18
  - type: mean_reward
19
- value: 105.46 +/- 3.12
20
  name: mean_reward
21
  verified: false
22
  ---
@@ -46,7 +46,7 @@ curl -OL https://huggingface.co/sdpkjc/Swimmer-v4-ppo_fix_continuous_action-seed
46
  curl -OL https://huggingface.co/sdpkjc/Swimmer-v4-ppo_fix_continuous_action-seed5/raw/main/pyproject.toml
47
  curl -OL https://huggingface.co/sdpkjc/Swimmer-v4-ppo_fix_continuous_action-seed5/raw/main/poetry.lock
48
  poetry install --all-extras
49
- python ppo_fix_continuous_action.py --save-model --upload-model --hf-entity sdpkjc --env-id Swimmer-v4 --seed 5 --track
50
  ```
51
 
52
  # Hyperparameters
@@ -56,7 +56,7 @@ python ppo_fix_continuous_action.py --save-model --upload-model --hf-entity sdpk
56
  'capture_video': False,
57
  'clip_coef': 0.2,
58
  'clip_vloss': True,
59
- 'cuda': True,
60
  'ent_coef': 0.0,
61
  'env_id': 'Swimmer-v4',
62
  'exp_name': 'ppo_fix_continuous_action',
 
16
  type: Swimmer-v4
17
  metrics:
18
  - type: mean_reward
19
+ value: 77.44 +/- 2.78
20
  name: mean_reward
21
  verified: false
22
  ---
 
46
  curl -OL https://huggingface.co/sdpkjc/Swimmer-v4-ppo_fix_continuous_action-seed5/raw/main/pyproject.toml
47
  curl -OL https://huggingface.co/sdpkjc/Swimmer-v4-ppo_fix_continuous_action-seed5/raw/main/poetry.lock
48
  poetry install --all-extras
49
+ python ppo_fix_continuous_action.py --save-model --upload-model --hf-entity sdpkjc --env-id Swimmer-v4 --seed 5 --track --cuda False
50
  ```
51
 
52
  # Hyperparameters
 
56
  'capture_video': False,
57
  'clip_coef': 0.2,
58
  'clip_vloss': True,
59
+ 'cuda': False,
60
  'ent_coef': 0.0,
61
  'env_id': 'Swimmer-v4',
62
  'exp_name': 'ppo_fix_continuous_action',
events.out.tfevents.1704457861.4090-171.131299.0 → events.out.tfevents.1705723465.4090-171.2555519.0 RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5f46290dde322c60d133baf1894b5fe48c5322de3289e1a64bd319976460c811
3
- size 376390
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4175d2c14a00c0477ce120627fbe7ac3352b5377e268a7db8dbcd5f71a912478
3
+ size 376391
ppo_fix_continuous_action.cleanrl_model CHANGED
Binary files a/ppo_fix_continuous_action.cleanrl_model and b/ppo_fix_continuous_action.cleanrl_model differ
 
ppo_fix_continuous_action.py CHANGED
@@ -198,7 +198,7 @@ class NormalizeReward(gym.core.Wrapper, gym.utils.RecordConstructorArgs):
198
  return obs, rews, terminateds, truncateds, infos
199
 
200
  def reset(self, **kwargs):
201
- self.returns = np.zeros(self.num_envs)
202
  return self.env.reset(**kwargs)
203
 
204
  def normalize(self, rews):
 
198
  return obs, rews, terminateds, truncateds, infos
199
 
200
  def reset(self, **kwargs):
201
+ # self.returns = np.zeros(self.num_envs)
202
  return self.env.reset(**kwargs)
203
 
204
  def normalize(self, rews):
replay.mp4 CHANGED
Binary files a/replay.mp4 and b/replay.mp4 differ
 
videos/Swimmer-v4__ppo_fix_continuous_action__5__1704457852-eval/rl-video-episode-0.mp4 DELETED
Binary file (835 kB)
 
videos/Swimmer-v4__ppo_fix_continuous_action__5__1704457852-eval/rl-video-episode-1.mp4 DELETED
Binary file (842 kB)
 
videos/Swimmer-v4__ppo_fix_continuous_action__5__1704457852-eval/rl-video-episode-8.mp4 DELETED
Binary file (837 kB)
 
videos/Swimmer-v4__ppo_fix_continuous_action__5__1705723446-eval/rl-video-episode-0.mp4 ADDED
Binary file (735 kB). View file
 
videos/Swimmer-v4__ppo_fix_continuous_action__5__1705723446-eval/rl-video-episode-1.mp4 ADDED
Binary file (715 kB). View file
 
videos/Swimmer-v4__ppo_fix_continuous_action__5__1705723446-eval/rl-video-episode-8.mp4 ADDED
Binary file (731 kB). View file