Skip to content

Add CMake support for native compilation.#88

Open
powderluv wants to merge 1 commit intogoogle-coral:masterfrom
powderluv:eelmaster
Open

Add CMake support for native compilation.#88
powderluv wants to merge 1 commit intogoogle-coral:masterfrom
powderluv:eelmaster

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