mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 00:05:59 +08:00
@@ -35,6 +35,7 @@ ONNXModel::ONNXModel(const std::string path, float *_output, size_t _output_size
|
||||
close(pipeout[0]);
|
||||
close(pipeout[1]);
|
||||
execvp(onnx_runner.c_str(), argv);
|
||||
exit(1); // exit if the exec fails
|
||||
}
|
||||
|
||||
// parent
|
||||
|
||||
Reference in New Issue
Block a user