Load TFJS trained model in java application.

Open
#476 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
java, javascript, tensorflow

Research direction

The issue names a TensorFlow.js model, a Java application, Keras, SavedModel, and Python, but no repository file or test. Start by reviewing the Java model-loading entry points and comparing them with the TensorFlow.js model format. Done would require a maintainer-defined implementation or documentation path for direct loading; the issue does not define acceptance criteria.

Written by the indexing model from the issue text.

Description

I have a model that was developed and trained in TFJS and I want to use it in my java application.

I managed to convert it to keras and then to a SavedModel but I am wondering if there is a way to just load the TFJS model directly and spare the clunky conversion process that involves several additional steps and python.

Is such a thing even possible?

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.