Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make error in Tensorflow Lite Micro #66616

Open
abcd123abcd opened this issue Apr 29, 2024 · 1 comment
Open

make error in Tensorflow Lite Micro #66616

abcd123abcd opened this issue Apr 29, 2024 · 1 comment
Assignees
Labels
comp:lite TF Lite related issues

Comments

@abcd123abcd
Copy link

System information

Linux Ubuntu 18.04
Python version: 2.7.17
The problem
I'm trying to generate the example projects from the TensorFlow Lite for Microcontrollers C++ library with Make and I run in this error:

Traceback (most recent call last):
File "tensorflow/lite/micro/tools/make/generate_keil_project.py", line 122, in
parse_args()
File "tensorflow/lite/micro/tools/make/generate_keil_project.py", line 118, in parse_args
main(unparsed, flags)
File "tensorflow/lite/micro/tools/make/generate_keil_project.py", line 40, in main
six.ensure_str(flags.executable),
AttributeError: 'module' object has no attribute 'ensure_str'
tensorflow/lite/micro/examples/network_tester/Makefile.inc:41: recipe for target 'tensorflow/lite/micro/tools/make/gen/linux_x86_64_default/prj/network_tester_test/keil/keil_project.uvprojx' failed
make: *** [tensorflow/lite/micro/tools/make/gen/linux_x86_64_default/prj/network_tester_test/keil/keil_project.uvprojx] Error 1

Sequence of commands
git clone https://github.com/tensorflow/tflite-micro
cd tflite-micro
make -f tensorflow/lite/micro/tools/make/Makefile generate_projects

@Venkat6871 Venkat6871 added the comp:lite TF Lite related issues label Apr 30, 2024
@Venkat6871 Venkat6871 assigned sawantkumar and unassigned Venkat6871 Apr 30, 2024
@sawantkumar
Copy link

Hi @abcd123abcd ,

I tried replicating your error but i kept running into library issues. Can you please update your python version and then try installing tflite micro and let me know if the issue still persists for you .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:lite TF Lite related issues
Projects
None yet
Development

No branches or pull requests

3 participants