Just when I tried this I got a crash.
std::string onnx_path = "./modnet_cpu.onnx";
Ort::Env ort_env;
crash info:
KeepDemo(5283,0x106ca4580) malloc: *** error for object 0x281dd9458: pointer being freed was not allocated KeepDemo(5283,0x106ca4580) malloc: *** set a breakpoint in malloc_error_break to debug dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
Thanks for helping me to solve it
Just when I tried this I got a crash.
std::string onnx_path = "./modnet_cpu.onnx";Ort::Env ort_env;crash info:
KeepDemo(5283,0x106ca4580) malloc: *** error for object 0x281dd9458: pointer being freed was not allocated KeepDemo(5283,0x106ca4580) malloc: *** set a breakpoint in malloc_error_break to debug dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylibThanks for helping me to solve it