Comments (10)
Hi, it should be :bash scripts/video/demo/video_demo.sh lmms-lab/LLaVA-NeXT-Video-7B-DPO vicuna_v1 32 2 average after no_token True ./data/llava_video/video-chatgpt/evaluation/Test_Videos/v_Lf_7RurLgp0.mp4
from llava-next.
Hi, it should be :bash scripts/video/demo/video_demo.sh lmms-lab/LLaVA-NeXT-Video-7B-DPO vicuna_v1 32 2 average after no_token True ./data/llava_video/video-chatgpt/evaluation/Test_Videos/v_Lf_7RurLgp0.mp4
Still same error....
from llava-next.
try: bash scripts/video/demo/video_demo.sh lmms-lab/LLaVA-NeXT-Video-7B vicuna_v1 32 2 average after no_token True /mnt/bn/vl-research/workspace/yhzhang/LLaVA-NeXT/playground/demo/xU25MMA2N4aVtYay.mp4
from llava-next.
Hi, I can run the demo smoothly, but the response I'm getting is " ". Can you explain what your newly added arguments which are (average after no_token) mean? I assume average is mm_spatial_pool_mode but what about the others? Thanks!
from llava-next.
try: bash scripts/video/demo/video_demo.sh lmms-lab/LLaVA-NeXT-Video-7B vicuna_v1 32 2 average after no_token True /mnt/bn/vl-research/workspace/yhzhang/LLaVA-NeXT/playground/demo/xU25MMA2N4aVtYay.mp4
I tried it, and also got same error...
this is error msg
File "-/LLaVA-NeXT/playground/demo/video_demo.py", line 183, in
run_inference(args)
File "-/LLaVA-NeXT/playground/demo/video_demo.py", line 160, in run_inference
output_ids = model.generate(inputs=input_ids, images=video, attention_mask=attention_masks, modalities="video", do_sample=True, temperature=0.2, max_new_tokens=1024, use_cache=True, stopping_criteria=[stopping_criteria])
UnboundLocalError: local variable 'video' referenced before assignment
from llava-next.
Hi, I can run the demo smoothly, but the response I'm getting is " ". Can you explain what your newly added arguments which are (average after no_token) mean? I assume average is mm_spatial_pool_mode but what about the others? Thanks!
try to pull our latest code!
from llava-next.
When I clone latest code and create new conda virtual env, it works! But I tried to test by using my own data, it still got same error...
UnboundLocalError: local variable 'video' referenced before assignment
from llava-next.
When I clone latest code and create new conda virtual env, it works! But I tried to test by using my own data, it still got same error... UnboundLocalError: local variable 'video' referenced before assignment
Make sure the path of your video is correct
from llava-next.
When I clone latest code and create new conda virtual env, it works! But I tried to test by using my own data, it still got same error... UnboundLocalError: local variable 'video' referenced before assignment
Make sure the path of your video is correct
Sorry..! That was my fault. I fixed the path and I could got well Response. Thanks!
from llava-next.
Good to know, if it solved, please close this issue, thx.
from llava-next.
Related Issues (20)
- Can you give an example of the yaml file about multi data?
- Question Regarding Commented Out Line in encode_images Function
- How to implement a training format that interweaves graphics and text
- What is the difference between the two projects, lmms-lab/llava-onevision-qwen2-7b-ov and lmms-lab/llava-onevision-qwen2-7b-si?
- Why use 1.1 times in anyres_max method ?
- Can't Download LLaVA-Recap Dataset
- Cannot access gated repo HOT 4
- Where is the code of Bilinear Interpolation? HOT 1
- Why does the llava-onevision-qwen2-7b-ov model have such high GPU memory usage?
- A Discord group for the community. People can discuss here.
- The llava-onevision model video inference code has an error HOT 16
- Missing mm_projector in latest LLaVa HOT 5
- The checkpoint of LLaVA-NeXT-Video stage1. HOT 2
- interleave_demo.py missing HOT 1
- Weight size mismatch when load_pretrain for llava_onevision (0.5b model) HOT 2
- Where to find multi-image training data? HOT 2
- LLaVA-OneVision数据问题 HOT 3
- (Community Chatting Group)建一个微信交流群,这样大家有问题可以实时讨论 HOT 1
- [BUG] Function `prepare_inputs_labels_for_multimodal` flattens batch data HOT 2
- Why can not the code inference with multi-gpu? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from llava-next.