Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

LLaVA-NeXT Video Captioning Tool

  • (LLaVA-Video-7B-Qwen2)

1. Environment Setup

  • Clone this repository and navigate to the LLaVA folder
    git clone https://github.com/LLaVA-VL/LLaVA-NeXT
    cd LLaVA-NeXT
  • Create and activate the Conda environment
    conda create -n llava python=3.10 -y
    conda activate llava
  • Install the inference package
    pip install --upgrade pip
    pip install -e ".[train]"

2. Run Captioning

  • Script: llava_captioning.py
    python llava_captioning.py

3. Output

  • Outputs are saved as a JSONL file (1 line = 1 video).
  • It reads the existing output and skips already-processed video_name entries to resume (resume).

Notes

  • llava_captioning.py assumes the following structure:
    • /home/dataset/video_eval/L{1..5}/{short,medium,long}/*.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages