Skip to content

Commit 07c2e2f

Browse files
authored
convert : correct typo image_mean --> image_std (#13208)
1 parent 44cd8d9 commit 07c2e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

convert_hf_to_gguf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ def set_gguf_parameters(self):
11031103

11041104
# preprocessor config
11051105
self.gguf_writer.add_vision_image_mean(self.preprocessor_config["image_mean"])
1106-
self.gguf_writer.add_vision_image_std(self.preprocessor_config["image_mean"])
1106+
self.gguf_writer.add_vision_image_std(self.preprocessor_config["image_std"])
11071107

11081108
def write_vocab(self):
11091109
raise ValueError("VisionModel does not support vocab writing")

0 commit comments

Comments
 (0)