Open turbotimon opened 2 months ago
package:env_id
is the first thing I tried, but unfortunately it does not work yet (v2.3.0)...
ENV_NAME = 'gym_environment:gym_environment/GridWorld-v0' # My custom environment
# Works
from gymnasium import make_vec
env = make_vec(ENV_NAME)
# ValueError: gym_environment:gym_environment/GridWorld-v0 not found in gym registry ....
import sys
from rl_zoo3.train import train
sys.argv = ["python", "--algo", "ppo", "--env", ENV_NAME]
train()
(You could try using this template for custom env)
Description
improve doc adding "--gym-packages" argument
source: https://github.com/DLR-RM/rl-baselines3-zoo/blob/e06914e9835b8f3233b18d59943b1464b89ddb90/rl_zoo3/train.py#L107-L112
Motivation and Context
Types of changes
Checklist: