mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
[Hackthon_4th 177] Support PP-YOLOE-R with BM1684 (#1809)
* first draft * add robx iou * add benchmark for ppyoloe_r * remove trash code * fix bugs * add pybind nms rotated option * add missing head file * fix bug * fix bug2 * fix shape bug --------- Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
This commit is contained in:
@@ -103,6 +103,9 @@ static bool CreateRuntimeOption(fastdeploy::RuntimeOption* option,
|
||||
if (config_info["use_fp16"] == "true") {
|
||||
option->paddle_lite_option.enable_fp16 = true;
|
||||
}
|
||||
} else if (config_info["backend"] == "sophgo") {
|
||||
option->UseSophgo();
|
||||
option->UseSophgoBackend();
|
||||
} else if (config_info["backend"] == "default") {
|
||||
PrintBenchmarkInfo(config_info);
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user