public FrameDNNOnnxYolo(List <Tuple <string, int[]> > lines, string modelName, DNNMode mode) { _lines = lines; switch (ConfigurationManager.AppSettings["Runtime"]) { case "docker": onnxWrapper = new ORTWrapper($@"./modelOnnx/{modelName}ort.onnx", mode); break; case "vs": onnxWrapper = new ORTWrapper($@"..\..\..\modelOnnx\{modelName}ort.onnx", mode); break; } }
public FrameDNNOnnxYolo(List <Tuple <string, int[]> > lines, string modelName, DNNMode mode) { _lines = lines; onnxWrapper = new ORTWrapper($@"..\..\..\..\..\..\modelOnnx\{modelName}ort.onnx", mode); }