Master-Shi commited on
Commit
c6be4e6
·
verified ·
1 Parent(s): 4659a42

Add files using upload-large-folder tool

Browse files
Files changed (20) hide show
  1. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_COCO_HuatuoGPT_V_34B.sh +27 -0
  2. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_COCO_HuatuoGPT_V_7B.sh +24 -0
  3. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_COCO_LLaVA_13B.sh +24 -0
  4. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_COCO_LLaVA_7B.sh +24 -0
  5. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_COCO_LLaVA_Med_7B.sh +24 -0
  6. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_COCO_MedGemma_4B_IT.sh +24 -0
  7. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_COCO_Qwen25VL_32B.sh +27 -0
  8. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_COCO_Qwen25VL_3B.sh +24 -0
  9. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_COCO_Qwen25VL_7B.sh +24 -0
  10. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_HuatuoGPT_V_34B.sh +24 -0
  11. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_HuatuoGPT_V_7B.sh +21 -0
  12. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_LLaVA_13B.sh +21 -0
  13. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_LLaVA_7B.sh +21 -0
  14. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_LLaVA_Med_7B.sh +21 -0
  15. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_MedGemma_27B_IT.sh +24 -0
  16. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_MedGemma_4B_IT.sh +21 -0
  17. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_Qwen25VL_32B.sh +24 -0
  18. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_Qwen25VL_3B.sh +21 -0
  19. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_Qwen25VL_7B.sh +21 -0
  20. 之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_text/mask_text_COCO_HuatuoGPT_V_7B.sh +24 -0
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_COCO_HuatuoGPT_V_34B.sh ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ export CUDA_VISIBLE_DEVICES=0,2,3
6
+
7
+ MODEL_PATH="FreedomIntelligence/HuatuoGPT-Vision-34B"
8
+ COCO_ROOT="../benchmarks/COCO/val2014"
9
+ COCO_ANNOTATION_ROOT="../benchmarks/COCO"
10
+ OUTPUT_ROOT="grounding_results/HuatuoGPT-V-34B"
11
+
12
+ python grounding_mask_region.py \
13
+ --dataset COCO \
14
+ --q_type localization \
15
+ --model_path "$MODEL_PATH" \
16
+ --coco_root "$COCO_ROOT" \
17
+ --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
18
+ --output_root "$OUTPUT_ROOT" \
19
+ --device auto
20
+
21
+ # python grounding_mask_region.py \
22
+ # --dataset COCO \
23
+ # --q_type attribute \
24
+ # --model_path "$MODEL_PATH" \
25
+ # --coco_root "$COCO_ROOT" \
26
+ # --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
27
+ # --output_root "$OUTPUT_ROOT"
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_COCO_HuatuoGPT_V_7B.sh ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ MODEL_PATH="FreedomIntelligence/HuatuoGPT-Vision-7B"
6
+ COCO_ROOT="../benchmarks/COCO/val2014"
7
+ COCO_ANNOTATION_ROOT="../benchmarks/COCO"
8
+ OUTPUT_ROOT="grounding_results/HuatuoGPT-V-7B"
9
+
10
+ python grounding_mask_region.py \
11
+ --dataset COCO \
12
+ --q_type localization \
13
+ --model_path "$MODEL_PATH" \
14
+ --coco_root "$COCO_ROOT" \
15
+ --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
16
+ --output_root "$OUTPUT_ROOT"
17
+
18
+ # python grounding_mask_region.py \
19
+ # --dataset COCO \
20
+ # --q_type attribute \
21
+ # --model_path "$MODEL_PATH" \
22
+ # --coco_root "$COCO_ROOT" \
23
+ # --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
24
+ # --output_root "$OUTPUT_ROOT"
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_COCO_LLaVA_13B.sh ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ MODEL_PATH="llava-hf/llava-1.5-13b-hf"
6
+ COCO_ROOT="../benchmarks/COCO/val2014"
7
+ COCO_ANNOTATION_ROOT="../benchmarks/COCO"
8
+ OUTPUT_ROOT="grounding_results/LLaVA-13B"
9
+
10
+ python grounding_mask_region.py \
11
+ --dataset COCO \
12
+ --q_type localization \
13
+ --model_path "$MODEL_PATH" \
14
+ --coco_root "$COCO_ROOT" \
15
+ --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
16
+ --output_root "$OUTPUT_ROOT"
17
+
18
+ # python grounding_mask_region.py \
19
+ # --dataset COCO \
20
+ # --q_type attribute \
21
+ # --model_path "$MODEL_PATH" \
22
+ # --coco_root "$COCO_ROOT" \
23
+ # --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
24
+ # --output_root "$OUTPUT_ROOT"
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_COCO_LLaVA_7B.sh ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ MODEL_PATH="llava-hf/llava-1.5-7b-hf"
6
+ COCO_ROOT="../benchmarks/COCO/val2014"
7
+ COCO_ANNOTATION_ROOT="../benchmarks/COCO"
8
+ OUTPUT_ROOT="grounding_results/LLaVA-7B"
9
+
10
+ python grounding_mask_region.py \
11
+ --dataset COCO \
12
+ --q_type localization \
13
+ --model_path "$MODEL_PATH" \
14
+ --coco_root "$COCO_ROOT" \
15
+ --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
16
+ --output_root "$OUTPUT_ROOT"
17
+
18
+ # python grounding_mask_region.py \
19
+ # --dataset COCO \
20
+ # --q_type attribute \
21
+ # --model_path "$MODEL_PATH" \
22
+ # --coco_root "$COCO_ROOT" \
23
+ # --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
24
+ # --output_root "$OUTPUT_ROOT"
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_COCO_LLaVA_Med_7B.sh ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ MODEL_PATH="microsoft/llava-med-v1.5-mistral-7b"
6
+ COCO_ROOT="../benchmarks/COCO/val2014"
7
+ COCO_ANNOTATION_ROOT="../benchmarks/COCO"
8
+ OUTPUT_ROOT="grounding_results/LLaVA-Med-7B"
9
+
10
+ python grounding_mask_region.py \
11
+ --dataset COCO \
12
+ --q_type localization \
13
+ --model_path "$MODEL_PATH" \
14
+ --coco_root "$COCO_ROOT" \
15
+ --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
16
+ --output_root "$OUTPUT_ROOT"
17
+
18
+ # python grounding_mask_region.py \
19
+ # --dataset COCO \
20
+ # --q_type attribute \
21
+ # --model_path "$MODEL_PATH" \
22
+ # --coco_root "$COCO_ROOT" \
23
+ # --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
24
+ # --output_root "$OUTPUT_ROOT"
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_COCO_MedGemma_4B_IT.sh ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ MODEL_PATH="google/medgemma-4b-it"
6
+ COCO_ROOT="../benchmarks/COCO/val2014"
7
+ COCO_ANNOTATION_ROOT="../benchmarks/COCO"
8
+ OUTPUT_ROOT="grounding_results/MedGemma-4B-IT"
9
+
10
+ python grounding_mask_region.py \
11
+ --dataset COCO \
12
+ --q_type localization \
13
+ --model_path "$MODEL_PATH" \
14
+ --coco_root "$COCO_ROOT" \
15
+ --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
16
+ --output_root "$OUTPUT_ROOT"
17
+
18
+ # python grounding_mask_region.py \
19
+ # --dataset COCO \
20
+ # --q_type attribute \
21
+ # --model_path "$MODEL_PATH" \
22
+ # --coco_root "$COCO_ROOT" \
23
+ # --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
24
+ # --output_root "$OUTPUT_ROOT"
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_COCO_Qwen25VL_32B.sh ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ export CUDA_VISIBLE_DEVICES=0,2,3
6
+
7
+ MODEL_PATH="Qwen/Qwen2.5-VL-32B-Instruct"
8
+ COCO_ROOT="../benchmarks/COCO/val2014"
9
+ COCO_ANNOTATION_ROOT="../benchmarks/COCO"
10
+ OUTPUT_ROOT="grounding_results/Qwen2.5VL-32B"
11
+
12
+ python grounding_mask_region.py \
13
+ --dataset COCO \
14
+ --q_type localization \
15
+ --model_path "$MODEL_PATH" \
16
+ --coco_root "$COCO_ROOT" \
17
+ --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
18
+ --output_root "$OUTPUT_ROOT" \
19
+ --device auto
20
+
21
+ # python grounding_mask_region.py \
22
+ # --dataset COCO \
23
+ # --q_type attribute \
24
+ # --model_path "$MODEL_PATH" \
25
+ # --coco_root "$COCO_ROOT" \
26
+ # --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
27
+ # --output_root "$OUTPUT_ROOT"
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_COCO_Qwen25VL_3B.sh ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ MODEL_PATH="Qwen/Qwen2.5-VL-3B-Instruct"
6
+ COCO_ROOT="../benchmarks/COCO/val2014"
7
+ COCO_ANNOTATION_ROOT="../benchmarks/COCO"
8
+ OUTPUT_ROOT="grounding_results/Qwen2.5VL-3B"
9
+
10
+ python grounding_mask_region.py \
11
+ --dataset COCO \
12
+ --q_type localization \
13
+ --model_path "$MODEL_PATH" \
14
+ --coco_root "$COCO_ROOT" \
15
+ --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
16
+ --output_root "$OUTPUT_ROOT"
17
+
18
+ # python grounding_mask_region.py \
19
+ # --dataset COCO \
20
+ # --q_type attribute \
21
+ # --model_path "$MODEL_PATH" \
22
+ # --coco_root "$COCO_ROOT" \
23
+ # --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
24
+ # --output_root "$OUTPUT_ROOT"
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_COCO_Qwen25VL_7B.sh ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ MODEL_PATH="Qwen/Qwen2.5-VL-7B-Instruct"
6
+ COCO_ROOT="../benchmarks/COCO/val2014"
7
+ COCO_ANNOTATION_ROOT="../benchmarks/COCO"
8
+ OUTPUT_ROOT="grounding_results/Qwen2.5VL-7B"
9
+
10
+ python grounding_mask_region.py \
11
+ --dataset COCO \
12
+ --q_type localization \
13
+ --model_path "$MODEL_PATH" \
14
+ --coco_root "$COCO_ROOT" \
15
+ --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
16
+ --output_root "$OUTPUT_ROOT"
17
+
18
+ # python grounding_mask_region.py \
19
+ # --dataset COCO \
20
+ # --q_type attribute \
21
+ # --model_path "$MODEL_PATH" \
22
+ # --coco_root "$COCO_ROOT" \
23
+ # --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
24
+ # --output_root "$OUTPUT_ROOT"
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_HuatuoGPT_V_34B.sh ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ export CUDA_VISIBLE_DEVICES=0,2,3
6
+
7
+ MODEL_PATH="FreedomIntelligence/HuatuoGPT-Vision-34B"
8
+ VGMED_ROOT="../benchmarks/VGMED"
9
+ OUTPUT_ROOT="grounding_results/HuatuoGPT-V-34B"
10
+
11
+ python grounding_mask_region.py \
12
+ --dataset VGMED \
13
+ --q_type localization \
14
+ --model_path "$MODEL_PATH" \
15
+ --vgmed_root "$VGMED_ROOT" \
16
+ --output_root "$OUTPUT_ROOT" \
17
+ --device auto
18
+
19
+ # python grounding_mask_region.py \
20
+ # --dataset VGMED \
21
+ # --q_type attribute \
22
+ # --model_path "$MODEL_PATH" \
23
+ # --vgmed_root "$VGMED_ROOT" \
24
+ # --output_root "$OUTPUT_ROOT"
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_HuatuoGPT_V_7B.sh ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ MODEL_PATH="FreedomIntelligence/HuatuoGPT-Vision-7B"
6
+ VGMED_ROOT="../benchmarks/VGMED"
7
+ OUTPUT_ROOT="grounding_results/HuatuoGPT-V-7B"
8
+
9
+ python grounding_mask_region.py \
10
+ --dataset VGMED \
11
+ --q_type localization \
12
+ --model_path "$MODEL_PATH" \
13
+ --vgmed_root "$VGMED_ROOT" \
14
+ --output_root "$OUTPUT_ROOT"
15
+
16
+ # python grounding_mask_region.py \
17
+ # --dataset VGMED \
18
+ # --q_type attribute \
19
+ # --model_path "$MODEL_PATH" \
20
+ # --vgmed_root "$VGMED_ROOT" \
21
+ # --output_root "$OUTPUT_ROOT"
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_LLaVA_13B.sh ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ MODEL_PATH="llava-hf/llava-1.5-13b-hf"
6
+ VGMED_ROOT="../benchmarks/VGMED"
7
+ OUTPUT_ROOT="grounding_results/LLaVA-13B"
8
+
9
+ python grounding_mask_region.py \
10
+ --dataset VGMED \
11
+ --q_type localization \
12
+ --model_path "$MODEL_PATH" \
13
+ --vgmed_root "$VGMED_ROOT" \
14
+ --output_root "$OUTPUT_ROOT"
15
+
16
+ # python grounding_mask_region.py \
17
+ # --dataset VGMED \
18
+ # --q_type attribute \
19
+ # --model_path "$MODEL_PATH" \
20
+ # --vgmed_root "$VGMED_ROOT" \
21
+ # --output_root "$OUTPUT_ROOT"
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_LLaVA_7B.sh ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ MODEL_PATH="llava-hf/llava-1.5-7b-hf"
6
+ VGMED_ROOT="../benchmarks/VGMED"
7
+ OUTPUT_ROOT="grounding_results/LLaVA-7B"
8
+
9
+ python grounding_mask_region.py \
10
+ --dataset VGMED \
11
+ --q_type localization \
12
+ --model_path "$MODEL_PATH" \
13
+ --vgmed_root "$VGMED_ROOT" \
14
+ --output_root "$OUTPUT_ROOT"
15
+
16
+ # python grounding_mask_region.py \
17
+ # --dataset VGMED \
18
+ # --q_type attribute \
19
+ # --model_path "$MODEL_PATH" \
20
+ # --vgmed_root "$VGMED_ROOT" \
21
+ # --output_root "$OUTPUT_ROOT"
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_LLaVA_Med_7B.sh ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ MODEL_PATH="microsoft/llava-med-v1.5-mistral-7b"
6
+ VGMED_ROOT="../benchmarks/VGMED"
7
+ OUTPUT_ROOT="grounding_results/LLaVA-Med-7B"
8
+
9
+ python grounding_mask_region.py \
10
+ --dataset VGMED \
11
+ --q_type localization \
12
+ --model_path "$MODEL_PATH" \
13
+ --vgmed_root "$VGMED_ROOT" \
14
+ --output_root "$OUTPUT_ROOT"
15
+
16
+ # python grounding_mask_region.py \
17
+ # --dataset VGMED \
18
+ # --q_type attribute \
19
+ # --model_path "$MODEL_PATH" \
20
+ # --vgmed_root "$VGMED_ROOT" \
21
+ # --output_root "$OUTPUT_ROOT"
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_MedGemma_27B_IT.sh ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ export CUDA_VISIBLE_DEVICES=0,2,3
6
+
7
+ MODEL_PATH="google/medgemma-27b-it"
8
+ VGMED_ROOT="../benchmarks/VGMED"
9
+ OUTPUT_ROOT="grounding_results/MedGemma-27B-IT"
10
+
11
+ python grounding_mask_region.py \
12
+ --dataset VGMED \
13
+ --q_type localization \
14
+ --model_path "$MODEL_PATH" \
15
+ --vgmed_root "$VGMED_ROOT" \
16
+ --output_root "$OUTPUT_ROOT" \
17
+ --device auto
18
+
19
+ # python grounding_mask_region.py \
20
+ # --dataset VGMED \
21
+ # --q_type attribute \
22
+ # --model_path "$MODEL_PATH" \
23
+ # --vgmed_root "$VGMED_ROOT" \
24
+ # --output_root "$OUTPUT_ROOT"
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_MedGemma_4B_IT.sh ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ MODEL_PATH="google/medgemma-4b-it"
6
+ VGMED_ROOT="../benchmarks/VGMED"
7
+ OUTPUT_ROOT="grounding_results/MedGemma-4B-IT"
8
+
9
+ python grounding_mask_region.py \
10
+ --dataset VGMED \
11
+ --q_type localization \
12
+ --model_path "$MODEL_PATH" \
13
+ --vgmed_root "$VGMED_ROOT" \
14
+ --output_root "$OUTPUT_ROOT"
15
+
16
+ # python grounding_mask_region.py \
17
+ # --dataset VGMED \
18
+ # --q_type attribute \
19
+ # --model_path "$MODEL_PATH" \
20
+ # --vgmed_root "$VGMED_ROOT" \
21
+ # --output_root "$OUTPUT_ROOT"
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_Qwen25VL_32B.sh ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ export CUDA_VISIBLE_DEVICES=0,2,3
6
+
7
+ MODEL_PATH="Qwen/Qwen2.5-VL-32B-Instruct"
8
+ VGMED_ROOT="../benchmarks/VGMED"
9
+ OUTPUT_ROOT="grounding_results/Qwen2.5VL-32B"
10
+
11
+ python grounding_mask_region.py \
12
+ --dataset VGMED \
13
+ --q_type localization \
14
+ --model_path "$MODEL_PATH" \
15
+ --vgmed_root "$VGMED_ROOT" \
16
+ --output_root "$OUTPUT_ROOT" \
17
+ --device auto
18
+
19
+ # python grounding_mask_region.py \
20
+ # --dataset VGMED \
21
+ # --q_type attribute \
22
+ # --model_path "$MODEL_PATH" \
23
+ # --vgmed_root "$VGMED_ROOT" \
24
+ # --output_root "$OUTPUT_ROOT"
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_Qwen25VL_3B.sh ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ MODEL_PATH="Qwen/Qwen2.5-VL-3B-Instruct"
6
+ VGMED_ROOT="../benchmarks/VGMED"
7
+ OUTPUT_ROOT="grounding_results/Qwen2.5VL-3B"
8
+
9
+ python grounding_mask_region.py \
10
+ --dataset VGMED \
11
+ --q_type localization \
12
+ --model_path "$MODEL_PATH" \
13
+ --vgmed_root "$VGMED_ROOT" \
14
+ --output_root "$OUTPUT_ROOT"
15
+
16
+ # python grounding_mask_region.py \
17
+ # --dataset VGMED \
18
+ # --q_type attribute \
19
+ # --model_path "$MODEL_PATH" \
20
+ # --vgmed_root "$VGMED_ROOT" \
21
+ # --output_root "$OUTPUT_ROOT"
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_region/mask_region_VGMED_Qwen25VL_7B.sh ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ MODEL_PATH="Qwen/Qwen2.5-VL-7B-Instruct"
6
+ VGMED_ROOT="../benchmarks/VGMED"
7
+ OUTPUT_ROOT="grounding_results/Qwen2.5VL-7B"
8
+
9
+ python grounding_mask_region.py \
10
+ --dataset VGMED \
11
+ --q_type localization \
12
+ --model_path "$MODEL_PATH" \
13
+ --vgmed_root "$VGMED_ROOT" \
14
+ --output_root "$OUTPUT_ROOT"
15
+
16
+ # python grounding_mask_region.py \
17
+ # --dataset VGMED \
18
+ # --q_type attribute \
19
+ # --model_path "$MODEL_PATH" \
20
+ # --vgmed_root "$VGMED_ROOT" \
21
+ # --output_root "$OUTPUT_ROOT"
之前的代码版本/注意力关键词用于sam的/MedEvalKit/eval_scripts/grounding/mask_text/mask_text_COCO_HuatuoGPT_V_7B.sh ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # export HF_ENDPOINT=https://hf-mirror.com
3
+ cd "$(dirname "$0")/../../.."
4
+
5
+ MODEL_PATH="FreedomIntelligence/HuatuoGPT-Vision-7B"
6
+ COCO_ROOT="../benchmarks/COCO/val2014"
7
+ COCO_ANNOTATION_ROOT="../benchmarks/COCO"
8
+ OUTPUT_ROOT="grounding_results/HuatuoGPT-V-7B"
9
+
10
+ python grounding_mask_text.py \
11
+ --dataset COCO \
12
+ --q_type localization \
13
+ --model_path "$MODEL_PATH" \
14
+ --coco_root "$COCO_ROOT" \
15
+ --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
16
+ --output_root "$OUTPUT_ROOT"
17
+
18
+ # python grounding_mask_text.py \
19
+ # --dataset COCO \
20
+ # --q_type attribute \
21
+ # --model_path "$MODEL_PATH" \
22
+ # --coco_root "$COCO_ROOT" \
23
+ # --coco_annotation_root "$COCO_ANNOTATION_ROOT" \
24
+ # --output_root "$OUTPUT_ROOT"