Skip to content

docs(docs/LLaVA_Video_1003.md) update: Fix Inference demo code#502

Open
dddst123 wants to merge 1 commit intoLLaVA-VL:mainfrom
dddst123:patch-1
Open

docs(docs/LLaVA_Video_1003.md) update: Fix Inference demo code#502
dddst123 wants to merge 1 commit intoLLaVA-VL:mainfrom
dddst123:patch-1

Conversation

@dddst123
Copy link
Copy Markdown

Fix code in Inference demo: load_video method signature and parameter type

Problem: In the demo code for inference provided in the document, the load_video function does not require a self parameter; the max_frames_num parameter should seemingly be of type int, but the string type defined here will result in an error.
docs_fix

Fix:

  • Corrected load_video method signature by removing incorrect 'self' parameter
  • Fixed max_frames_num parameter type from string "64" to integer 64

… function parameter and max_frames_num type

Fix code in Inference demo: load_video method signature and parameter type

- Corrected load_video method signature by removing incorrect 'self' parameter
- Fixed max_frames_num parameter type from string "64" to integer 64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant