yandexdataschool / Practical_RL

A course in reinforcement learning in the wild
The Unlicense
5.92k stars 1.7k forks source link

Support gym 0.26 in week6 seminar #519

Closed q0o0p closed 1 year ago

q0o0p commented 1 year ago

There are changes in gym API between 0.25 and 0.26 These changes break backward compatibility. Also there are some changes with video recording in gym 0.23 or so.

In this commit we updated the code of week6 seminar to use gym 0.26

What is changed:

Originally I wanted to add if-else instructions everywhere to support all versions of gym, but the notebook become messy, so let's support just 0.26 and higher.

Note: didn't test in Colab, only locally

review-notebook-app[bot] commented 1 year ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

anna-vb commented 1 year ago

Upd: tested in Colab, works fine too