PaDT-MLLM commited on
Commit
330e304
·
verified ·
1 Parent(s): 0a8d2d2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -85,7 +85,7 @@ from PaDT import PaDTForConditionalGeneration, VisonTextProcessingClass, parseVR
85
 
86
 
87
  TEST_IMG_PATH="./eval/imgs/000000368335.jpg"
88
- MODEL_PATH="PaDT-MLLM/PaDT_Pro_3B"
89
 
90
  # load model
91
  model = PaDTForConditionalGeneration.from_pretrained(MODEL_PATH, torch_dtype=torch.bfloat16, device_map={"": 0})
@@ -97,7 +97,7 @@ processor = VisonTextProcessingClass(processor, model.config.vision_config.spati
97
  processor.prepare(model.model.embed_tokens.weight.shape[0])
98
 
99
  # question prompt
100
- PROMPT = "Please describe this image."
101
 
102
  # construct conversation
103
  message = [
 
85
 
86
 
87
  TEST_IMG_PATH="./eval/imgs/000000368335.jpg"
88
+ MODEL_PATH="PaDT-MLLM/PaDT_OVD_3B"
89
 
90
  # load model
91
  model = PaDTForConditionalGeneration.from_pretrained(MODEL_PATH, torch_dtype=torch.bfloat16, device_map={"": 0})
 
97
  processor.prepare(model.model.embed_tokens.weight.shape[0])
98
 
99
  # question prompt
100
+ PROMPT = """Please carefully check the image and detect the following objects: ["person", "bicycle", "car", "motorcycle", "horse"]."""
101
 
102
  # construct conversation
103
  message = [