Giter VIP home page Giter VIP logo

Comments (8)

mmaaz60 avatar mmaaz60 commented on August 10, 2024

Hi @NIneeeeeem,

I appreciate your interest in our work. Please share the exact steps you followed to reproduce our work. For example, which model weights are you using? What command you are using for running inference and evaluation.

Further, note that the scripts provided in our repository are not tested for batch sizes > 1 and are not guaranteed to be working properly. I would highly recommend to keep the batch_size =1. Thank You.

from videogpt-plus.

NIneeeeeem avatar NIneeeeeem commented on August 10, 2024

Hi @NIneeeeeem,

I appreciate your interest in our work. Please share the exact steps you followed to reproduce our work. For example, which model weights are you using? What command you are using for running inference and evaluation.

Further, note that the scripts provided in our repository are not tested for batch sizes > 1 and are not guaranteed to be working properly. I would highly recommend to keep the batch_size =1. Thank You.

Hi, here is the command:
CUDA_VISIBLE_DEVICES=0 python eval/mvbench/inference/infer.py --model-path weights/VideoGPT-plus_Phi3-mini-4k/mvbench - -model-base weights/Phi-3-mini-128k-instruct --video-folder MVBench/video --question-dir MVBench/json --output-dir M VBench/dual_result3
Weights:
video encoder: VideoGPT-plus/OpenGVLab/InternVideo2-Stage2_1B-224p-f4/InternVideo2-stage2_1b-224p-f4.pt
image encoder: VideoGPT-plus/openai/clip-vit-large-patch14-336
llm: Phi-3-mini-128k-instruct
ckpt: VideoGPT-plus_Phi3-mini-4k/mvbench

Building OpenGVLab/InternVideo2-Stage2_1B-224p-f4/InternVideo2-stage2_1b-224p-f4.pt
missing_keys=[]
Building openai/clip-vit-large-patch14-336
Building mlp2x_gelu
projector_type: mlp2x_gelu
Building mlp2x_gelu
projector_type: mlp2x_gelu
Loading additional VideoGPT+ weights...
Loading LoRA weights...
Merging LoRA weights...
Model is loaded...
load_state_dict: _IncompatibleKeys(missing_keys=[]

from videogpt-plus.

mmaaz60 avatar mmaaz60 commented on August 10, 2024

Hi @NIneeeeeem,

Thank you for providing the inference command you are using. Please note that our experiments use the Phi-3-mini-4k-instruct base model, not the Phi-3-mini-128k-instruct.

Please try replacing the 128K context model with 4K context model and this should solve the issue. Good Luck!

from videogpt-plus.

NIneeeeeem avatar NIneeeeeem commented on August 10, 2024

Thank you for your reply!

With Phi-3-mini-4k-instruct, the total Acc achieved is 58.14%.
I have another question that I noticed that in the instruction-tuning phase, subsets from multiple datasets were mixed, such as K710 and SSV2. Is there a regular pattern in the division of the subsets, or is it randomly selected?
issue4

from videogpt-plus.

mmaaz60 avatar mmaaz60 commented on August 10, 2024

Hi @NIneeeeeem,

These design choices are selected to optimize the training time and performance for both benchmarks.

from videogpt-plus.

NIneeeeeem avatar NIneeeeeem commented on August 10, 2024

@mmaaz60 Thank you for your reply. I think I didn't state my question clearly.

For datasets like SSV2, it contains 220,847 videos, of which 168,913 samples are used as the training set. And 40,000 were selected for the IT dataset in VideoGPT-plus. I am curious about the basis for such selection.

from videogpt-plus.

mmaaz60 avatar mmaaz60 commented on August 10, 2024

Hi @NIneeeeeem,

Thanks for the clarification. We follow the splits proposed in MVBench for training VideoChat2. I hope it answers your question.

from videogpt-plus.

NIneeeeeem avatar NIneeeeeem commented on August 10, 2024

Thank you, my issue has been resolved.

from videogpt-plus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.