VLN-CE
VLN-CE copied to clipboard
how to render a random episode?
Hi, Jacobkrantz ~ How do you render the 'gif' performed in the readme file? I want to see what the agents was doing closely for each action within the reconstructed scenes for a random episode. Can you give me some suggestions? Thank you~
You can save videos during agent evaluation using VIDEO_OPTION
and VIDEO_DIR
in your experiment config. Example:
...
VIDEO_OPTION: [disk]
VIDEO_DIR: videos
...
https://github.com/jacobkrantz/VLN-CE/blob/5ce28a9471ad86a41aac2cf709374e3d24ccae84/vlnce_baselines/config/default.py#L19 If you want to customize what the video frames show, you can look into the function that generates a single frame: https://github.com/jacobkrantz/VLN-CE/blob/5ce28a9471ad86a41aac2cf709374e3d24ccae84/habitat_extensions/utils.py#L11