-
Notifications
You must be signed in to change notification settings - Fork 8.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecating the Monitor
in favor of RecordEpisodeStatistics
and RecordVideo
#2297
Comments
If folks are happy with this proposal, I am happy to prepare PRs. This issue is also related to #2279 |
Monitor
in favor of RecordEpisodeStatistics
and VideoRecorder
Monitor
in favor of RecordEpisodeStatistics
and RecordVideo
How do you feel about this PR @tristandeleu? Would love to get your thoughts! |
It's been a while since I've last used The big issue with making To add to what that comment said, one thing that could be a bottleneck is the transfer of images rendered in individual environments with multiprocessing in |
Hey, I just sat down to look at this and your PR in detail: -I am in favor of making the breaking change here; please create PRs for all of this if you're willing to |
Kicking off a discussion thread here. Currently, the
Monitor
has two features: recording videos via the video_recorder.py and recording stats via the stats_recorder.pyIssues
Monitor
is setup, it can't be easily applied to vectorized env directly.Monitor
also has some legacy stuff such asmode (['evaluation', 'training'])
and an info to usegym.upload
. I am also not sure how to use theresume
argument.Potential resolution
I feel the
Monitor
class is doing too many things at once, and it will be a good idea to deprecating theMonitor
in favor ofRecordEpisodeStatistics
and a newly-createdVideoRecorder
.RecordEpisodeStatistics
. We can add the stats saving functionality toRecordEpisodeStatistics
if desired.The text was updated successfully, but these errors were encountered: