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 58db7a8 commit deb8838Copy full SHA for deb8838
examples/main.c
@@ -15,8 +15,7 @@ int main() {
15
return 1;
16
}
17
18
- // Should be ctx->vision_model.hparams.projection_dim
19
- int vec_dim = 512;
+ int vec_dim = clip_get_vision_hparams(ctx)->projection_dim;
20
21
// Load image from disk
22
struct clip_image_u8 *img0 = make_clip_image_u8();
0 commit comments