dmcontrol-generalization-benchmark icon indicating copy to clipboard operation
dmcontrol-generalization-benchmark copied to clipboard

Question about video background

Open xuai05 opened this issue 3 years ago • 3 comments

When I run the program with the video_easy or video_hard command, the saved video file has a green background instead of the video background. I want to ask how to solve this problem.

xuai05 avatar Sep 13 '22 02:09 xuai05

When I run the program with the video_easy or video_hard command, the saved video file has a green background instead of the video background. I want to ask how to solve this problem.

Hi @xuai05. I am facing the same issue. Were you able to resolve this?

darshitajain avatar Nov 04 '22 04:11 darshitajain

Hi, how do you save videos? The video background is applied here as post-processing: https://github.com/nicklashansen/dmcontrol-generalization-benchmark/blob/ee658ceb449b884812149b922035197be8e28c87/src/video.py#L30, although I would need to double-check that this functionality has not been broken due to changes in dependencies etc.

nicklashansen avatar Dec 22 '22 16:12 nicklashansen

I also noticed this problem. I fix this bug by replacing https://github.com/nicklashansen/dmcontrol-generalization-benchmark/blob/ee658ceb449b884812149b922035197be8e28c87/src/train.py#L25 with video.record(env, args.eval_mode) .

shenbiachao avatar Apr 22 '23 07:04 shenbiachao