mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-30 01:50:19 +00:00
Change end-of-episode in CarRacing to termination as opposed to truncation (#813)
This commit is contained in:
committed by
GitHub
parent
1a92702f17
commit
c9e2957435
@@ -54,7 +54,7 @@ def test_carracing_domain_randomize():
|
||||
CarRacing DomainRandomize should have different colours at every reset.
|
||||
However, it should have same colours when `options={"randomize": False}` is given to reset.
|
||||
"""
|
||||
env: CarRacing = gym.make("CarRacing-v2", domain_randomize=True).unwrapped
|
||||
env: CarRacing = gym.make("CarRacing-v3", domain_randomize=True).unwrapped
|
||||
|
||||
road_color = env.road_color
|
||||
bg_color = env.bg_color
|
||||
|
Reference in New Issue
Block a user