tensorflow / tensorflow/java

Loading a SavedModel crashes Java

オープン
#194 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Java
スター
928
フォーク
227
PR マージ指標
30日以内にマージされた PR はありません

説明

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template

System information

  • Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 20.04
  • Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: No
  • TensorFlow installed from (source or binary): binary
  • TensorFlow version (use command below): 2.3.1
  • Python version: 3.8

Describe the current behavior
When I load a SavedModel, the JVM crashes.

Describe the expected behavior
The JVM should not crash.

Code to reproduce the issue
I can load other SavedModels. So, I expect this is something specific to my SavedModel. Since the model is proprietary, I cannot share. And, I don't know how to easily triage the issue. If you can help, please provide some information!

Other info / logs
See hs_err_pid30392.log.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず hs_err_pid30392.log と、Ubuntu 20.04 上で TensorFlow 2.3.1 および Java bindings を使用した場合の、レポートに記載された SavedModel の読み込み動作を確認します。有用な調査には、再現可能または共有可能なモデルが必要です。そのうえで、JVM がクラッシュする理由を特定し、モデルの読み込みによって JVM が終了しなくなったことを検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
backend
issue の種類
バグ
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。