We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60a74bd commit 6cce98eCopy full SHA for 6cce98e
tools/mtmd/clip.cpp
@@ -2706,9 +2706,9 @@ struct clip_model_loader {
2706
get_u32(string_format(KEY_PROJ_DIM, prefix), hparams.projection_dim);
2707
get_f32(string_format(KEY_LAYER_NORM_EPS, prefix), hparams.eps);
2708
2709
+ get_u32(KEY_PATCH_SIZE, hparams.patch_size,false);
2710
if (is_vision) {
- get_u32(KEY_IMAGE_SIZE, hparams.image_size);
2711
- get_u32(KEY_PATCH_SIZE, hparams.patch_size);
+ get_u32(KEY_IMAGE_SIZE, hparams.image_size);
2712
get_u32(KEY_IMAGE_CROP_RESOLUTION, hparams.image_crop_resolution, false);
2713
get_i32(KEY_MINICPMV_VERSION, hparams.minicpmv_version, false); // legacy
2714
get_u32(KEY_MINICPMV_QUERY_NUM, hparams.minicpmv_query_num, false);
0 commit comments