Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- reinforcement-learning
|
| 5 |
+
- robotics
|
| 6 |
+
- ppo
|
| 7 |
+
- navigation
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# JhonDOE Robot Models
|
| 11 |
+
|
| 12 |
+
Trained models for the JhonDOE humanoid robot project.
|
| 13 |
+
|
| 14 |
+
## Models
|
| 15 |
+
|
| 16 |
+
### Navigate 2D (Phase 1)
|
| 17 |
+
- **Task**: 2D navigation with obstacle avoidance
|
| 18 |
+
- **Algorithm**: PPO (Proximal Policy Optimization)
|
| 19 |
+
- **Input**: Position, velocity, orientation, target, 8 proximity sensors (13D)
|
| 20 |
+
- **Output**: Forward velocity, angular velocity (2D continuous)
|
| 21 |
+
- **Training**: 1M timesteps, ~30-60 minutes on T4 GPU
|
| 22 |
+
- **Success Rate**: ~90%+
|
| 23 |
+
|
| 24 |
+
Models uploaded automatically from: https://huggingface.co/spaces/DanielDel89/JhonDOE
|
| 25 |
+
|
| 26 |
+
## Usage
|
| 27 |
+
|
| 28 |
+
Download models using the hub manager:
|
| 29 |
+
|
| 30 |
+
```bash
|
| 31 |
+
cd execution
|
| 32 |
+
python model_hub.py --mode download --repo DanielDel89/jhondoe-models --model navigate_2d_v01.zip
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
Or use in Python:
|
| 36 |
+
|
| 37 |
+
```python
|
| 38 |
+
from stable_baselines3 import PPO
|
| 39 |
+
|
| 40 |
+
# Load model
|
| 41 |
+
model = PPO.load("navigate_2d_v01.zip")
|
| 42 |
+
|
| 43 |
+
# Use for inference
|
| 44 |
+
obs = env.reset()
|
| 45 |
+
action, _ = model.predict(obs)
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
## Project Links
|
| 49 |
+
|
| 50 |
+
- **Training Space**: https://huggingface.co/spaces/DanielDel89/JhonDOE
|
| 51 |
+
- **Documentation**: See training Space for full architecture details
|
| 52 |
+
|
| 53 |
+
## Training Pipeline
|
| 54 |
+
|
| 55 |
+
1. Configure training in Space (timesteps, parallel envs, etc.)
|
| 56 |
+
2. Start training with GPU (T4 recommended)
|
| 57 |
+
3. Model auto-uploads to this repository
|
| 58 |
+
4. Download and evaluate locally
|
| 59 |
+
|
| 60 |
+
## Model Versions
|
| 61 |
+
|
| 62 |
+
Models are versioned with timestamps and tracked here. Latest versions are always recommended.
|