Add function to download weigths if do no exist, for each test. Add some controls in map demo.
Signed-off-by: Francesco Gatti <gattifrancesco@hotmail.it>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include<iostream>
|
||||
// #include<cstdlib>
|
||||
#include "tkdnn.h"
|
||||
|
||||
const char *input_bin = "../tests/yolo3_tiny/layers/input.bin";
|
||||
@@ -23,6 +24,8 @@ const char *output_bin = "../tests/yolo3_tiny/debug/layer23_out.bin";
|
||||
|
||||
int main() {
|
||||
|
||||
downloadWeightsifDoNotExist(input_bin, "../tests/yolo3_tiny", "https://cloud.hipert.unimore.it/s/LMcSHtWaLeps8yN/download");
|
||||
|
||||
int classes = 80;
|
||||
|
||||
// Network layout
|
||||
|
||||
Reference in New Issue
Block a user