Update README.md
Browse files
README.md
CHANGED
|
@@ -85,7 +85,7 @@ def _get_rawvideo_dec(video_path, image_processor, max_frames=MAX_IMAGE_LENGTH,
|
|
| 85 |
|
| 86 |
if __name__ == '__main__':
|
| 87 |
# Model Parameter
|
| 88 |
-
model_path = "Chat-UniVi/Chat-UniVi" # or "Chat-UniVi/Chat-UniVi-13B"
|
| 89 |
video_path = ${video_path}
|
| 90 |
|
| 91 |
# The number of visual tokens varies with the length of the video. "max_frames" is the maximum number of frames.
|
|
@@ -189,7 +189,7 @@ from PIL import Image
|
|
| 189 |
|
| 190 |
if __name__ == '__main__':
|
| 191 |
# Model Parameter
|
| 192 |
-
model_path = "Chat-UniVi/Chat-UniVi" # or "Chat-UniVi/Chat-UniVi-13B"
|
| 193 |
image_path = ${image_path}
|
| 194 |
|
| 195 |
# Input Text
|
|
|
|
| 85 |
|
| 86 |
if __name__ == '__main__':
|
| 87 |
# Model Parameter
|
| 88 |
+
model_path = "Chat-UniVi/Chat-UniVi-v1.5" # or "Chat-UniVi/Chat-UniVi"、"Chat-UniVi/Chat-UniVi-13B"
|
| 89 |
video_path = ${video_path}
|
| 90 |
|
| 91 |
# The number of visual tokens varies with the length of the video. "max_frames" is the maximum number of frames.
|
|
|
|
| 189 |
|
| 190 |
if __name__ == '__main__':
|
| 191 |
# Model Parameter
|
| 192 |
+
model_path = "Chat-UniVi/Chat-UniVi-v1.5" # or "Chat-UniVi/Chat-UniVi"、"Chat-UniVi/Chat-UniVi-13B"
|
| 193 |
image_path = ${image_path}
|
| 194 |
|
| 195 |
# Input Text
|