This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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

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

Parents
  • This is the makefile. Actually I checked and I couldn't find the incorrect flag

    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

Reply
  • This is the makefile. Actually I checked and I couldn't find the incorrect flag

    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

Children