Skip to content

Commit

Permalink
revise the package import error in tools/caption/caption_llava.py (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
eastoc committed May 9, 2024
1 parent 3e4e8a4 commit c3fd95f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/caption/caption_llava.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
from tqdm import tqdm

from .acceleration.llava.policies import LlavaLlamaForCausalLMPolicy, LlavaMistralForCausalLMPolicy
from .utils import IMG_EXTENSIONS, PROMPTS, VID_EXTENSIONS, Timer, VideoTextDataset, collate_fn
from .utils import PROMPTS, Timer, VideoTextDataset, collate_fn
from ..datasets.utils import IMG_EXTENSIONS, VID_EXTENSIONS

disable_torch_init()

Expand Down

0 comments on commit c3fd95f

Please sign in to comment.