convert : correct typo image_mean --> image_std (#13208)

This commit is contained in:
Xuan-Son Nguyen 2025-04-30 13:06:15 +02:00 committed by GitHub
parent 44cd8d91ff
commit 07c2e2f76c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1103,7 +1103,7 @@ class VisionModel(ModelBase):
# preprocessor config
self.gguf_writer.add_vision_image_mean(self.preprocessor_config["image_mean"])
self.gguf_writer.add_vision_image_std(self.preprocessor_config["image_mean"])
self.gguf_writer.add_vision_image_std(self.preprocessor_config["image_std"])
def write_vocab(self):
raise ValueError("VisionModel does not support vocab writing")