Skip to content

Commit

Permalink
[#58168] examples: config: Added scenario for compiling Lindenthal-ba…
Browse files Browse the repository at this point in the history
…sed YOLACT with TVM

Signed-off-by: Grzegorz Latosinski <[email protected]>
  • Loading branch information
glatosinski committed Apr 30, 2024
1 parent 8466633 commit 6237576
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions examples/config/yolact-tvm-lindenthal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"model_wrapper":
{
"type": "kenning.modelwrappers.instance_segmentation.yolact.YOLACT",
"parameters":
{
"model_path": "kenning:///models/instance_segmentation/yolact-lindenthal.onnx"
}
},
"dataset":
{
"type": "kenning.datasets.lindenthal_camera_traps_dataset.LindenthalCameraTrapsDataset",
"parameters":
{
"dataset_root": "./build/LindenthalDatasetDemo",
"inference_batch_size": 1,
"use_demonstration_dataset": true,
"task": "instance_segmentation"
}
},
"optimizers":
[
{
"type": "kenning.optimizers.tvm.TVMCompiler",
"parameters":
{
"model_framework": "onnx",
"target": "llvm -mcpu=core-avx2",
"opt_level": 3,
"compile_use_vm": false,
"output_conversion_function": "default",
"target_host": null,
"compiled_model_path": "./build/yolact.so"
}
}
]
}

0 comments on commit 6237576

Please sign in to comment.