Add GroundingDINO (#30)

This commit is contained in:
Jamjamjon
2024-08-09 19:06:30 +08:00
committed by GitHub
parent 53d14ee2fb
commit b81b5e3cf5
24 changed files with 536 additions and 131 deletions

View File

@@ -10,7 +10,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
// textual
let options_textual = Options::default()
.with_model("clip-b32-textual-dyn.onnx")?
.with_tokenizer("tokenizer-clip.json")?
// .with_tokenizer("tokenizer-clip.json")?
.with_i00((1, 1, 4).into())
.with_profile(false);