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

Deploying quantized Tensorflow lite model using zynq-library on Zynq-7000 #2

Open
Afef00 opened this issue Mar 22, 2021 · 2 comments
Open

Comments

@Afef00
Copy link

Afef00 commented Mar 22, 2021

Hello,
I want to deploy a quantized Tensorflow lite model (inception v4) on Zedboard using ARM compute library, but I don't know how to do it !! Any help please??
Thank you

@t-kuha
Copy link
Owner

t-kuha commented Apr 9, 2021

How about this document from ARM?

@Afef00
Copy link
Author

Afef00 commented Apr 12, 2021

Hi,
I tried to use ArmNN by following this document and in the step of building the mobilenetv1_quant_tflite program I get this error

arm-linux-gnueabihf-g++: error: -E or -x required when input is from standard input
arm-linux-gnueabihf-g++: error: -E or -x required when input is from standard input
Makefile:14: recipe for target 'mobilenetv1_quant_tflite' failed
make: *** [mobilenetv1_quant_tflite] Error 1

This is the makefile:

ARMNN_ROOT = /home/lsa/armnn-pi/armnn
ARMNN_BUILD = /home/lsa/armnn-pi/armnn/build
BOOST_ROOT = /home/lsa/armnn-pi/boost
CXX= arm-linux-gnueabihf-g++
CPPFLAGS=-DARMNN_TF_LITE_PARSER -I$(ARMNN_ROOT)/include -I$(ARMNN_ROOT)/src/backends -I$(ARMNN_ROOT)/src/armnnUtils -I$(ARMNN_ROOT)/tests -I$(BOOST_ROOT)/include
CFLAGS=-Wall -O3 -std=c++14 -fPIE

LDFLAGS=-pie -L$(ARMNN_BUILD) -L$(ARMNN_BUILD)/tests -L$(BOOST_ROOT)/lib
LDLIBS=-larmnn -larmnnTfLiteParser -lboost_system -lboost_filesystem -lboost_program_options

all: mobilenetv1_quant_tflite

mobilenetv1_quant_tflite: mobilenetv1_quant_tflite.cpp inference_test_image.cpp utils.cpp
$(CXX) $(CPPFLAGS) $(CFLAGS) $^ -o $@ $(LDFLAGS) $(LDLIBS)

clean:
-rm -f mobilenetv1_quant_tflite

Any suggestions please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants