Update README.md
Browse files
README.md
CHANGED
@@ -69,14 +69,13 @@ The best in MantisScore series is in bold and the best in baselines is underline
|
|
69 |
"-" means the answer of MLLM is meaningless or in wrong format.
|
70 |
|
71 |
## Usage
|
72 |
-
|
73 |
-
|
74 |
-
pip install git+https://github.com/TIGER-AI-Lab/MantisScore.git
|
75 |
```
|
76 |
|
77 |
### Inference
|
78 |
-
```
|
79 |
-
cd examples
|
80 |
```
|
81 |
|
82 |
```python
|
@@ -129,7 +128,7 @@ all the frames of video are as follows:
|
|
129 |
"""
|
130 |
|
131 |
model_name="TIGER-Lab/MantisScore-anno-only"
|
132 |
-
video_path="
|
133 |
video_prompt="Near the Elephant Gate village, they approach the haunted house at night. Rajiv feels anxious, but Bhavesh encourages him. As they reach the house, a mysterious sound in the air adds to the suspense."
|
134 |
|
135 |
processor = AutoProcessor.from_pretrained(model_name,torch_dtype=torch.bfloat16)
|
@@ -180,9 +179,9 @@ print(aspect_scores)
|
|
180 |
```
|
181 |
|
182 |
### Training
|
183 |
-
see [MantisScore/training](https://github.com/TIGER-AI-Lab/MantisScore/training) for details
|
184 |
|
185 |
### Evaluation
|
186 |
-
see [MantisScore/benchmark](
|
187 |
|
188 |
## Citation
|
|
|
69 |
"-" means the answer of MLLM is meaningless or in wrong format.
|
70 |
|
71 |
## Usage
|
72 |
+
```
|
73 |
+
git clone https://github.com/TIGER-AI-Lab/MantisScore.git
|
|
|
74 |
```
|
75 |
|
76 |
### Inference
|
77 |
+
```
|
78 |
+
cd MantisScore/examples
|
79 |
```
|
80 |
|
81 |
```python
|
|
|
128 |
"""
|
129 |
|
130 |
model_name="TIGER-Lab/MantisScore-anno-only"
|
131 |
+
video_path="video1.mp4"
|
132 |
video_prompt="Near the Elephant Gate village, they approach the haunted house at night. Rajiv feels anxious, but Bhavesh encourages him. As they reach the house, a mysterious sound in the air adds to the suspense."
|
133 |
|
134 |
processor = AutoProcessor.from_pretrained(model_name,torch_dtype=torch.bfloat16)
|
|
|
179 |
```
|
180 |
|
181 |
### Training
|
182 |
+
see [MantisScore/training](https://github.com/TIGER-AI-Lab/MantisScore/tree/main/training) for details
|
183 |
|
184 |
### Evaluation
|
185 |
+
see [MantisScore/benchmark](https://github.com/TIGER-AI-Lab/MantisScore/tree/main/benchmark) for details
|
186 |
|
187 |
## Citation
|