Reinforcement Learning
stable-baselines3
SpaceInvadersNoFrameskip-v4
deep-reinforcement-learning
Eval Results (legacy)
Instructions to use seynath/SpaceInvadersNoFrameskip-v4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- stable-baselines3
How to use seynath/SpaceInvadersNoFrameskip-v4 with stable-baselines3:
from huggingface_sb3 import load_from_hub checkpoint = load_from_hub( repo_id="seynath/SpaceInvadersNoFrameskip-v4", filename="{MODEL FILENAME}.zip", ) - Notebooks
- Google Colab
- Kaggle
| from abc import ABC, abstractmethod | |
| class Callback(ABC): | |
| def __init__(self) -> None: | |
| super().__init__() | |
| self.timesteps_elapsed = 0 | |
| def on_step(self, timesteps_elapsed: int = 1) -> bool: | |
| self.timesteps_elapsed += timesteps_elapsed | |
| return True |