I generated c++ source codes from a trained model and build them into .so DLL.
Then I copied this DLL file XXX.so (without the weights/biases files of DL model) into my generated execuable and invoke the DL interface function from the executable.
Then I get following error from debug window:
Camera image with 1920x1080 at 30 FPS
terminate called after throwing an instance of 'std::runtime_error'
what(): Unable to find the cnn_resnet50_yolov2_SPB_detector_input_1_scale binary file in ./codegen/dll/sbd_yolov2_detect .
It seems that within .so file the absolute path of weights and biases files are memorized.
Or does anyone know how to solve the problem?
Is it possible to put all weights/biases of DL model into .so?
Another question is for the network parameter path "./codegen/dll/sbd_yolov2_detect"
where is exactly the start point? Is it where the .so DLL is, or where the executable is?