Issue with loading model from: tensorflow_decision_forests

Open
#492 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java, tensorflow

Research direction

Start with the TensorFlow.loadLibrary call and compare this report with tensorflow/java#480. Investigate how the referenced inference.so is loaded and identify what the undefined TensorFlow Status symbol indicates. Done means loading the tensorflow_decision_forests model no longer raises the reported UnsatisfiedLinkError.

Written by the indexing model from the issue text.

Description

hi team,
I'm encountering a similar issue with: https://github.com/tensorflow/java/issues/480
When I tried to load val opList = TensorFlow.loadLibrary(this::class.java.getResource("/inference.so")!!.path),
I can see the exception like:

app {-tdh44/load-model#GET] Unhandled exception from a service:","args":[{"cancelled":false,"timedOut":false}],"exception":"java.lang.UnsatisfiedLinkError: /app/resources/inference.so: undefi │
│ ned symbol: _ZN10tensorflow6StatusC1ENS_5error4CodeEN4absl12lts_2021032411string_viewEOSt6vectorINS_10StackFrameESaIS7_EE\n"}

Could anyone help to take a look? Thanks in advance!

Dominant language
Java
Stars
928
Forks
227
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tensorflow/java

All issues in tensorflow/java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.