Reinforcement Learning
ml-agents
TensorBoard
ONNX
ML-Agents-Pyramids
ppo
deep-rl-course
Eval Results (legacy)
Instructions to use hugomnz/ppo-Pyramids with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use hugomnz/ppo-Pyramids with ml-agents:
mlagents-load-from-hf --repo-id="hugomnz/ppo-Pyramids" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Download run_training.py from hugomnz/ppo-Pyramids: direct link, hf CLI and curl.
- Browser
- Download file 315 Bytes
-
https://huggingface.co/hugomnz/ppo-Pyramids/resolve/main/run_training.py
- Command line
-
hf download hf://hugomnz/ppo-Pyramids/run_training.py
-
curl -L -o run_training.py https://huggingface.co/hugomnz/ppo-Pyramids/resolve/main/run_training.py
315 Bytes
| """ML-Agents original, con un límite explícito de hilos CPU para reproducibilidad.""" | |
| import os | |
| os.environ.setdefault('OMP_NUM_THREADS','2') | |
| os.environ.setdefault('MKL_NUM_THREADS','2') | |
| if __name__=='__main__': | |
| import torch | |
| torch.set_num_threads(2) | |
| from mlagents.trainers.learn import main | |
| main() | |