Skip to content

Commit

Permalink
[Fix] video_llava HF nframes
Browse files Browse the repository at this point in the history
  • Loading branch information
FangXinyu-0913 authored Jan 9, 2025
1 parent f58ac1b commit 37de306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlmeval/vlm/video_llm/video_llava.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self, model_path='LanguageBind/Video-LLaVA-7B-hf', **kwargs):
self.model.eval().cuda()
self.processor = VideoLlavaProcessor.from_pretrained(model_path)
self.kwargs = kwargs
self.nframe = 8
self.nframes = 8
torch.cuda.empty_cache()

def generate_inner(self, message, dataset=None):
Expand Down

0 comments on commit 37de306

Please sign in to comment.