rlworkgroup/garage

Add option to Evaluator for recording videos

Open

#1,862 建立於 2020年8月6日

在 GitHub 查看
 (1 留言) (1 反應) (0 負責人)Python (1,728 star) (297 fork)batch import
featuregood first issue

描述

This is definitely a nice to have -- It'd be nice if as a part of snapshots, we could have the option to record the policy being rolled out deterministically for a few rollouts, so that we can watch its behavior in our various environments. I haven't had much success using the out of the box tool that open ai gym provides for this, called the gym Monitor wrapper. It requires that all environments internally return a Done signal after max_path_length steps. Perhaps we can get around this by wrapping environments with the open ai gymtimelimit wrapper.

Alternatively someone could look at the stable baselines vec video recorder wrapper. It seems that they have some type of video recorder, however it doesn't work out of the box with garage since stable baselines has pinned versions of TF and other libraries necessary to garage.

貢獻者指南

Add option to Evaluator for recording videos · rlworkgroup/garage#1862 | Good First Issue