← Về thư mục
skills/stable-baselines3/scripts/custom_env_template.py
- CustomEnv · class · L17-L220 — class CustomEnv(gym.Env)
- init · method · L32-L76 — def init(self, grid_size=5, render_mode=None)
- reset · method · L78-L104 — def reset(self, seed=None, options=None)
- step · method · L106-L152 — def step(self, action)
- _get_obs · method · L154-L168 — def _get_obs(self)
- _get_info · method · L170-L183 — def _get_info(self)
- render · method · L185-L214 — def render(self)
- close · method · L216-L220 — def close(self)
- validate_environment · function · L232-L241 — def validate_environment()
- test_environment · function · L244-L272 — def test_environment()
- train_on_custom_env · function · L275-L303 — def train_on_custom_env()