edgetpu-rs's People
edgetpu-rs's Issues
Unsupported data type in custom op handler
Hi,
I ran into the following error whilst trying to run the example :
Compiling edgetpu v0.1.0 (/Users/andrew/edgetpu-rs)
Compiling cpp v0.5.6
Compiling thiserror v1.0.30
Compiling tflite v0.9.0 (https://github.com/ionosnetworks/tflite-rs?rev=dcc46e7#dcc46e7c)
Finished dev [unoptimized + debuginfo] target(s) in 59.75s
Running `target/debug/examples/minimal`
ERROR: Internal: Unsupported data type in custom op handler: 0
ERROR: Node number 0 () failed to prepare.
thread 'main' panicked at 'failed to allocate tensors.: InternalError("failed to allocate tensors")', examples/minimal.rs:58:10
Any ideas ? Thanks.
Cannot build for aarch64: "Unable to find libclang"
I would like to deploy the software on a Coral dev board. In order to do so, I try to cross-compile for aarch64
. The full error log is listed at the end. The system complains that it cannot find libclang. Of course, it is installed:
$ find /usr -iname "libclang.so" -print
/usr/lib/llvm-10/lib/libclang.so
Also, LIBCLANG_PATH
is set:
echo $LIBCLANG_PATH
/usr/lib/llvm-10/lib/libclang.so:
Thank you for any hint!
$ cross build --target aarch64-unknown-linux-gnu
Compiling tflite v0.9.0 (https://github.com/ionosnetworks/tflite-rs?rev=dcc46e7#dcc46e7c)
error: failed to run custom build command for `tflite v0.9.0 (https://github.com/ionosnetworks/tflite-rs?rev=dcc46e7#dcc46e7c)`
Caused by:
process didn't exit successfully: `/target/debug/build/tflite-304292d18bd2a588/build-script-build` (exit status: 101)
--- stderr
thread 'main' panicked at 'Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang-*.so', 'libclang.so.*', 'libclang-*.so.*'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', /cargo/registry/src/github.com-1ecc6299db9ec823/bindgen-0.55.1/src/lib.rs:1896:31
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.