Code Monkey home page Code Monkey logo

edgetpu-rs's People

Contributors

brooksmtownsend avatar icf3ver avatar nemosupremo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.