Skip to content

Upload video to wandb #84

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

svaichu
Copy link

@svaichu svaichu commented Apr 17, 2025

Uploads videos in the log directory to wandb.

Added a method to WandbSummaryWriter to check for .mp4 in log directory and upload them to wandb. This method is triggered inside the log method of runner.

I understand there is another PR in works addressing this, I was working on this for a project anyway.

Please share your feedback, thank you for your time.

if self.logger_type == "wandb" and not self.disable_logs:
# use video_fps from cfg if available or default to 30
if "video_fps" in self.cfg:
video_fps = self.cfg["video_fps"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be something from the environment and not the agent cfg?

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

Successfully merging this pull request may close these issues.

2 participants