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

Fix videomme evaluation #209

Merged
merged 1 commit into from
Aug 31, 2024
Merged

Fix videomme evaluation #209

merged 1 commit into from
Aug 31, 2024

Conversation

zhijian-liu
Copy link
Contributor

This minor fix for videomme evaluation makes sure that videos are downloaded to and loaded from the correct folder.

@Luodian Luodian self-requested a review August 31, 2024 05:35
Copy link
Collaborator

@choiszt choiszt left a comment

Choose a reason for hiding this comment

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

I have reviewed the PR and can confirm that everything is correct.

@@ -177,7 +177,7 @@ def extract_subtitles(video_path, subtitle_path):
def videomme_doc_to_visual(doc):
cache_dir = os.path.join(base_cache_dir, cache_name)
video_path = doc["videoID"] + ".mp4"
video_path = os.path.join(cache_dir, video_path)
video_path = os.path.join(cache_dir, "data", video_path)
Copy link
Contributor

Choose a reason for hiding this comment

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

will this be correct? can @choiszt help to check this?

@Luodian Luodian merged commit 7adbd69 into EvolvingLMMs-Lab:main Aug 31, 2024
1 check passed
@zhijian-liu zhijian-liu deleted the dev/videomme branch August 31, 2024 06:57
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.

3 participants