Update README.md
Browse files
README.md
CHANGED
@@ -124,15 +124,19 @@ def format_openai_template(description: str, base64_image):
|
|
124 |
},
|
125 |
]
|
126 |
|
|
|
127 |
messages = format_openai_template(description, base64_image)
|
128 |
|
129 |
completion = await client.chat.completions.create(
|
130 |
model=args.model_path,
|
131 |
messages=messages,
|
132 |
-
temperature=0 #
|
|
|
|
|
133 |
)
|
134 |
|
135 |
-
# The output will be in the range of [0,
|
|
|
136 |
|
137 |
```
|
138 |
|
|
|
124 |
},
|
125 |
]
|
126 |
|
127 |
+
|
128 |
messages = format_openai_template(description, base64_image)
|
129 |
|
130 |
completion = await client.chat.completions.create(
|
131 |
model=args.model_path,
|
132 |
messages=messages,
|
133 |
+
temperature=0 # REMEMBER to set temperature to ZERO!
|
134 |
+
# REMEMBER to set temperature to ZERO!
|
135 |
+
# REMEMBER to set temperature to ZERO!
|
136 |
)
|
137 |
|
138 |
+
# The output will be in the range of [0,1000), which is compatible with the original Qwen2-VL
|
139 |
+
# So the actual coordinates should be (x/1000*width, y/1000*height)
|
140 |
|
141 |
```
|
142 |
|