Skip to content

Commit 089dd9c

Browse files
committed
updated
1 parent 04f3fe0 commit 089dd9c

1 file changed

Lines changed: 20 additions & 5 deletions

File tree

Encoder_Eval/README.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,29 @@ This repository provides a unified evaluation framework for benchmarking **video
2626

2727
## 🔧 Setup
2828

29+
30+
### 1. Optional: Using Dockerfile for Environment Setup
31+
```bash
32+
docker build -t llava_vit_eval:25.09 .
33+
```
34+
### 2. Or Load Docker Image
2935
```bash
30-
# Clone the repo
31-
git clone git@github.com:FeilongTangmonash/Encoder_Eval.git
32-
cd Encoder_Eval
36+
docker load -i /vlm/xiangan/docker_images/llava_vit_eval_tag_25.09.tar
37+
docker tag <image_id> llava_vit_eval:25.09
38+
```
3339

34-
# Install dependencies
35-
pip install -r requirements.txt
40+
### 3. Run
41+
```
42+
# Run container with -w to set working directory directly to the mounted volume
43+
docker run -it --gpus all \
44+
--ipc host --net host --privileged --cap-add IPC_LOCK \
45+
--ulimit memlock=-1 --ulimit stack=67108864 --rm \
46+
-v "$(cd .. && pwd)":/workspace/LLaVA-ViT \
47+
-w /workspace/LLaVA-ViT/Encoder_Eval \
48+
--name "llava_vit_eval_container" \
49+
llava_vit_eval:25.09 /bin/bash
3650
```
51+
3752
## 🧱 code structure
3853

3954
<pre>

0 commit comments

Comments
 (0)