Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,39 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
base_model:
|
| 4 |
+
- DAMO-NLP-SG/VideoRefer-7B
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# UFVideo-7B
|
| 8 |
+
|
| 9 |
+
This repository provides the complete code and datasets for UFVideo, a Video LLM that flexibly unifies general question answering, video object referring, video segmentation, and temporal video grounding to achieve multi-grained video understanding.
|
| 10 |
+
|
| 11 |
+
<!-- <p align="center"><img width="750" src="https://raw.githubusercontent.com/Heven-Pan/UFVideo/refs/heads/main/figs/overall_tasks.png"></p> -->
|
| 12 |
+
|
| 13 |
+
## 📥 Installation
|
| 14 |
+
### Environment
|
| 15 |
+
First, clone the repository and navigate to the project folder.
|
| 16 |
+
```bash
|
| 17 |
+
git clone https://github.com/Heven-Pan/UFVideo
|
| 18 |
+
cd UFVideo
|
| 19 |
+
```
|
| 20 |
+
Then, install the requirement packages.
|
| 21 |
+
```bash
|
| 22 |
+
conda create -n UFVideo python=3.10.14
|
| 23 |
+
conda activate UFVideo
|
| 24 |
+
|
| 25 |
+
# our cuda version is 'cu124'
|
| 26 |
+
pip install -r requirements.txt
|
| 27 |
+
# other versions have no been verified
|
| 28 |
+
pip install flash-attn --no-build-isolation
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
#### For evaluation and training, please refer to the [UFVideo](https://github.com/Heven-Pan/UFVideo) repository.
|
| 32 |
+
|
| 33 |
+
## 📑 Citation
|
| 34 |
+
|
| 35 |
+
Please kindly cite our paper if you find this project helpful.
|
| 36 |
+
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
```
|