Part Number: TDA4VM
Tool/software:
Hi,
I am referring "github.com/.../edgeai-tidl-tools do the emulation of TDA4VM using edgeai-tidl-tools.
I have successfully installed docker and pulled the necessary dependencies. Also built one python virtual environment inside the docker. The entire process executes without any error and warnings. I have followed the steps given in documentation to do the complete set-up of docker.
But, when I am trying to execute the code for quantize and compile the demo models using the below given commands, I am getting the following error.
command ==>
mkdir build && cd build
cmake ../examples && make -j2 && cd ..
source ./scripts/run_python_examples.sh -o
python3 ./scripts/gen_test_report.py
error ==>
-- Compiling for x86 with am68pa config
-- Configuring done
-- Generating done
-- Build files have been written to: /u/root/build
[ 6%] Building CXX object osrt_cpp/post_process/CMakeFiles/post_process.dir/post_process.cpp.o
[ 6%] Building CXX object osrt_cpp/pre_process/CMakeFiles/pre_process.dir/pre_process.cpp.o
In file included from /u/root/examples/osrt_cpp/post_process/post_process.cpp:64:
/u/root/examples/osrt_cpp/post_process/post_process.h:77:10: fatal error: tensorflow/lite/kernels/register.h: No such file or directory
77 | #include <tensorflow/lite/kernels/register.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [osrt_cpp/post_process/CMakeFiles/post_process.dir/build.make:76: osrt_cpp/post_process/CMakeFiles/post_process.dir/post_process.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:278: osrt_cpp/post_process/CMakeFiles/post_process.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 10%] Linking CXX static library /u/root/lib/Release/libpre_process.a
[ 10%] Built target pre_process
make: *** [Makefile:136: all] Error 2
bash: ./scripts/run_python_examples.sh: No such file or directory
python3: can't open file '/u/root/build/./scripts/gen_test_report.py': [Errno 2] No such file or directory
Kindly help me to rectify the issue.
Warm Regards
Vishnu