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

Maybe missing dependencies #1

Open
francogrex opened this issue Apr 2, 2024 · 3 comments
Open

Maybe missing dependencies #1

francogrex opened this issue Apr 2, 2024 · 3 comments

Comments

@francogrex
Copy link

Good project but will need more clarity in specification on building.

  1. cargo build --release there is an error file "cargo.toml" needs to be "Cargo.toml" (this is easy to fix by user ok)
  2. more seriously: cargo build --release: error[E0277]: the trait bound SessionInputs<'_, '_, _>: From<&[ort::Value<ort::value::impl_tensor::TensorValueType<i64>>]> is not satisfied
    --> libtashkeel_base/src/inference_engine/ort.rs:29:35
    |
    29 | let outputs = session.run(SessionInputs::from(inputs.as_slice()))?;
    | ^^^^^^^^^^^^^ the trait From<&[ort::Value<ort::value::impl_tensor::TensorValueType<i64>>]> is not implemented for SessionInputs<'_, '_, _>...

There is probably a dependency on python's tensorflow? Don't assume it's a default , if there is any dependency in anything above base packages please precise them in Readme.md

  1. there may be other unchecked errors...
@OmarSamirz
Copy link

I am facing the same problem.

@mush42
Copy link
Owner

mush42 commented May 10, 2024

The repo is migrating to v2 of ort which is in release-candidate right now.
Please use the develop branch for now, it builds as expected.

Best

@OmarSamirz
Copy link

Okay, thank you.

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

No branches or pull requests

3 participants