pushing model
Browse files- .gitattributes +4 -0
- README.md +2 -2
- events.out.tfevents.1700813944.4090-171.1715549.0 → events.out.tfevents.1704457900.4090-171.131845.0 +1 -1
- ppo_fix_continuous_action.py +1 -1
- replay.mp4 +0 -0
- videos/Walker2d-v4__ppo_fix_continuous_action__1__1700813937-eval/rl-video-episode-8.mp4 +0 -0
- videos/{Walker2d-v4__ppo_fix_continuous_action__1__1700813937-eval → Walker2d-v4__ppo_fix_continuous_action__1__1704457892-eval}/rl-video-episode-0.mp4 +2 -2
- videos/{Walker2d-v4__ppo_fix_continuous_action__1__1700813937-eval → Walker2d-v4__ppo_fix_continuous_action__1__1704457892-eval}/rl-video-episode-1.mp4 +2 -2
- videos/Walker2d-v4__ppo_fix_continuous_action__1__1704457892-eval/rl-video-episode-8.mp4 +3 -0
.gitattributes
CHANGED
|
@@ -35,3 +35,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
videos/Walker2d-v4__ppo_fix_continuous_action__1__1700813937-eval/rl-video-episode-1.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 37 |
videos/Walker2d-v4__ppo_fix_continuous_action__1__1700813937-eval/rl-video-episode-0.mp4 filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
videos/Walker2d-v4__ppo_fix_continuous_action__1__1700813937-eval/rl-video-episode-1.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 37 |
videos/Walker2d-v4__ppo_fix_continuous_action__1__1700813937-eval/rl-video-episode-0.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
videos/Walker2d-v4__ppo_fix_continuous_action__1__1704457892-eval/rl-video-episode-8.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
videos/Walker2d-v4__ppo_fix_continuous_action__1__1704457892-eval/rl-video-episode-1.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
videos/Walker2d-v4__ppo_fix_continuous_action__1__1704457892-eval/rl-video-episode-0.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
replay.mp4 filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -16,7 +16,7 @@ model-index:
|
|
| 16 |
type: Walker2d-v4
|
| 17 |
metrics:
|
| 18 |
- type: mean_reward
|
| 19 |
-
value:
|
| 20 |
name: mean_reward
|
| 21 |
verified: false
|
| 22 |
---
|
|
@@ -46,7 +46,7 @@ curl -OL https://huggingface.co/sdpkjc/Walker2d-v4-ppo_fix_continuous_action-see
|
|
| 46 |
curl -OL https://huggingface.co/sdpkjc/Walker2d-v4-ppo_fix_continuous_action-seed1/raw/main/pyproject.toml
|
| 47 |
curl -OL https://huggingface.co/sdpkjc/Walker2d-v4-ppo_fix_continuous_action-seed1/raw/main/poetry.lock
|
| 48 |
poetry install --all-extras
|
| 49 |
-
python ppo_fix_continuous_action.py --save-model --hf-entity sdpkjc --
|
| 50 |
```
|
| 51 |
|
| 52 |
# Hyperparameters
|
|
|
|
| 16 |
type: Walker2d-v4
|
| 17 |
metrics:
|
| 18 |
- type: mean_reward
|
| 19 |
+
value: 3572.02 +/- 949.89
|
| 20 |
name: mean_reward
|
| 21 |
verified: false
|
| 22 |
---
|
|
|
|
| 46 |
curl -OL https://huggingface.co/sdpkjc/Walker2d-v4-ppo_fix_continuous_action-seed1/raw/main/pyproject.toml
|
| 47 |
curl -OL https://huggingface.co/sdpkjc/Walker2d-v4-ppo_fix_continuous_action-seed1/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 Walker2d-v4 --seed 1 --track
|
| 50 |
```
|
| 51 |
|
| 52 |
# Hyperparameters
|
events.out.tfevents.1700813944.4090-171.1715549.0 → events.out.tfevents.1704457900.4090-171.131845.0
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 603119
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6470277b8c9aebfb03fedad4fd81f03774143cf8098d2d287357402ba3c8b0ff
|
| 3 |
size 603119
|
ppo_fix_continuous_action.py
CHANGED
|
@@ -430,7 +430,7 @@ if __name__ == "__main__":
|
|
| 430 |
|
| 431 |
# https://github.com/DLR-RM/stable-baselines3/pull/658
|
| 432 |
for idx, trunc in enumerate(truncations):
|
| 433 |
-
if trunc:
|
| 434 |
real_next_obs = infos["final_observation"][idx]
|
| 435 |
with torch.no_grad():
|
| 436 |
terminal_value = agent.get_value(torch.Tensor(real_next_obs).to(device)).reshape(1, -1)[0][0]
|
|
|
|
| 430 |
|
| 431 |
# https://github.com/DLR-RM/stable-baselines3/pull/658
|
| 432 |
for idx, trunc in enumerate(truncations):
|
| 433 |
+
if trunc and not terminations[idx]:
|
| 434 |
real_next_obs = infos["final_observation"][idx]
|
| 435 |
with torch.no_grad():
|
| 436 |
terminal_value = agent.get_value(torch.Tensor(real_next_obs).to(device)).reshape(1, -1)[0][0]
|
replay.mp4
CHANGED
|
Binary files a/replay.mp4 and b/replay.mp4 differ
|
|
|
videos/Walker2d-v4__ppo_fix_continuous_action__1__1700813937-eval/rl-video-episode-8.mp4
DELETED
|
Binary file (928 kB)
|
|
|
videos/{Walker2d-v4__ppo_fix_continuous_action__1__1700813937-eval → Walker2d-v4__ppo_fix_continuous_action__1__1704457892-eval}/rl-video-episode-0.mp4
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:355f07400d066816cb4a50465e37667bfed83aa39b3bcf61ed85d9cd988d32d4
|
| 3 |
+
size 1361422
|
videos/{Walker2d-v4__ppo_fix_continuous_action__1__1700813937-eval → Walker2d-v4__ppo_fix_continuous_action__1__1704457892-eval}/rl-video-episode-1.mp4
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:833c5f935b64f591e21299d3a2a585df61775af9acc326e3859dcce5860b552f
|
| 3 |
+
size 1348943
|
videos/Walker2d-v4__ppo_fix_continuous_action__1__1704457892-eval/rl-video-episode-8.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e18eca4f5295d9e5060dec1c1681bece565b9df365cedb7ebc4998bea06ae9b
|
| 3 |
+
size 1353396
|