Skip to content
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

[RxR-Habitat] How to export a robot navigation video based on a baseline #53

Open
2201957 opened this issue Sep 15, 2023 · 4 comments
Open

Comments

@2201957
Copy link

2201957 commented Sep 15, 2023

demo
example2
Could you provide me with the code in the image above "Generate a video of a robot navigating with natural language guidance based on baseline"?

@jacobkrantz
Copy link
Owner

You can use config options to generate a video during evaluation:

_C.VIDEO_OPTION = [] # options: "disk", "tensorboard"
_C.VIDEO_DIR = "data/videos/debug"

If you want to update the way in which frames are produced, you can modify/replace the functions in https://github.com/jacobkrantz/VLN-CE/blob/master/habitat_extensions/utils.py

Custom elements in the above videos (arrows, additional text) were added using opencv utilities.

@chalindunis
Copy link

chalindunis commented Nov 30, 2023

Hi @jacobkrantz what can be reason for not getting a robot navigating video even after make changes to the [default.py](vlnce_baselines/config/default.py) as follows:

_C.VIDEO_OPTION = ["disk"]  # options: "disk", "tensorboard" 
 _C.VIDEO_DIR = "data/videos/debug" 

Do we need to make any others changes?
One more question, what's the difference between using 'disk' and 'tensorboard' and how can they be accessed?

@chalindunis
Copy link

Hi @jacobkrantz what can be reason for not getting a robot navigating video even after make changes to the [default.py](vlnce_baselines/config/default.py) as follows:

_C.VIDEO_OPTION = ["disk"]  # options: "disk", "tensorboard" 
 _C.VIDEO_DIR = "data/videos/debug" 

Do we need to make any others changes? One more question, what's the difference between using 'disk' and 'tensorboard' and how can they be accessed?

Solved it. Thank you!

@MyShepherd666hzb
Copy link

嗨,即使在更改 [default.py](vlnce_baselines/config/default.py) 后仍无法获取机器人导航视频的原因是什么:

_C.VIDEO_OPTION = ["disk"]  # options: "disk", "tensorboard" 
 _C.VIDEO_DIR = "data/videos/debug" 

我们是否需要进行任何其他更改?还有一个问题,使用“disk”和“tensorboard”有什么区别,如何访问它们?

解决了它。谢谢!

How did you solve this problem, and what changes are still needed? I really want to reproduce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants