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

add support for multi-gpu parallel evaluation #51

Closed
wants to merge 3 commits into from

Conversation

TiankaiHang
Copy link
Contributor

No description provided.

@NattapolChan
Copy link
Collaborator

NattapolChan commented Aug 2, 2024

Hi, thanks for the PR and sorry for late response. I think there are some bugs with spatial_relationship and overall_consistency. I think you need to change these lines.

--- a/vbench/overall_consistency.py
+++ b/vbench/overall_consistency.py
-        video_results = all_gather(video_results)
+        video_results = gather_list_of_dict(video_results)

--- a/vbench/spatial_relationship.py
+++ b/vbench/spatial_relationship.py
-        all_results = sum([d['frame_results'] for d in video_results]) / len(video_results)
+        all_results = sum([d['video_results'] for d in video_results]) / len(video_results)

@NattapolChan
Copy link
Collaborator

merged

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

Successfully merging this pull request may close these issues.

2 participants