Skip to content

Commit

Permalink
Remove unnecessary lines for video llava
Browse files Browse the repository at this point in the history
  • Loading branch information
kcz358 committed Jun 22, 2024
1 parent d78ec86 commit 903b042
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lmms_eval/models/video_llava.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,6 @@

eval_logger = logger

try:
import torch
from videollava.constants import IMAGE_TOKEN_INDEX, DEFAULT_IMAGE_TOKEN
from videollava.conversation import conv_templates, SeparatorStyle
from videollava.model.builder import load_pretrained_model
from videollava.utils import disable_torch_init
from videollava.mm_utils import tokenizer_image_token, get_model_name_from_path, KeywordsStoppingCriteria
except ImportError as e:
eval_logger.warning(f"Error importing Video-LLaVA: {e}")

from transformers import VideoLlavaProcessor, VideoLlavaForConditionalGeneration
from lmms_eval.models.model_utils.load_video import read_video_pyav

Expand Down

0 comments on commit 903b042

Please sign in to comment.