tensorflow / tensorflow/java

Loading a SavedModel crashes Java

Aperta
#194 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Java
Stelle
928
Fork
227
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia esaminando hs_err_pid30392.log e il comportamento descritto nel report durante il caricamento di SavedModel su Ubuntu 20.04 con TensorFlow 2.3.1 e Java bindings. Un'indagine utile richiederebbe un modello riproducibile o condivisibile; quindi individua il motivo per cui la JVM va in crash e verifica che il caricamento del modello non termini più la JVM.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
backend
Tipo di issue
Bug
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.