Skip to content

Commit 3f667d2

Browse files
committed
Merge branch 'main' into fix-zsl
2 parents f6f590b + 23ce964 commit 3f667d2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ int main() {
1616
return 1;
1717
}
1818

19-
// Should be ctx->vision_model.hparams.projection_dim
20-
int vec_dim = 512;
19+
int vec_dim = clip_get_vision_hparams(ctx)->projection_dim;
2120

2221
// Load image from disk
2322
struct clip_image_u8 * img0 = make_clip_image_u8();

0 commit comments

Comments
 (0)