forked from xuos/xiuos
fix(knowing framework/yolov2 region layer): free region layer thresholds
This commit is contained in:
@@ -19,7 +19,8 @@ void simple_CSV_read()
|
||||
fin = open(CSV_PATH, O_RDONLY);
|
||||
if (!fin) {
|
||||
printf("Error open file %s", CSV_PATH);
|
||||
exit(-1);
|
||||
// exit(-1);
|
||||
return;
|
||||
}
|
||||
read(fin, buffer, sizeof(buffer));
|
||||
close(fin);
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
"kmodel_size": 2714044,
|
||||
"obj_thresh": [
|
||||
0.7,
|
||||
0.9
|
||||
0.99
|
||||
],
|
||||
"labels": [
|
||||
"head",
|
||||
|
||||
@@ -7,11 +7,10 @@ static void detect_app(int argc, char *argv[])
|
||||
{
|
||||
if (2 != argc) {
|
||||
printf("Usage: detect_app <ABSOLUTE_CONFIG_JSON_PATH>");
|
||||
exit(-1);
|
||||
} else {
|
||||
k210_detect(argv[1]);
|
||||
}
|
||||
|
||||
k210_detect(argv[1]);
|
||||
|
||||
return;
|
||||
}
|
||||
// clang-format off
|
||||
|
||||
Reference in New Issue
Block a user