Updated examples/llava/clip.cpp
added space Co-authored-by: slaren <slarengh@gmail.com>
This commit is contained in:
parent
9bea433f73
commit
36d9bbce6b
1 changed files with 1 additions and 1 deletions
|
@ -1270,7 +1270,7 @@ struct clip_ctx * clip_model_load(const char * fname, const int verbosity = 1) {
|
|||
// load vision model
|
||||
auto & vision_model = new_clip->vision_model;
|
||||
auto & hparams = vision_model.hparams;
|
||||
try{
|
||||
try {
|
||||
hparams.hidden_size = get_u32(ctx, format(KEY_N_EMBD, "vision"));
|
||||
hparams.n_head = get_u32(ctx, format(KEY_N_HEAD, "vision"));
|
||||
hparams.n_intermediate = get_u32(ctx, format(KEY_N_FF, "vision"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue