From 39342cc075779beba396835c3aa7955c034d20bc Mon Sep 17 00:00:00 2001 From: yirongjie Date: Wed, 24 Jan 2024 13:27:04 +0800 Subject: [PATCH] fix: imagebind argv --- examples/main_imagebind.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/main_imagebind.cpp b/examples/main_imagebind.cpp index e70ae228..2951ef4b 100644 --- a/examples/main_imagebind.cpp +++ b/examples/main_imagebind.cpp @@ -235,7 +235,7 @@ int main(int argc, char **argv) { cmdParser.add("vocab", 'v', "specify mllm tokenizer model path", false, "../vocab/clip_vocab.mllm"); cmdParser.add("model", 'm', "specify mllm model path", false, "../models/imagebind_huge-q4_k.mllm"); cmdParser.add("merges", 'f', "specify mllm tokenizer merges.txt path", false, "../vocab/clip_merges.txt"); - cmdParser.add("thread", 't', "num of threads", false, 100); + cmdParser.add("thread", 't', "num of threads", false, 4); cmdParser.parse_check(argc, argv); string vocab_path = cmdParser.get("vocab");