You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We just launched gymnasium, a fork of Gym by the maintainers of Gym for the past 18 months where all maintenance and improvements will happen moving forward. Could you please move this over to the new repo?
If you'd like to read more about the story behind the backstory behind this and our plans going forward, click here.
Question
Hi all,
I am now using the CarRacing-v2 to train my RL algorithm.
when I make the environment by:
I found that I could NOT finish an episode because of truncation correctly
so I view the code of truncation condition as belowed(line552 and 556):
the
new_lap
will turn into True only on the line 95-97:I printed the
new_lap
and found that it was always False.I solved this problem by deleting
tile.idx == 0 and
, and I want to know whether there are some better idea.If someone is interested my issue, you can download and unzip my file and run
python test_truncation.py
.test_truncation.zip
The text was updated successfully, but these errors were encountered: