Views
No views yet
4x4 and 8x8gridsis_slippery=True agent may not move in the desired direction due to the slippery nature of the tails.is_slippery=False agent moves in the desired direction due to the non-slippery nature of the tails.gym.make("FrozenLake-v1", desc=None, map_name="4x4", is_slippery=True, render_mode="rgb_array")desc=None specify non-predetermined maps, map_name will be used. You can also specify custom map like desc = ["SFFH", "HFHF", "FFHF", "HFFG"]. If both are None, random 8x8 map with 80% of locations frozen will be generated.1
2model = load_from_hub(repo_id="HugeFighter/q-FrozenLake-v2-4x4-Slippery", filename="q-learning.pkl")
3
4# Don't forget to check if you need to add additional attributes (is_slippery=False etc)
5env = gym.make(model["env_id"])