Reinforcement Learning
stable-baselines3
deep-reinforcement-learning
ppo
humanoid-v5
gymnasium
3d-simulation
three.js
Eval Results (legacy)
Instructions to use huggsook/connect-ai-Humanoid-v5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- stable-baselines3
How to use huggsook/connect-ai-Humanoid-v5 with stable-baselines3:
from huggingface_sb3 import load_from_hub checkpoint = load_from_hub( repo_id="huggsook/connect-ai-Humanoid-v5", filename="{MODEL FILENAME}.zip", ) - Notebooks
- Google Colab
- Kaggle
| """ | |
| Humanoid-v5 PPO AI Training & 3D Simulation Web Server | |
| Serves the web application locally. | |
| """ | |
| import http.server | |
| import socketserver | |
| import webbrowser | |
| import os | |
| import sys | |
| PORT = 8080 | |
| DIRECTORY = os.path.dirname(os.path.abspath(__file__)) | |
| class Handler(http.server.SimpleHTTPRequestHandler): | |
| def __init__(self, *args, **kwargs): | |
| super().__init__(*args, directory=DIRECTORY, **kwargs) | |
| def run(): | |
| socketserver.TCPServer.allow_reuse_address = True | |
| with socketserver.TCPServer(("", PORT), Handler) as httpd: | |
| url = f"http://localhost:{PORT}" | |
| print("=" * 65) | |
| print(f"๐ Humanoid-v5 PPO 3D Simulation & Visualizer Server is running!") | |
| print(f"๐ URL: {url}") | |
| print("=" * 65) | |
| print("Tip: ์น ๋ธ๋ผ์ฐ์ ์์ 'ํ์ต ์์'์ ๋๋ฅด๋ฉด 3D ํด๋จธ๋ ธ์ด๋ ์๋ฎฌ๋ ์ด์ ๊ณผ") | |
| print(" ์ค์๊ฐ ๋ณด์ ๊ณก์ , ์์ค ๊ทธ๋ํ, ๋ด๋ด ๋คํธ์ํฌ ํ์ฑํ๊ฐ ์๊ฐํ๋ฉ๋๋ค.") | |
| print(" '์์ถ ํ์ผ ์ ์ฅ (ZIP)' ๋ฒํผ์ผ๋ก ํ์ต ๊ฒฐ๊ณผ๋ฅผ ์ฆ์ ๋ค์ด๋ก๋ํ ์ ์์ต๋๋ค.") | |
| print("=" * 65) | |
| # ์๋์ผ๋ก ๋ธ๋ผ์ฐ์ ์ด๊ธฐ ์๋ | |
| try: | |
| webbrowser.open(url) | |
| except Exception: | |
| pass | |
| try: | |
| httpd.serve_forever() | |
| except KeyboardInterrupt: | |
| print("\n์๋ฒ๊ฐ ์ข ๋ฃ๋์์ต๋๋ค.") | |
| httpd.server_close() | |
| if __name__ == "__main__": | |
| run() | |