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

Add CMake support for native compilation. #88

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

powderluv
Copy link

Add a single CMakeLists.txt to support building natively on
systems like aarch64 where bazel support is lacking. Also keep
all CMake files in one file to not confuse the supported
bazel way of building.

TEST=run examples on Gentoo 64 bit RPi4 with Coral and x86

powderluv@pi64 ~/github/edgetpu/src/cpp/b $ LD_LIBRARY_PATH="."
./classify_image -image_path parrot.bmp -labels_path
inat_bird_labels.txt -model_path
mobilenet_v2_1.0_224_quant_edgetpu.tflite

Zonotrichia querula (Harris's Sparrow)
Score: 0.996094

Score: 0

Score: 0

Add a single CMakeLists.txt to support building natively on
systems like aarch64 where bazel support is lacking. Also keep
all CMake files in one file to not confuse the supported
bazel way of building.

TEST=run examples on Gentoo 64 bit RPi4 with Coral and x86

powderluv@pi64 ~/github/edgetpu/src/cpp/b $ LD_LIBRARY_PATH="."
./classify_image -image_path parrot.bmp -labels_path
inat_bird_labels.txt -model_path
mobilenet_v2_1.0_224_quant_edgetpu.tflite
---------------------------
Zonotrichia querula (Harris's Sparrow)
Score: 0.996094
---------------------------

Score: 0
---------------------------

Score: 0
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

Successfully merging this pull request may close these issues.

1 participant